diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-06-09 17:08:34 +0200 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-06-11 14:04:44 +0200 |
| commit | 5f899621d34e2fd79229622805a659b13b63c98f (patch) | |
| tree | 039859965428ddf861616bc7f3e4f1de21705b8b | |
| parent | 221bb09654714d6c52de4fc82260b5eb13f7489e (diff) | |
pinctrl: tegra: PINCTRL_TEGRA238 should depend on ARCH_TEGRA
The NVIDIA Tegra238 MAIN and AON pin controllers are only present on
NVIDIA Tegra238 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: 25cac7292d49f4fc ("pinctrl: tegra: Add Tegra238 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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/tegra/Kconfig b/drivers/pinctrl/tegra/Kconfig index c7507193044f..eea7ec9688b6 100644 --- a/drivers/pinctrl/tegra/Kconfig +++ b/drivers/pinctrl/tegra/Kconfig @@ -39,6 +39,7 @@ config PINCTRL_TEGRA234 config PINCTRL_TEGRA238 tristate "NVIDIA Tegra238 pinctrl driver" + depends on ARCH_TEGRA || COMPILE_TEST default m if ARCH_TEGRA_238_SOC select PINCTRL_TEGRA help |
