aboutsummaryrefslogtreecommitdiff
path: root/drivers/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-06-21 13:44:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-06-21 13:44:42 +0900
commit7b98cf0cf4e8798b9e7435f966ed0d90a2a925de (patch)
treea5d2a80f121a5c854773ddc85b1d9cbd6b840861 /drivers/sh/Kconfig
parente1eaf354528ceb002c8e2840a55c44cd76aaaed8 (diff)
parent06d5631f56460917af3d9417ef63811cf0cad9ce (diff)
Merge branch 'common/pfc' into sh-latest
Diffstat (limited to 'drivers/sh/Kconfig')
-rw-r--r--drivers/sh/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/sh/Kconfig b/drivers/sh/Kconfig
index f168a615996..d7dbfee1bc7 100644
--- a/drivers/sh/Kconfig
+++ b/drivers/sh/Kconfig
@@ -2,4 +2,19 @@ menu "SuperH / SH-Mobile Driver Options"
source "drivers/sh/intc/Kconfig"
+comment "Pin function controller options"
+
+config SH_PFC
+ # XXX move off the gpio dependency
+ depends on GENERIC_GPIO
+ select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB
+ def_bool y
+
+config GPIO_SH_PFC
+ tristate "SuperH PFC GPIO support"
+ depends on SH_PFC && GPIOLIB
+ help
+ This enables support for GPIOs within the SoC's pin function
+ controller.
+
endmenu