ARM: tegra: Select PINCTRL Kconfig variables
authorStephen Warren <swarren@nvidia.com>
Wed, 1 Feb 2012 21:04:48 +0000 (14:04 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Mar 2012 09:52:12 +0000 (10:52 +0100)
This causes the Tegra pinctrl driver to be built whenever core Tegra
support is enabled.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-tegra/Kconfig

index 373652d..32b420a 100644 (file)
@@ -7,6 +7,8 @@ config ARCH_TEGRA_2x_SOC
        select CPU_V7
        select ARM_GIC
        select ARCH_REQUIRE_GPIOLIB
+       select PINCTRL
+       select PINCTRL_TEGRA20
        select USB_ARCH_HAS_EHCI if USB_SUPPORT
        select USB_ULPI if USB_SUPPORT
        select USB_ULPI_VIEWPORT if USB_SUPPORT
@@ -19,6 +21,8 @@ config ARCH_TEGRA_3x_SOC
        select CPU_V7
        select ARM_GIC
        select ARCH_REQUIRE_GPIOLIB
+       select PINCTRL
+       select PINCTRL_TEGRA30
        select USB_ARCH_HAS_EHCI if USB_SUPPORT
        select USB_ULPI if USB_SUPPORT
        select USB_ULPI_VIEWPORT if USB_SUPPORT