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 | ccda552 | 2012-12-15 23:51:29 +0100 | [diff] [blame] | 34 | config PINCTRL_PFC_SH7203 |
| 35 | def_bool y |
| 36 | depends on CPU_SUBTYPE_SH7203 |
| 37 | depends on GENERIC_GPIO |
| 38 | select PINCTRL_SH_PFC |
| 39 | |
Laurent Pinchart | a8d42fc | 2012-12-15 23:51:30 +0100 | [diff] [blame] | 40 | config PINCTRL_PFC_SH7264 |
| 41 | def_bool y |
| 42 | depends on CPU_SUBTYPE_SH7264 |
| 43 | depends on GENERIC_GPIO |
| 44 | select PINCTRL_SH_PFC |
| 45 | |
Laurent Pinchart | f5e811f | 2012-12-15 23:51:31 +0100 | [diff] [blame] | 46 | config PINCTRL_PFC_SH7269 |
| 47 | def_bool y |
| 48 | depends on CPU_SUBTYPE_SH7269 |
| 49 | depends on GENERIC_GPIO |
| 50 | select PINCTRL_SH_PFC |
| 51 | |
Laurent Pinchart | 6e5469a | 2012-12-15 23:51:23 +0100 | [diff] [blame] | 52 | config PINCTRL_PFC_SH7372 |
| 53 | def_bool y |
| 54 | depends on ARCH_SH7372 |
| 55 | select PINCTRL_SH_PFC |
| 56 | |
Laurent Pinchart | 5d5166d | 2012-12-15 23:51:24 +0100 | [diff] [blame] | 57 | config PINCTRL_PFC_SH73A0 |
| 58 | def_bool y |
| 59 | depends on ARCH_SH73A0 |
| 60 | select PINCTRL_SH_PFC |
| 61 | |
Laurent Pinchart | 74cad60 | 2012-12-15 23:51:32 +0100 | [diff] [blame] | 62 | config PINCTRL_PFC_SH7720 |
| 63 | def_bool y |
| 64 | depends on CPU_SUBTYPE_SH7720 |
| 65 | depends on GENERIC_GPIO |
| 66 | select PINCTRL_SH_PFC |
| 67 | |
Laurent Pinchart | f5e25ae | 2012-12-15 23:51:33 +0100 | [diff] [blame] | 68 | config PINCTRL_PFC_SH7722 |
| 69 | def_bool y |
| 70 | depends on CPU_SUBTYPE_SH7722 |
| 71 | depends on GENERIC_GPIO |
| 72 | select PINCTRL_SH_PFC |
| 73 | |
Laurent Pinchart | d05afa0 | 2012-12-15 23:51:34 +0100 | [diff] [blame] | 74 | config PINCTRL_PFC_SH7723 |
| 75 | def_bool y |
| 76 | depends on CPU_SUBTYPE_SH7723 |
| 77 | depends on GENERIC_GPIO |
| 78 | select PINCTRL_SH_PFC |
| 79 | |
Laurent Pinchart | 0ff25ba | 2012-12-15 23:51:35 +0100 | [diff] [blame] | 80 | config PINCTRL_PFC_SH7724 |
| 81 | def_bool y |
| 82 | depends on CPU_SUBTYPE_SH7724 |
| 83 | depends on GENERIC_GPIO |
| 84 | select PINCTRL_SH_PFC |
| 85 | |
Laurent Pinchart | ac1ebc2 | 2012-12-15 23:51:36 +0100 | [diff] [blame] | 86 | config PINCTRL_PFC_SH7734 |
| 87 | def_bool y |
| 88 | depends on CPU_SUBTYPE_SH7734 |
| 89 | depends on GENERIC_GPIO |
| 90 | select PINCTRL_SH_PFC |
| 91 | |
Laurent Pinchart | 0bb9267 | 2012-12-15 23:51:37 +0100 | [diff] [blame] | 92 | config PINCTRL_PFC_SH7757 |
| 93 | def_bool y |
| 94 | depends on CPU_SUBTYPE_SH7757 |
| 95 | depends on GENERIC_GPIO |
| 96 | select PINCTRL_SH_PFC |
| 97 | |
Laurent Pinchart | a56398e | 2012-12-15 23:51:38 +0100 | [diff] [blame^] | 98 | config PINCTRL_PFC_SH7785 |
| 99 | def_bool y |
| 100 | depends on CPU_SUBTYPE_SH7785 |
| 101 | depends on GENERIC_GPIO |
| 102 | select PINCTRL_SH_PFC |
| 103 | |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 104 | endif |