summaryrefslogtreecommitdiffstats
path: root/drivers/sh/pfc/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-07-10 04:49:30 +0200
committerPaul Mundt <lethal@linux-sh.org>2012-07-10 04:49:30 +0200
commitafae021abeadc58aec5074f26a1d62912773edf7 (patch)
tree87b4bf236101a53051893b14795a79e08ad64916 /drivers/sh/pfc/Kconfig
parentsh: pfc: Verify pin type encoding size at build time. (diff)
downloadlinux-afae021abeadc58aec5074f26a1d62912773edf7.tar.xz
linux-afae021abeadc58aec5074f26a1d62912773edf7.zip
sh: pfc: Shuffle PFC support core.
This follows the intc/clk changes and shuffles the PFC support code under its own directory. This will facilitate better code sharing, and allow us to trim down the exported interface by quite a margin. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/sh/pfc/Kconfig')
-rw-r--r--drivers/sh/pfc/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/sh/pfc/Kconfig b/drivers/sh/pfc/Kconfig
new file mode 100644
index 000000000000..95b04f4edb88
--- /dev/null
+++ b/drivers/sh/pfc/Kconfig
@@ -0,0 +1,14 @@
+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.