gpio: Fix OF build problem on UM
[cascardo/linux.git] / drivers / gpio / Kconfig
index 536112f..24f833c 100644 (file)
@@ -50,6 +50,7 @@ config GPIO_DEVRES
 config OF_GPIO
        def_bool y
        depends on OF
+       depends on HAS_IOMEM
 
 config GPIO_ACPI
        def_bool y
@@ -250,7 +251,7 @@ config GPIO_LOONGSON
          driver for GPIO functionality on Loongson-2F/3A/3B processors.
 
 config GPIO_LPC18XX
-       bool "NXP LPC18XX/43XX GPIO support"
+       tristate "NXP LPC18XX/43XX GPIO support"
        default y if ARCH_LPC18XX
        depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
        help
@@ -402,9 +403,12 @@ config GPIO_TB10X
        select OF_GPIO
 
 config GPIO_TEGRA
-       bool
-       default y
+       bool "NVIDIA Tegra GPIO support"
+       default ARCH_TEGRA
        depends on ARCH_TEGRA || COMPILE_TEST
+       depends on OF
+       help
+         Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
 
 config GPIO_TS4800
        tristate "TS-4800 DIO blocks and compatibles"
@@ -871,6 +875,15 @@ config GPIO_LP3943
          LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
          Open drain outputs are required for this usage.
 
+config GPIO_MAX77620
+       tristate "GPIO support for PMIC MAX77620 and MAX20024"
+       depends on MFD_MAX77620
+       help
+         GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor.
+         MAX77620 PMIC has 8 pins that can be configured as GPIOs. The
+         driver also provides interrupt support for each of the gpios.
+         Say yes here to enable the max77620 to be used as gpio controller.
+
 config GPIO_MSIC
        bool "Intel MSIC mixed signal gpio support"
        depends on MFD_INTEL_MSIC
@@ -1026,11 +1039,18 @@ config GPIO_BT8XX
          If unsure, say N.
 
 config GPIO_INTEL_MID
-       bool "Intel Mid GPIO support"
-       depends on X86
+       bool "Intel MID GPIO support"
+       depends on X86_INTEL_MID
+       select GPIOLIB_IRQCHIP
+       help
+         Say Y here to support Intel MID GPIO.
+
+config GPIO_MERRIFIELD
+       tristate "Intel Merrifield GPIO support"
+       depends on X86_INTEL_MID
        select GPIOLIB_IRQCHIP
        help
-         Say Y here to support Intel Mid GPIO.
+         Say Y here to support Intel Merrifield GPIO.
 
 config GPIO_ML_IOH
        tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"