rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Renesas SH and SH Mobile PINCTRL drivers |
| 3 | # |
| 4 | |
| 5 | if ARCH_RENESAS || SUPERH |
| 6 | |
| 7 | config PINCTRL_SH_PFC |
| 8 | select PINMUX |
| 9 | select PINCONF |
| 10 | select GENERIC_PINCONF |
| 11 | def_bool y |
| 12 | help |
| 13 | This enables pin control drivers for SH and SH Mobile platforms |
| 14 | |
| 15 | config PINCTRL_SH_PFC_GPIO |
| 16 | select GPIOLIB |
| 17 | select PINCTRL_SH_PFC |
| 18 | bool |
| 19 | help |
| 20 | This enables pin control and GPIO drivers for SH/SH Mobile platforms |
| 21 | |
| 22 | config PINCTRL_PFC_EMEV2 |
| 23 | def_bool y |
| 24 | depends on ARCH_EMEV2 |
| 25 | select PINCTRL_SH_PFC |
| 26 | |
| 27 | config PINCTRL_PFC_R8A73A4 |
| 28 | def_bool y |
| 29 | depends on ARCH_R8A73A4 |
| 30 | select PINCTRL_SH_PFC_GPIO |
| 31 | |
| 32 | config PINCTRL_PFC_R8A7740 |
| 33 | def_bool y |
| 34 | depends on ARCH_R8A7740 |
| 35 | select PINCTRL_SH_PFC_GPIO |
| 36 | |
| 37 | config PINCTRL_PFC_R8A7743 |
| 38 | def_bool y |
| 39 | depends on ARCH_R8A7743 |
| 40 | select PINCTRL_SH_PFC |
| 41 | |
| 42 | config PINCTRL_PFC_R8A7745 |
| 43 | def_bool y |
| 44 | depends on ARCH_R8A7745 |
| 45 | select PINCTRL_SH_PFC |
| 46 | |
| 47 | config PINCTRL_PFC_R8A7778 |
| 48 | def_bool y |
| 49 | depends on ARCH_R8A7778 |
| 50 | select PINCTRL_SH_PFC |
| 51 | |
| 52 | config PINCTRL_PFC_R8A7779 |
| 53 | def_bool y |
| 54 | depends on ARCH_R8A7779 |
| 55 | select PINCTRL_SH_PFC |
| 56 | |
| 57 | config PINCTRL_PFC_R8A7790 |
| 58 | def_bool y |
| 59 | depends on ARCH_R8A7790 |
| 60 | select PINCTRL_SH_PFC |
| 61 | |
| 62 | config PINCTRL_PFC_R8A7791 |
| 63 | def_bool y |
| 64 | depends on ARCH_R8A7791 |
| 65 | select PINCTRL_SH_PFC |
| 66 | |
| 67 | config PINCTRL_PFC_R8A7792 |
| 68 | def_bool y |
| 69 | depends on ARCH_R8A7792 |
| 70 | select PINCTRL_SH_PFC |
| 71 | |
| 72 | config PINCTRL_PFC_R8A7793 |
| 73 | def_bool y |
| 74 | depends on ARCH_R8A7793 |
| 75 | select PINCTRL_SH_PFC |
| 76 | |
| 77 | config PINCTRL_PFC_R8A7794 |
| 78 | def_bool y |
| 79 | depends on ARCH_R8A7794 |
| 80 | select PINCTRL_SH_PFC |
| 81 | |
| 82 | config PINCTRL_PFC_R8A7795 |
| 83 | def_bool y |
| 84 | depends on ARCH_R8A7795 |
| 85 | select PINCTRL_SH_PFC |
| 86 | |
| 87 | config PINCTRL_PFC_R8A7796 |
| 88 | def_bool y |
| 89 | depends on ARCH_R8A7796 |
| 90 | select PINCTRL_SH_PFC |
| 91 | |
| 92 | config PINCTRL_PFC_R8A77995 |
| 93 | def_bool y |
| 94 | depends on ARCH_R8A77995 |
| 95 | select PINCTRL_SH_PFC |
| 96 | |
| 97 | config PINCTRL_PFC_SH7203 |
| 98 | def_bool y |
| 99 | depends on CPU_SUBTYPE_SH7203 |
| 100 | select PINCTRL_SH_PFC_GPIO |
| 101 | |
| 102 | config PINCTRL_PFC_SH7264 |
| 103 | def_bool y |
| 104 | depends on CPU_SUBTYPE_SH7264 |
| 105 | select PINCTRL_SH_PFC_GPIO |
| 106 | |
| 107 | config PINCTRL_PFC_SH7269 |
| 108 | def_bool y |
| 109 | depends on CPU_SUBTYPE_SH7269 |
| 110 | select PINCTRL_SH_PFC_GPIO |
| 111 | |
| 112 | config PINCTRL_PFC_SH73A0 |
| 113 | def_bool y |
| 114 | depends on ARCH_SH73A0 |
| 115 | select PINCTRL_SH_PFC_GPIO |
| 116 | select REGULATOR |
| 117 | |
| 118 | config PINCTRL_PFC_SH7720 |
| 119 | def_bool y |
| 120 | depends on CPU_SUBTYPE_SH7720 |
| 121 | select PINCTRL_SH_PFC_GPIO |
| 122 | |
| 123 | config PINCTRL_PFC_SH7722 |
| 124 | def_bool y |
| 125 | depends on CPU_SUBTYPE_SH7722 |
| 126 | select PINCTRL_SH_PFC_GPIO |
| 127 | |
| 128 | config PINCTRL_PFC_SH7723 |
| 129 | def_bool y |
| 130 | depends on CPU_SUBTYPE_SH7723 |
| 131 | select PINCTRL_SH_PFC_GPIO |
| 132 | |
| 133 | config PINCTRL_PFC_SH7724 |
| 134 | def_bool y |
| 135 | depends on CPU_SUBTYPE_SH7724 |
| 136 | select PINCTRL_SH_PFC_GPIO |
| 137 | |
| 138 | config PINCTRL_PFC_SH7734 |
| 139 | def_bool y |
| 140 | depends on CPU_SUBTYPE_SH7734 |
| 141 | select PINCTRL_SH_PFC_GPIO |
| 142 | |
| 143 | config PINCTRL_PFC_SH7757 |
| 144 | def_bool y |
| 145 | depends on CPU_SUBTYPE_SH7757 |
| 146 | select PINCTRL_SH_PFC_GPIO |
| 147 | |
| 148 | config PINCTRL_PFC_SH7785 |
| 149 | def_bool y |
| 150 | depends on CPU_SUBTYPE_SH7785 |
| 151 | select PINCTRL_SH_PFC_GPIO |
| 152 | |
| 153 | config PINCTRL_PFC_SH7786 |
| 154 | def_bool y |
| 155 | depends on CPU_SUBTYPE_SH7786 |
| 156 | select PINCTRL_SH_PFC_GPIO |
| 157 | |
| 158 | config PINCTRL_PFC_SHX3 |
| 159 | def_bool y |
| 160 | depends on CPU_SUBTYPE_SHX3 |
| 161 | select PINCTRL_SH_PFC_GPIO |
| 162 | endif |