[PATCH v2 1/4] pinctrl: mediatek: select PINCONF

David Lechner <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <20260807-mtk-pinctrl-kconfig-cleanup-v2-1-509a8f833181__17508.9779122331$1786130246$gmane$org@baylibre.com>
All MediaTek targets include pinconf registers so we should just always
select PINCONF instead of requiring each config to explicitly enable it.

MT8518 was the only target that didn't have PINCONF already enabled in
the defconfig, so it will be enabled there by default now. (This was
likely unintentional as the MT8518 driver does define pinconf registers
for drive and pull so supports pinconf operations.)

Signed-off-by: David Lechner <[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 5a90d74a9e1..42c7c8b8c80 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -2,6 +2,7 @@ if ARCH_MEDIATEK
 
 config PINCTRL_MTK
 	depends on PINCTRL_GENERIC
+	select PINCONF
 	select REGMAP
 	select SYSCON
 	bool

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.