| Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 1 | # |
| 2 | # Renesas SH and SH Mobile PINCTRL drivers |
| 3 | # |
| 4 | |
| 5 | if ARCH_SHMOBILE || SUPERH |
| 6 | |
| 7 | config PINCTRL_SH_PFC |
| 8 | # XXX move off the gpio dependency |
| 9 | depends on GENERIC_GPIO |
| 10 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB |
| 11 | select PINMUX |
| 12 | select PINCONF |
| 13 | def_bool y |
| 14 | help |
| 15 | This enables pin control drivers for SH and SH Mobile platforms |
| 16 | |
| 17 | config GPIO_SH_PFC |
| 18 | bool "SuperH PFC GPIO support" |
| 19 | depends on PINCTRL_SH_PFC && GPIOLIB |
| 20 | help |
| 21 | This enables support for GPIOs within the SoC's pin function |
| 22 | controller. |
| 23 | |
| Laurent Pinchart | d5b1521 | 2012-12-15 23:51:21 +0100 | [diff] [blame] | 24 | config PINCTRL_PFC_R8A7740 |
| 25 | def_bool y |
| 26 | depends on ARCH_R8A7740 |
| 27 | select PINCTRL_SH_PFC |
| 28 | |
| Laurent Pinchart | 881023d | 2012-12-15 23:51:22 +0100 | [diff] [blame^] | 29 | config PINCTRL_PFC_R8A7779 |
| 30 | def_bool y |
| 31 | depends on ARCH_R8A7779 |
| 32 | select PINCTRL_SH_PFC |
| 33 | |
| Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 34 | endif |