Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: abx500: update device tree bindings

After force converting the ABx500 bindings in the driver and
device tree sources, also update the binding documentation to
state that we are now using standard bindings.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

+75 -109
+75 -109
Documentation/devicetree/bindings/pinctrl/ste,abx500.txt
··· 8 8 common pinctrl bindings used by client devices, including the meaning of the 9 9 phrase "pin configuration node". 10 10 11 - ST Ericsson's pin configuration nodes act as a container for an arbitrary number of 12 - subnodes. Each of these subnodes represents some desired configuration for a 13 - pin, a group, or a list of pins or groups. This configuration can include the 14 - mux function to select on those pin(s)/group(s), and various pin configuration 15 - parameters, such as input, output, pull up, pull down... 16 - 17 - The name of each subnode is not important; all subnodes should be enumerated 18 - and processed purely based on their content. 19 - 20 - Required subnode-properties: 21 - - ste,pins : An array of strings. Each string contains the name of a pin or 22 - group. 23 - 24 - Optional subnode-properties: 25 - - ste,function: A string containing the name of the function to mux to the 26 - pin or group. 27 - 28 - - generic pin configuration option to use. Example : 29 - 30 - default_cfg { 31 - ste,pins = "GPIO1"; 32 - bias-disable; 33 - }; 34 - 35 - - ste,config: Handle of pin configuration node containing the generic 36 - pinconfig options to use, as described in pinctrl-bindings.txt in 37 - this directory. Example : 38 - 39 - pcfg_bias_disable: pcfg_bias_disable { 40 - bias-disable; 41 - }; 42 - 43 - default_cfg { 44 - ste,pins = "GPIO1"; 45 - ste.config = <&pcfg_bias_disable>; 46 - }; 11 + ST Ericsson's pin configuration nodes use the generic pin multiplexing 12 + and pin configuration bindings, see pinctrl-bindings.txt 47 13 48 14 Example board file extract: 49 15 ··· 20 54 sysclkreq2 { 21 55 sysclkreq2_default_mode: sysclkreq2_default { 22 56 default_mux { 23 - ste,function = "sysclkreq"; 24 - ste,pins = "sysclkreq2_d_1"; 57 + function = "sysclkreq"; 58 + groups = "sysclkreq2_d_1"; 25 59 }; 26 60 default_cfg { 27 - ste,pins = "GPIO1"; 61 + pins = "GPIO1"; 28 62 bias-disable; 29 63 }; 30 64 }; ··· 32 66 sysclkreq3 { 33 67 sysclkreq3_default_mode: sysclkreq3_default { 34 68 default_mux { 35 - ste,function = "sysclkreq"; 36 - ste,pins = "sysclkreq3_d_1"; 69 + function = "sysclkreq"; 70 + groups = "sysclkreq3_d_1"; 37 71 }; 38 72 default_cfg { 39 - ste,pins = "GPIO2"; 73 + pins = "GPIO2"; 40 74 output-low; 41 75 }; 42 76 }; ··· 44 78 gpio3 { 45 79 gpio3_default_mode: gpio3_default { 46 80 default_mux { 47 - ste,function = "gpio"; 48 - ste,pins = "gpio3_a_1"; 81 + function = "gpio"; 82 + groups = "gpio3_a_1"; 49 83 }; 50 84 default_cfg { 51 - ste,pins = "GPIO3"; 85 + pins = "GPIO3"; 52 86 output-low; 53 87 }; 54 88 }; ··· 56 90 sysclkreq6 { 57 91 sysclkreq6_default_mode: sysclkreq6_default { 58 92 default_mux { 59 - ste,function = "sysclkreq"; 60 - ste,pins = "sysclkreq6_d_1"; 93 + function = "sysclkreq"; 94 + groups = "sysclkreq6_d_1"; 61 95 }; 62 96 default_cfg { 63 - ste,pins = "GPIO4"; 97 + pins = "GPIO4"; 64 98 bias-disable; 65 99 }; 66 100 }; ··· 68 102 pwmout1 { 69 103 pwmout1_default_mode: pwmout1_default { 70 104 default_mux { 71 - ste,function = "pwmout"; 72 - ste,pins = "pwmout1_d_1"; 105 + function = "pwmout"; 106 + groups = "pwmout1_d_1"; 73 107 }; 74 108 default_cfg { 75 - ste,pins = "GPIO14"; 109 + pins = "GPIO14"; 76 110 output-low; 77 111 }; 78 112 }; ··· 80 114 pwmout2 { 81 115 pwmout2_default_mode: pwmout2_default { 82 116 pwmout2_default_mux { 83 - ste,function = "pwmout"; 84 - ste,pins = "pwmout2_d_1"; 117 + function = "pwmout"; 118 + groups = "pwmout2_d_1"; 85 119 }; 86 120 pwmout2_default_cfg { 87 - ste,pins = "GPIO15"; 121 + pins = "GPIO15"; 88 122 output-low; 89 123 }; 90 124 }; ··· 92 126 pwmout3 { 93 127 pwmout3_default_mode: pwmout3_default { 94 128 pwmout3_default_mux { 95 - ste,function = "pwmout"; 96 - ste,pins = "pwmout3_d_1"; 129 + function = "pwmout"; 130 + groups = "pwmout3_d_1"; 97 131 }; 98 132 pwmout3_default_cfg { 99 - ste,pins = "GPIO16"; 133 + pins = "GPIO16"; 100 134 output-low; 101 135 }; 102 136 }; ··· 105 139 106 140 adi1_default_mode: adi1_default { 107 141 adi1_default_mux { 108 - ste,function = "adi1"; 109 - ste,pins = "adi1_d_1"; 142 + function = "adi1"; 143 + groups = "adi1_d_1"; 110 144 }; 111 145 adi1_default_cfg1 { 112 - ste,pins = "GPIO17","GPIO19","GPIO20"; 146 + pins = "GPIO17","GPIO19","GPIO20"; 113 147 bias-disable; 114 148 }; 115 149 adi1_default_cfg2 { 116 - ste,pins = "GPIO18"; 150 + pins = "GPIO18"; 117 151 output-low; 118 152 }; 119 153 }; ··· 121 155 dmic12 { 122 156 dmic12_default_mode: dmic12_default { 123 157 dmic12_default_mux { 124 - ste,function = "dmic"; 125 - ste,pins = "dmic12_d_1"; 158 + function = "dmic"; 159 + groups = "dmic12_d_1"; 126 160 }; 127 161 dmic12_default_cfg1 { 128 - ste,pins = "GPIO27"; 162 + pins = "GPIO27"; 129 163 output-low; 130 164 }; 131 165 dmic12_default_cfg2 { 132 - ste,pins = "GPIO28"; 166 + pins = "GPIO28"; 133 167 bias-disable; 134 168 }; 135 169 }; ··· 137 171 dmic34 { 138 172 dmic34_default_mode: dmic34_default { 139 173 dmic34_default_mux { 140 - ste,function = "dmic"; 141 - ste,pins = "dmic34_d_1"; 174 + function = "dmic"; 175 + groups = "dmic34_d_1"; 142 176 }; 143 177 dmic34_default_cfg1 { 144 - ste,pins = "GPIO29"; 178 + pins = "GPIO29"; 145 179 output-low; 146 180 }; 147 181 dmic34_default_cfg2 { 148 - ste,pins = "GPIO30"; 182 + pins = "GPIO30"; 149 183 bias-disable;{ 150 184 151 185 }; ··· 154 188 dmic56 { 155 189 dmic56_default_mode: dmic56_default { 156 190 dmic56_default_mux { 157 - ste,function = "dmic"; 158 - ste,pins = "dmic56_d_1"; 191 + function = "dmic"; 192 + groups = "dmic56_d_1"; 159 193 }; 160 194 dmic56_default_cfg1 { 161 - ste,pins = "GPIO31"; 195 + pins = "GPIO31"; 162 196 output-low; 163 197 }; 164 198 dmic56_default_cfg2 { 165 - ste,pins = "GPIO32"; 199 + pins = "GPIO32"; 166 200 bias-disable; 167 201 }; 168 202 }; ··· 170 204 sysclkreq5 { 171 205 sysclkreq5_default_mode: sysclkreq5_default { 172 206 sysclkreq5_default_mux { 173 - ste,function = "sysclkreq"; 174 - ste,pins = "sysclkreq5_d_1"; 207 + function = "sysclkreq"; 208 + groups = "sysclkreq5_d_1"; 175 209 }; 176 210 sysclkreq5_default_cfg { 177 - ste,pins = "GPIO42"; 211 + pins = "GPIO42"; 178 212 output-low; 179 213 }; 180 214 }; ··· 182 216 batremn { 183 217 batremn_default_mode: batremn_default { 184 218 batremn_default_mux { 185 - ste,function = "batremn"; 186 - ste,pins = "batremn_d_1"; 219 + function = "batremn"; 220 + groups = "batremn_d_1"; 187 221 }; 188 222 batremn_default_cfg { 189 - ste,pins = "GPIO43"; 223 + pins = "GPIO43"; 190 224 bias-disable; 191 225 }; 192 226 }; ··· 194 228 service { 195 229 service_default_mode: service_default { 196 230 service_default_mux { 197 - ste,function = "service"; 198 - ste,pins = "service_d_1"; 231 + function = "service"; 232 + groups = "service_d_1"; 199 233 }; 200 234 service_default_cfg { 201 - ste,pins = "GPIO44"; 235 + pins = "GPIO44"; 202 236 bias-disable; 203 237 }; 204 238 }; ··· 206 240 pwrctrl0 { 207 241 pwrctrl0_default_mux: pwrctrl0_mux { 208 242 pwrctrl0_default_mux { 209 - ste,function = "pwrctrl"; 210 - ste,pins = "pwrctrl0_d_1"; 243 + function = "pwrctrl"; 244 + groups = "pwrctrl0_d_1"; 211 245 }; 212 246 }; 213 247 pwrctrl0_default_mode: pwrctrl0_default { 214 248 pwrctrl0_default_cfg { 215 - ste,pins = "GPIO45"; 249 + pins = "GPIO45"; 216 250 bias-disable; 217 251 }; 218 252 }; ··· 220 254 pwrctrl1 { 221 255 pwrctrl1_default_mux: pwrctrl1_mux { 222 256 pwrctrl1_default_mux { 223 - ste,function = "pwrctrl"; 224 - ste,pins = "pwrctrl1_d_1"; 257 + function = "pwrctrl"; 258 + groups = "pwrctrl1_d_1"; 225 259 }; 226 260 }; 227 261 pwrctrl1_default_mode: pwrctrl1_default { 228 262 pwrctrl1_default_cfg { 229 - ste,pins = "GPIO46"; 263 + pins = "GPIO46"; 230 264 bias-disable; 231 265 }; 232 266 }; ··· 234 268 pwmextvibra1 { 235 269 pwmextvibra1_default_mode: pwmextvibra1_default { 236 270 pwmextvibra1_default_mux { 237 - ste,function = "pwmextvibra"; 238 - ste,pins = "pwmextvibra1_d_1"; 271 + function = "pwmextvibra"; 272 + groups = "pwmextvibra1_d_1"; 239 273 }; 240 274 pwmextvibra1_default_cfg { 241 - ste,pins = "GPIO47"; 275 + pins = "GPIO47"; 242 276 bias-disable; 243 277 }; 244 278 }; ··· 246 280 pwmextvibra2 { 247 281 pwmextvibra2_default_mode: pwmextvibra2_default { 248 282 pwmextvibra2_default_mux { 249 - ste,function = "pwmextvibra"; 250 - ste,pins = "pwmextvibra2_d_1"; 283 + function = "pwmextvibra"; 284 + groups = "pwmextvibra2_d_1"; 251 285 }; 252 286 pwmextvibra1_default_cfg { 253 - ste,pins = "GPIO48"; 287 + pins = "GPIO48"; 254 288 bias-disable; 255 289 }; 256 290 }; ··· 258 292 gpio51 { 259 293 gpio51_default_mode: gpio51_default { 260 294 gpio51_default_mux { 261 - ste,function = "gpio"; 262 - ste,pins = "gpio51_a_1"; 295 + function = "gpio"; 296 + groups = "gpio51_a_1"; 263 297 }; 264 298 gpio51_default_cfg { 265 - ste,pins = "GPIO51"; 299 + pins = "GPIO51"; 266 300 output-low; 267 301 }; 268 302 }; ··· 270 304 gpio52 { 271 305 gpio52_default_mode: gpio52_default { 272 306 gpio52_default_mux { 273 - ste,function = "gpio"; 274 - ste,pins = "gpio52_a_1"; 307 + function = "gpio"; 308 + groups = "gpio52_a_1"; 275 309 }; 276 310 gpio52_default_cfg { 277 - ste,pins = "GPIO52"; 311 + pins = "GPIO52"; 278 312 bias-pull-down; 279 313 }; 280 314 }; ··· 282 316 gpio53 { 283 317 gpio53_default_mode: gpio53_default { 284 318 gpio53_default_mux { 285 - ste,function = "gpio"; 286 - ste,pins = "gpio53_a_1"; 319 + function = "gpio"; 320 + groups = "gpio53_a_1"; 287 321 }; 288 322 gpio53_default_cfg { 289 - ste,pins = "GPIO53"; 323 + pins = "GPIO53"; 290 324 bias-pull-down; 291 325 }; 292 326 }; ··· 294 328 gpio54 { 295 329 gpio54_default_mode: gpio54_default { 296 330 gpio54_default_mux { 297 - ste,function = "gpio"; 298 - ste,pins = "gpio54_a_1"; 331 + function = "gpio"; 332 + groups = "gpio54_a_1"; 299 333 }; 300 334 gpio54_default_cfg { 301 - ste,pins = "GPIO54"; 335 + pins = "GPIO54"; 302 336 output-low; 303 337 }; 304 338 }; ··· 306 340 pdmclkdat { 307 341 pdmclkdat_default_mode: pdmclkdat_default { 308 342 pdmclkdat_default_mux { 309 - ste,function = "pdm"; 310 - ste,pins = "pdmclkdat_d_1"; 343 + function = "pdm"; 344 + groups = "pdmclkdat_d_1"; 311 345 }; 312 346 pdmclkdat_default_cfg { 313 - ste,pins = "GPIO55", "GPIO56"; 347 + pins = "GPIO55", "GPIO56"; 314 348 bias-disable; 315 349 }; 316 350 };