[PATCH] pinctrl: airoha: fix wrong value for PCIe reset pin
Lorenzo Bianconi
lorenzo at kernel.org
Wed Aug 5 05:13:12 PDT 2026
> The PCIe reset pin actually require the bit to be set as 0 to work as PCIe
> reset pin. When the bit is set as 1, then the PCIe reset pin act as a GPIO
> for GPIO44, GPIO45 and GPIO46.
>
> Cc: stable at vger.kernel.org
> Fixes: 1c8ace2d0725 ("pinctrl: airoha: Add support for EN7581 SoC")
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
Acked-by: Lorenzo Bianconi <lorenzo at kernel.org>
> ---
> drivers/pinctrl/airoha/pinctrl-airoha.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/pinctrl/airoha/pinctrl-airoha.c b/drivers/pinctrl/airoha/pinctrl-airoha.c
> index 04b4424c688b..6409572c0a4b 100644
> --- a/drivers/pinctrl/airoha/pinctrl-airoha.c
> +++ b/drivers/pinctrl/airoha/pinctrl-airoha.c
> @@ -1412,7 +1412,7 @@ static const struct airoha_pinctrl_func_group pcie_reset_func_group[] = {
> AIROHA_FUNC_MUX,
> REG_GPIO_PON_MODE,
> GPIO_PCIE_RESET0_MASK,
> - GPIO_PCIE_RESET0_MASK
> + 0
> },
> .regmap_size = 1,
> }, {
> @@ -1421,7 +1421,7 @@ static const struct airoha_pinctrl_func_group pcie_reset_func_group[] = {
> AIROHA_FUNC_MUX,
> REG_GPIO_PON_MODE,
> GPIO_PCIE_RESET1_MASK,
> - GPIO_PCIE_RESET1_MASK
> + 0
> },
> .regmap_size = 1,
> }, {
> @@ -1430,7 +1430,7 @@ static const struct airoha_pinctrl_func_group pcie_reset_func_group[] = {
> AIROHA_FUNC_MUX,
> REG_GPIO_PON_MODE,
> GPIO_PCIE_RESET2_MASK,
> - GPIO_PCIE_RESET2_MASK
> + 0
> },
> .regmap_size = 1,
> },
> --
> 2.53.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20260805/0dc29a1b/attachment.sig>
More information about the Linux-mediatek
mailing list