Paul Mundt | afae021 | 2012-07-10 11:49:30 +0900 | [diff] [blame] | 1 | comment "Pin function controller options" |
| 2 | |
| 3 | config SH_PFC |
| 4 | # XXX move off the gpio dependency |
| 5 | depends on GENERIC_GPIO |
| 6 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB |
Paul Mundt | ca5481c6 | 2012-07-10 12:08:14 +0900 | [diff] [blame] | 7 | select PINCTRL_SH_PFC |
Paul Mundt | afae021 | 2012-07-10 11:49:30 +0900 | [diff] [blame] | 8 | def_bool y |
| 9 | |
Paul Mundt | ca5481c6 | 2012-07-10 12:08:14 +0900 | [diff] [blame] | 10 | # |
| 11 | # Placeholder for now, rehome to drivers/pinctrl once the PFC APIs |
| 12 | # have settled. |
| 13 | # |
| 14 | config PINCTRL_SH_PFC |
| 15 | tristate "SuperH PFC pin controller driver" |
| 16 | depends on SH_PFC |
| 17 | select PINCTRL |
| 18 | select PINMUX |
| 19 | select PINCONF |
Paul Mundt | ca5481c6 | 2012-07-10 12:08:14 +0900 | [diff] [blame] | 20 | |
Paul Mundt | afae021 | 2012-07-10 11:49:30 +0900 | [diff] [blame] | 21 | config GPIO_SH_PFC |
| 22 | tristate "SuperH PFC GPIO support" |
| 23 | depends on SH_PFC && GPIOLIB |
| 24 | help |
| 25 | This enables support for GPIOs within the SoC's pin function |
| 26 | controller. |