diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-05-12 12:07:41 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2016-05-31 09:53:57 -0700 |
commit | 601800be22a37cc518e023adc8e32ad15f00a2c6 (patch) | |
tree | f12952c4ac95e0c7804a9dc584e5f0693c9824de /drivers/gpio/Kconfig | |
parent | e6bf0ca0e2ef8d87d754f788be1b9b5d58c01860 (diff) | |
download | u-boot-imx-601800be22a37cc518e023adc8e32ad15f00a2c6.zip u-boot-imx-601800be22a37cc518e023adc8e32ad15f00a2c6.tar.gz u-boot-imx-601800be22a37cc518e023adc8e32ad15f00a2c6.tar.bz2 |
ARM: tegra: convert CONFIG_TEGRA_GPIO to Kconfig
Future chips will contain different GPIO HW. This change will enable
future SoC support to select the appropriate GPIO driver for their HW,
in a future-looking fashion, using Kconfig.
TEGRA_GPIO is not simply selected by TEGRA_COMMON (even though all
current Tegra chips used this GPIO HW) to simplify the later addition
of support for Tegra SoCs that use different GPIO HW.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 93a7e8c..f730744 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -109,6 +109,13 @@ config SANDBOX_GPIO_COUNT of 'anonymous' GPIOs that do not belong to any device or bank. Select a suitable value depending on your needs. +config TEGRA_GPIO + bool "Tegra20..210 GPIO driver" + depends on DM_GPIO + help + Support for the GPIO controller contained in NVIDIA Tegra20 through + Tegra210. + config GPIO_UNIPHIER bool "UniPhier GPIO" depends on ARCH_UNIPHIER |