summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2026-06-09 17:08:35 +0200
committerLinus Walleij <linusw@kernel.org>2026-06-11 14:04:44 +0200
commit32b515861e41f37347b2a86d2bf00ff0ca2fe7dd (patch)
tree5c567847dc74c71aecc1e3eaa62a5a1abc97c872
parent5f899621d34e2fd79229622805a659b13b63c98f (diff)
pinctrl: tegra: PINCTRL_TEGRA264 should depend on ARCH_TEGRA
The NVIDIA Tegra264 MAIN, AON, and UPHY pin controllers are only present on NVIDIA Tegra264 SoCs. Hence add a dependency on ARCH_TEGRA, to prevent asking the user about this driver when configuring a kernel without NVIDIA Tegra SoC support. Fixes: c98506206912dd0d ("pinctrl: tegra: Add Tegra264 pinmux driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Linus Walleij <linusw@kernel.org>
-rw-r--r--drivers/pinctrl/tegra/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/tegra/Kconfig b/drivers/pinctrl/tegra/Kconfig
index eea7ec9688b6..39a93733efa2 100644
--- a/drivers/pinctrl/tegra/Kconfig
+++ b/drivers/pinctrl/tegra/Kconfig
@@ -50,6 +50,7 @@ config PINCTRL_TEGRA238
config PINCTRL_TEGRA264
tristate "NVIDIA Tegra264 pinctrl driver"
+ depends on ARCH_TEGRA || COMPILE_TEST
default m if ARCH_TEGRA_264_SOC
select PINCTRL_TEGRA
help