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 |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 8 | select GPIO_SH_PFC if ARCH_REQUIRE_GPIOLIB |
| 9 | select PINMUX |
| 10 | select PINCONF |
Laurent Pinchart | c58d9c1 | 2013-03-10 16:44:02 +0100 | [diff] [blame] | 11 | select GENERIC_PINCONF |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 12 | def_bool y |
| 13 | help |
| 14 | This enables pin control drivers for SH and SH Mobile platforms |
| 15 | |
| 16 | config GPIO_SH_PFC |
| 17 | bool "SuperH PFC GPIO support" |
| 18 | depends on PINCTRL_SH_PFC && GPIOLIB |
| 19 | help |
| 20 | This enables support for GPIOs within the SoC's pin function |
| 21 | controller. |
| 22 | |
Niklas Söderlund | 1e7d5d8 | 2015-01-25 14:49:52 +0100 | [diff] [blame] | 23 | config PINCTRL_PFC_EMEV2 |
| 24 | def_bool y |
| 25 | depends on ARCH_EMEV2 |
| 26 | select PINCTRL_SH_PFC |
| 27 | |
Magnus Damm | c98f6c2 | 2013-03-26 22:49:49 +0900 | [diff] [blame] | 28 | config PINCTRL_PFC_R8A73A4 |
| 29 | def_bool y |
| 30 | depends on ARCH_R8A73A4 |
| 31 | select PINCTRL_SH_PFC |
| 32 | |
Laurent Pinchart | d5b1521 | 2012-12-15 23:51:21 +0100 | [diff] [blame] | 33 | config PINCTRL_PFC_R8A7740 |
| 34 | def_bool y |
| 35 | depends on ARCH_R8A7740 |
| 36 | select PINCTRL_SH_PFC |
| 37 | |
Kuninori Morimoto | 87f8c98 | 2013-04-12 05:37:20 +0000 | [diff] [blame] | 38 | config PINCTRL_PFC_R8A7778 |
| 39 | def_bool y |
| 40 | depends on ARCH_R8A7778 |
| 41 | select PINCTRL_SH_PFC |
| 42 | |
Laurent Pinchart | 881023d | 2012-12-15 23:51:22 +0100 | [diff] [blame] | 43 | config PINCTRL_PFC_R8A7779 |
| 44 | def_bool y |
| 45 | depends on ARCH_R8A7779 |
| 46 | select PINCTRL_SH_PFC |
| 47 | |
Koji Matsuoka | 58c229e | 2013-04-08 11:08:53 +0900 | [diff] [blame] | 48 | config PINCTRL_PFC_R8A7790 |
| 49 | def_bool y |
| 50 | depends on ARCH_R8A7790 |
| 51 | select PINCTRL_SH_PFC |
| 52 | |
Hisashi Nakamura | 5088451 | 2013-10-17 06:46:05 +0900 | [diff] [blame] | 53 | config PINCTRL_PFC_R8A7791 |
| 54 | def_bool y |
| 55 | depends on ARCH_R8A7791 |
| 56 | select PINCTRL_SH_PFC |
| 57 | |
Ulrich Hecht | cb0ba73 | 2015-05-12 11:13:20 +0200 | [diff] [blame] | 58 | config PINCTRL_PFC_R8A7793 |
| 59 | def_bool y |
| 60 | depends on ARCH_R8A7793 |
| 61 | select PINCTRL_SH_PFC |
| 62 | |
Hisashi Nakamura | 43c4436 | 2015-06-06 01:34:48 +0300 | [diff] [blame] | 63 | config PINCTRL_PFC_R8A7794 |
| 64 | def_bool y |
| 65 | depends on ARCH_R8A7794 |
| 66 | select PINCTRL_SH_PFC |
| 67 | |
Takeshi Kihara | 0b0ffc9 | 2015-09-03 02:51:49 +0000 | [diff] [blame] | 68 | config PINCTRL_PFC_R8A7795 |
| 69 | def_bool y |
| 70 | depends on ARCH_R8A7795 |
| 71 | select PINCTRL_SH_PFC |
| 72 | |
Laurent Pinchart | ccda552 | 2012-12-15 23:51:29 +0100 | [diff] [blame] | 73 | config PINCTRL_PFC_SH7203 |
| 74 | def_bool y |
| 75 | depends on CPU_SUBTYPE_SH7203 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 76 | depends on GPIOLIB |
Laurent Pinchart | ccda552 | 2012-12-15 23:51:29 +0100 | [diff] [blame] | 77 | select PINCTRL_SH_PFC |
| 78 | |
Laurent Pinchart | a8d42fc | 2012-12-15 23:51:30 +0100 | [diff] [blame] | 79 | config PINCTRL_PFC_SH7264 |
| 80 | def_bool y |
| 81 | depends on CPU_SUBTYPE_SH7264 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 82 | depends on GPIOLIB |
Laurent Pinchart | a8d42fc | 2012-12-15 23:51:30 +0100 | [diff] [blame] | 83 | select PINCTRL_SH_PFC |
| 84 | |
Laurent Pinchart | f5e811f | 2012-12-15 23:51:31 +0100 | [diff] [blame] | 85 | config PINCTRL_PFC_SH7269 |
| 86 | def_bool y |
| 87 | depends on CPU_SUBTYPE_SH7269 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 88 | depends on GPIOLIB |
Laurent Pinchart | f5e811f | 2012-12-15 23:51:31 +0100 | [diff] [blame] | 89 | select PINCTRL_SH_PFC |
| 90 | |
Laurent Pinchart | 5d5166d | 2012-12-15 23:51:24 +0100 | [diff] [blame] | 91 | config PINCTRL_PFC_SH73A0 |
| 92 | def_bool y |
| 93 | depends on ARCH_SH73A0 |
| 94 | select PINCTRL_SH_PFC |
Laurent Pinchart | ea770ad | 2013-04-21 23:26:26 +0200 | [diff] [blame] | 95 | select REGULATOR |
Laurent Pinchart | 5d5166d | 2012-12-15 23:51:24 +0100 | [diff] [blame] | 96 | |
Laurent Pinchart | 74cad60 | 2012-12-15 23:51:32 +0100 | [diff] [blame] | 97 | config PINCTRL_PFC_SH7720 |
| 98 | def_bool y |
| 99 | depends on CPU_SUBTYPE_SH7720 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 100 | depends on GPIOLIB |
Laurent Pinchart | 74cad60 | 2012-12-15 23:51:32 +0100 | [diff] [blame] | 101 | select PINCTRL_SH_PFC |
| 102 | |
Laurent Pinchart | f5e25ae | 2012-12-15 23:51:33 +0100 | [diff] [blame] | 103 | config PINCTRL_PFC_SH7722 |
| 104 | def_bool y |
| 105 | depends on CPU_SUBTYPE_SH7722 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 106 | depends on GPIOLIB |
Laurent Pinchart | f5e25ae | 2012-12-15 23:51:33 +0100 | [diff] [blame] | 107 | select PINCTRL_SH_PFC |
| 108 | |
Laurent Pinchart | d05afa0 | 2012-12-15 23:51:34 +0100 | [diff] [blame] | 109 | config PINCTRL_PFC_SH7723 |
| 110 | def_bool y |
| 111 | depends on CPU_SUBTYPE_SH7723 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 112 | depends on GPIOLIB |
Laurent Pinchart | d05afa0 | 2012-12-15 23:51:34 +0100 | [diff] [blame] | 113 | select PINCTRL_SH_PFC |
| 114 | |
Laurent Pinchart | 0ff25ba | 2012-12-15 23:51:35 +0100 | [diff] [blame] | 115 | config PINCTRL_PFC_SH7724 |
| 116 | def_bool y |
| 117 | depends on CPU_SUBTYPE_SH7724 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 118 | depends on GPIOLIB |
Laurent Pinchart | 0ff25ba | 2012-12-15 23:51:35 +0100 | [diff] [blame] | 119 | select PINCTRL_SH_PFC |
| 120 | |
Laurent Pinchart | ac1ebc2 | 2012-12-15 23:51:36 +0100 | [diff] [blame] | 121 | config PINCTRL_PFC_SH7734 |
| 122 | def_bool y |
| 123 | depends on CPU_SUBTYPE_SH7734 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 124 | depends on GPIOLIB |
Laurent Pinchart | ac1ebc2 | 2012-12-15 23:51:36 +0100 | [diff] [blame] | 125 | select PINCTRL_SH_PFC |
| 126 | |
Laurent Pinchart | 0bb9267 | 2012-12-15 23:51:37 +0100 | [diff] [blame] | 127 | config PINCTRL_PFC_SH7757 |
| 128 | def_bool y |
| 129 | depends on CPU_SUBTYPE_SH7757 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 130 | depends on GPIOLIB |
Laurent Pinchart | 0bb9267 | 2012-12-15 23:51:37 +0100 | [diff] [blame] | 131 | select PINCTRL_SH_PFC |
| 132 | |
Laurent Pinchart | a56398e | 2012-12-15 23:51:38 +0100 | [diff] [blame] | 133 | config PINCTRL_PFC_SH7785 |
| 134 | def_bool y |
| 135 | depends on CPU_SUBTYPE_SH7785 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 136 | depends on GPIOLIB |
Laurent Pinchart | a56398e | 2012-12-15 23:51:38 +0100 | [diff] [blame] | 137 | select PINCTRL_SH_PFC |
| 138 | |
Laurent Pinchart | d2a31bd | 2012-12-15 23:51:39 +0100 | [diff] [blame] | 139 | config PINCTRL_PFC_SH7786 |
| 140 | def_bool y |
| 141 | depends on CPU_SUBTYPE_SH7786 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 142 | depends on GPIOLIB |
Laurent Pinchart | d2a31bd | 2012-12-15 23:51:39 +0100 | [diff] [blame] | 143 | select PINCTRL_SH_PFC |
| 144 | |
Laurent Pinchart | d5d9a81 | 2012-12-15 23:51:40 +0100 | [diff] [blame] | 145 | config PINCTRL_PFC_SHX3 |
| 146 | def_bool y |
| 147 | depends on CPU_SUBTYPE_SHX3 |
Alexandre Courbot | 76ec9d1 | 2013-03-28 04:34:56 -0700 | [diff] [blame] | 148 | depends on GPIOLIB |
Laurent Pinchart | d5d9a81 | 2012-12-15 23:51:40 +0100 | [diff] [blame] | 149 | select PINCTRL_SH_PFC |
| 150 | |
Laurent Pinchart | 6e54d8d | 2012-12-15 23:51:19 +0100 | [diff] [blame] | 151 | endif |