pinctrl: mediatek: mt8195: enable driver on mtk platforms
authorFabien Parent <fparent@baylibre.com>
Sun, 27 Mar 2022 16:08:13 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:23:07 +0000 (10:23 +0200)
[ Upstream commit 931d7fa89e640dea146e00b77c1d73459e66ab6e ]

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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
Link: https://lore.kernel.org/r/20220327160813.2978637-1-fparent@baylibre.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/mediatek/Kconfig

index 246b0e9..8a1706c 100644 (file)
@@ -152,6 +152,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