Commit 286e7bea authored by Thierry Reding's avatar Thierry Reding Committed by Linus Walleij

gpio: tegra186: Allow building on Tegra194-only configurations

The driver is compatible with both Tegra186 and Tegra194, but currently
it cannot be selected if only Tegra194 support is enabled. Allow builds
with only Tegra194 support enabled to select this driver.

While at it, select this driver by default on Tegra194 builds because it
is an essential part of the system.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20191213130034.219227-1-thierry.reding@gmail.comSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 279b1fed
...@@ -553,8 +553,8 @@ config GPIO_TEGRA ...@@ -553,8 +553,8 @@ config GPIO_TEGRA
config GPIO_TEGRA186 config GPIO_TEGRA186
tristate "NVIDIA Tegra186 GPIO support" tristate "NVIDIA Tegra186 GPIO support"
default ARCH_TEGRA_186_SOC default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC
depends on ARCH_TEGRA_186_SOC || COMPILE_TEST depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || COMPILE_TEST
depends on OF_GPIO depends on OF_GPIO
select GPIOLIB_IRQCHIP select GPIOLIB_IRQCHIP
select IRQ_DOMAIN_HIERARCHY select IRQ_DOMAIN_HIERARCHY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment