]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/sh/Kconfig
sh: pfc: Make gpio chip support optional where possible.
[karo-tx-linux.git] / drivers / sh / Kconfig
index f168a6159961f621631a7af9a78d0099be61cbc3..d7dbfee1bc707a44eb2f784ef901c76bbf6cf911 100644 (file)
@@ -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