pinctrl: mediatek: mt8195: enable driver on mtk platforms
authorFabien Parent <fparent@baylibre.com>
Sun, 27 Mar 2022 16:08:13 +0000 (18:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Apr 2022 20:56:46 +0000 (22:56 +0200)
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>
drivers/pinctrl/mediatek/Kconfig

index 8dca1ef..817a7fb 100644 (file)
@@ -165,6 +165,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