2022-03-28 02:07:09

by Fabien Parent

[permalink] [raw]
Subject: [PATCH] pinctrl: mediatek: mt8195: enable driver on mtk platforms

Set the pinctrl driver as built-in by default if
ARM64 and ARCH_MEDIATEK are enabled.

Fixes: 6cf5e9ef362a ("pinctrl: add pinctrl driver on mt8195")
Signed-off-by: Fabien Parent <[email protected]>
---
drivers/pinctrl/mediatek/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 66db4ac5d169..8b20109559b3 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -158,6 +158,7 @@ config PINCTRL_MT8195
bool "Mediatek MT8195 pin control"
depends on OF
depends on ARM64 || COMPILE_TEST
+ default ARM64 && ARCH_MEDIATEK
select PINCTRL_MTK_PARIS

config PINCTRL_MT8365
--
2.35.1


Subject: Re: [PATCH] pinctrl: mediatek: mt8195: enable driver on mtk platforms

Il 27/03/22 18:08, Fabien Parent ha scritto:
> Set the pinctrl driver as built-in by default if
> ARM64 and ARCH_MEDIATEK are enabled.
>
> Fixes: 6cf5e9ef362a ("pinctrl: add pinctrl driver on mt8195")
> Signed-off-by: Fabien Parent <[email protected]>
> Reviewed-by: Miles Chen <[email protected]>

Since this is boot-critical....

Reviewed-by: AngeloGioacchino Del Regno <[email protected]>

2022-04-22 22:18:30

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: mediatek: mt8195: enable driver on mtk platforms

On Sun, Mar 27, 2022 at 6:08 PM Fabien Parent <[email protected]> wrote:

> Set the pinctrl driver as built-in by default if
> ARM64 and ARCH_MEDIATEK are enabled.
>
> Fixes: 6cf5e9ef362a ("pinctrl: add pinctrl driver on mt8195")
> Signed-off-by: Fabien Parent <[email protected]>

Patch applied!

Yours,
Linus Walleij