summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnilKumar Ch2012-09-10 19:34:52 +0200
committerTony Lindgren2012-09-10 19:45:59 +0200
commit8f31cefe32b9c6bcab43e0ec79fb26393d5c7713 (patch)
tree79375853faeede56bc94c39476759f59a4ef1453
parentarm/dts: Add pinctrl driver entries for omap2/3/4 (diff)
downloadkernel-qcow2-linux-8f31cefe32b9c6bcab43e0ec79fb26393d5c7713.tar.gz
kernel-qcow2-linux-8f31cefe32b9c6bcab43e0ec79fb26393d5c7713.tar.xz
kernel-qcow2-linux-8f31cefe32b9c6bcab43e0ec79fb26393d5c7713.zip
ARM: OMAP2+: select PINCTRL in Kconfig
Select PINCTRL in Kconfig under Typical OMAP configuration, this is required to add pinctrl driver to omap2+ family of devices. Signed-off-by: AnilKumar Ch <anilkumar@ti.com> [tony@atomide.com: updated to select pinctrl-single in defconfig] Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/configs/omap2plus_defconfig1
-rw-r--r--arch/arm/mach-omap2/Kconfig1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index e58edc36b406..62303043db9c 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -123,6 +123,7 @@ CONFIG_HW_RANDOM=y
CONFIG_I2C_CHARDEV=y
CONFIG_SPI=y
CONFIG_SPI_OMAP24XX=y
+CONFIG_PINCTRL_SINGLE=y
CONFIG_DEBUG_GPIO=y
CONFIG_GPIO_SYSFS=y
CONFIG_GPIO_TWL4030=y
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 4a4d058ed146..e45bbffb7eec 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -18,6 +18,7 @@ config ARCH_OMAP2PLUS_TYPICAL
select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
select HIGHMEM
+ select PINCTRL
help
Compile a kernel suitable for booting most boards