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

Fabien Parent posted 1 patch 2 years, 5 months ago
drivers/pinctrl/mediatek/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] pinctrl: mediatek: mt8195: enable driver on mtk platforms
Posted by Fabien Parent 2 years, 5 months ago
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 <fparent@baylibre.com>
---
 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
Re: [PATCH] pinctrl: mediatek: mt8195: enable driver on mtk platforms
Posted by Linus Walleij 2 years, 5 months ago
On Sun, Mar 27, 2022 at 6:08 PM Fabien Parent <fparent@baylibre.com> 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 <fparent@baylibre.com>

Patch applied!

Yours,
Linus Walleij
Re: [PATCH] pinctrl: mediatek: mt8195: enable driver on mtk platforms
Posted by Miles Chen 2 years, 5 months ago
> 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 <fparent@baylibre.com>

Reviewed-by: Miles Chen <miles.chen@mediatek.com>
Re: [PATCH] pinctrl: mediatek: mt8195: enable driver on mtk platforms
Posted by AngeloGioacchino Del Regno 2 years, 5 months ago
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 <fparent@baylibre.com>
> Reviewed-by: Miles Chen <miles.chen@mediatek.com>

Since this is boot-critical....

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>