Refresh patches 6.12 for airoha and econet Fixes:122135b964("airoha: an7581: add support for kernel 6.12") Fixes:73d0f92460("kernel: Add new platform EcoNet MIPS") Signed-off-by: Leo Barsky <leobrsky@proton.me> Link: https://github.com/openwrt/openwrt/pull/20073 Signed-off-by: Robert Marko <robimarko@gmail.com>
69 lines
2.1 KiB
Diff
69 lines
2.1 KiB
Diff
From af87d38c442c75a40c7d0a7d8c31557e2e6ccf98 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Sun, 25 May 2025 20:22:40 +0200
|
|
Subject: [PATCH 1/2] pinctrl: airoha: fix wrong PHY LED mux value for LED1
|
|
GPIO46
|
|
|
|
In all the MUX value for LED1 GPIO46 there is a Copy-Paste error where
|
|
the MUX value is set to LED0_MODE_MASK instead of LED1_MODE_MASK.
|
|
|
|
This wasn't notice as there were no board that made use of the
|
|
secondary PHY LED but looking at the internal Documentation the actual
|
|
value should be LED1_MODE_MASK similar to the other GPIO entry.
|
|
|
|
Fix the wrong value to apply the correct MUX configuration.
|
|
|
|
Cc: stable@vger.kernel.org
|
|
Fixes: 1c8ace2d0725 ("pinctrl: airoha: Add support for EN7581 SoC")
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
drivers/pinctrl/mediatek/pinctrl-airoha.c | 16 ++++++++--------
|
|
1 file changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
--- a/drivers/pinctrl/mediatek/pinctrl-airoha.c
|
|
+++ b/drivers/pinctrl/mediatek/pinctrl-airoha.c
|
|
@@ -1752,8 +1752,8 @@ static const struct airoha_pinctrl_func_
|
|
.regmap[0] = {
|
|
AIROHA_FUNC_MUX,
|
|
REG_GPIO_2ND_I2C_MODE,
|
|
- GPIO_LAN3_LED0_MODE_MASK,
|
|
- GPIO_LAN3_LED0_MODE_MASK
|
|
+ GPIO_LAN3_LED1_MODE_MASK,
|
|
+ GPIO_LAN3_LED1_MODE_MASK
|
|
},
|
|
.regmap[1] = {
|
|
AIROHA_FUNC_MUX,
|
|
@@ -1816,8 +1816,8 @@ static const struct airoha_pinctrl_func_
|
|
.regmap[0] = {
|
|
AIROHA_FUNC_MUX,
|
|
REG_GPIO_2ND_I2C_MODE,
|
|
- GPIO_LAN3_LED0_MODE_MASK,
|
|
- GPIO_LAN3_LED0_MODE_MASK
|
|
+ GPIO_LAN3_LED1_MODE_MASK,
|
|
+ GPIO_LAN3_LED1_MODE_MASK
|
|
},
|
|
.regmap[1] = {
|
|
AIROHA_FUNC_MUX,
|
|
@@ -1880,8 +1880,8 @@ static const struct airoha_pinctrl_func_
|
|
.regmap[0] = {
|
|
AIROHA_FUNC_MUX,
|
|
REG_GPIO_2ND_I2C_MODE,
|
|
- GPIO_LAN3_LED0_MODE_MASK,
|
|
- GPIO_LAN3_LED0_MODE_MASK
|
|
+ GPIO_LAN3_LED1_MODE_MASK,
|
|
+ GPIO_LAN3_LED1_MODE_MASK
|
|
},
|
|
.regmap[1] = {
|
|
AIROHA_FUNC_MUX,
|
|
@@ -1944,8 +1944,8 @@ static const struct airoha_pinctrl_func_
|
|
.regmap[0] = {
|
|
AIROHA_FUNC_MUX,
|
|
REG_GPIO_2ND_I2C_MODE,
|
|
- GPIO_LAN3_LED0_MODE_MASK,
|
|
- GPIO_LAN3_LED0_MODE_MASK
|
|
+ GPIO_LAN3_LED1_MODE_MASK,
|
|
+ GPIO_LAN3_LED1_MODE_MASK
|
|
},
|
|
.regmap[1] = {
|
|
AIROHA_FUNC_MUX,
|