summaryrefslogtreecommitdiffstats
path: root/drivers/sh/pfc/Kconfig
diff options
context:
space:
mode:
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.
OpenPOWER on IntegriCloud