Lines Matching +full:use +full:- +full:push +full:- +full:pull
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/qcom,pmic-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
19 - enum:
20 - qcom,pm2250-gpio
21 - qcom,pm660-gpio
22 - qcom,pm660l-gpio
23 - qcom,pm6125-gpio
24 - qcom,pm6150-gpio
25 - qcom,pm6150l-gpio
26 - qcom,pm6350-gpio
27 - qcom,pm7250b-gpio
28 - qcom,pm7325-gpio
29 - qcom,pm7550ba-gpio
30 - qcom,pm8005-gpio
31 - qcom,pm8008-gpio
32 - qcom,pm8018-gpio
33 - qcom,pm8019-gpio
34 - qcom,pm8038-gpio
35 - qcom,pm8058-gpio
36 - qcom,pm8150-gpio
37 - qcom,pm8150b-gpio
38 - qcom,pm8150l-gpio
39 - qcom,pm8226-gpio
40 - qcom,pm8350-gpio
41 - qcom,pm8350b-gpio
42 - qcom,pm8350c-gpio
43 - qcom,pm8450-gpio
44 - qcom,pm8550-gpio
45 - qcom,pm8550b-gpio
46 - qcom,pm8550ve-gpio
47 - qcom,pm8550vs-gpio
48 - qcom,pm8916-gpio
49 - qcom,pm8917-gpio
50 - qcom,pm8921-gpio
51 - qcom,pm8941-gpio
52 - qcom,pm8950-gpio
53 - qcom,pm8953-gpio
54 - qcom,pm8994-gpio
55 - qcom,pm8998-gpio
56 - qcom,pma8084-gpio
57 - qcom,pmc8180-gpio
58 - qcom,pmc8180c-gpio
59 - qcom,pmi632-gpio
60 - qcom,pmi8950-gpio
61 - qcom,pmi8994-gpio
62 - qcom,pmi8998-gpio
63 - qcom,pmk8350-gpio
64 - qcom,pmk8550-gpio
65 - qcom,pmm8155au-gpio
66 - qcom,pmm8654au-gpio
67 - qcom,pmp8074-gpio
68 - qcom,pmr735a-gpio
69 - qcom,pmr735b-gpio
70 - qcom,pmr735d-gpio
71 - qcom,pms405-gpio
72 - qcom,pmx55-gpio
73 - qcom,pmx65-gpio
74 - qcom,pmx75-gpio
76 - enum:
77 - qcom,spmi-gpio
78 - qcom,ssbi-gpio
83 interrupt-controller: true
85 '#interrupt-cells':
88 gpio-controller: true
90 gpio-ranges:
93 gpio-line-names:
97 gpio-reserved-ranges:
103 '#gpio-cells':
112 - compatible
113 - reg
114 - gpio-controller
115 - '#gpio-cells'
116 - gpio-ranges
117 - interrupt-controller
120 - if:
125 - qcom,pm8008-gpio
126 - qcom,pmi8950-gpio
127 - qcom,pmr735d-gpio
130 gpio-line-names:
133 gpio-reserved-ranges:
136 - if:
141 - qcom,pm8005-gpio
142 - qcom,pm8450-gpio
143 - qcom,pm8916-gpio
144 - qcom,pmk8350-gpio
145 - qcom,pmr735a-gpio
146 - qcom,pmr735b-gpio
149 gpio-line-names:
152 gpio-reserved-ranges:
156 - if:
161 - qcom,pm8018-gpio
162 - qcom,pm8019-gpio
163 - qcom,pm8550vs-gpio
164 - qcom,pmk8550-gpio
167 gpio-line-names:
170 gpio-reserved-ranges:
174 - if:
179 - qcom,pm7550ba-gpio
180 - qcom,pm8226-gpio
181 - qcom,pm8350b-gpio
182 - qcom,pm8550ve-gpio
183 - qcom,pm8950-gpio
184 - qcom,pm8953-gpio
185 - qcom,pmi632-gpio
188 gpio-line-names:
191 gpio-reserved-ranges:
195 - if:
200 - qcom,pm6350-gpio
201 - qcom,pm8350c-gpio
204 gpio-line-names:
207 gpio-reserved-ranges:
211 - if:
216 - qcom,pm2250-gpio
217 - qcom,pm6150-gpio
218 - qcom,pm7325-gpio
219 - qcom,pm8150-gpio
220 - qcom,pm8350-gpio
221 - qcom,pmc8180-gpio
222 - qcom,pmi8994-gpio
223 - qcom,pmm8155au-gpio
226 gpio-line-names:
229 gpio-reserved-ranges:
233 - if:
238 - qcom,pmx55-gpio
241 gpio-line-names:
244 gpio-reserved-ranges:
248 - if:
253 - qcom,pm660l-gpio
254 - qcom,pm6150l-gpio
255 - qcom,pm7250b-gpio
256 - qcom,pm8038-gpio
257 - qcom,pm8150b-gpio
258 - qcom,pm8150l-gpio
259 - qcom,pm8550-gpio
260 - qcom,pm8550b-gpio
261 - qcom,pmc8180c-gpio
262 - qcom,pmp8074-gpio
263 - qcom,pms405-gpio
266 gpio-line-names:
269 gpio-reserved-ranges:
273 - if:
278 - qcom,pm660-gpio
281 gpio-line-names:
284 gpio-reserved-ranges:
288 - if:
293 - qcom,pmi8998-gpio
296 gpio-line-names:
299 gpio-reserved-ranges:
303 - if:
308 - qcom,pmx65-gpio
309 - qcom,pmx75-gpio
312 gpio-line-names:
315 gpio-reserved-ranges:
319 - if:
324 - qcom,pm8994-gpio
325 - qcom,pma8084-gpio
328 gpio-line-names:
331 gpio-reserved-ranges:
335 - if:
340 - qcom,pm8998-gpio
343 gpio-line-names:
346 gpio-reserved-ranges:
350 - if:
355 - qcom,pm8941-gpio
358 gpio-line-names:
361 gpio-reserved-ranges:
365 - if:
370 - qcom,pm8917-gpio
373 gpio-line-names:
376 gpio-reserved-ranges:
380 - if:
385 - qcom,pm8058-gpio
386 - qcom,pm8921-gpio
389 gpio-line-names:
392 gpio-reserved-ranges:
397 '-state$':
399 - $ref: "#/$defs/qcom-pmic-gpio-state"
400 - patternProperties:
401 "(pinconf|-pins)$":
402 $ref: "#/$defs/qcom-pmic-gpio-state"
406 qcom-pmic-gpio-state:
409 - $ref: pinmux-node.yaml
410 - $ref: pincfg-node.yaml
416 - gpio1-gpio9 for pm6125
417 - gpio1-gpio10 for pm6150
418 - gpio1-gpio12 for pm6150l
419 - gpio1-gpio9 for pm6350
420 - gpio1-gpio12 for pm7250b
421 - gpio1-gpio10 for pm7325
422 - gpio1-gpio8 for pm7550ba
423 - gpio1-gpio4 for pm8005
424 - gpio1-gpio2 for pm8008
425 - gpio1-gpio6 for pm8018
426 - gpio1-gpio12 for pm8038
427 - gpio1-gpio40 for pm8058
428 - gpio1-gpio10 for pm8150 (holes on gpio2, gpio5,
430 - gpio1-gpio12 for pm8150b (holes on gpio3, gpio4
432 - gpio1-gpio12 for pm8150l (hole on gpio7)
433 - gpio1-gpio4 for pm8916
434 - gpio1-gpio10 for pm8350
435 - gpio1-gpio8 for pm8350b
436 - gpio1-gpio9 for pm8350c
437 - gpio1-gpio4 for pm8450
438 - gpio1-gpio12 for pm8550
439 - gpio1-gpio12 for pm8550b
440 - gpio1-gpio8 for pm8550ve
441 - gpio1-gpio6 for pm8550vs
442 - gpio1-gpio38 for pm8917
443 - gpio1-gpio44 for pm8921
444 - gpio1-gpio36 for pm8941
445 - gpio1-gpio8 for pm8950 (hole on gpio3)
446 - gpio1-gpio8 for pm8953 (hole on gpio3 and gpio6)
447 - gpio1-gpio22 for pm8994
448 - gpio1-gpio26 for pm8998
449 - gpio1-gpio22 for pma8084
450 - gpio1-gpio8 for pmi632
451 - gpio1-gpio2 for pmi8950
452 - gpio1-gpio10 for pmi8994
453 - gpio1-gpio4 for pmk8350
454 - gpio1-gpio6 for pmk8550
455 - gpio1-gpio10 for pmm8155au
456 - gpio1-gpio12 for pmm8654au
457 - gpio1-gpio12 for pmp8074 (holes on gpio1 and gpio12)
458 - gpio1-gpio4 for pmr735a
459 - gpio1-gpio4 for pmr735b
460 - gpio1-gpio2 for pmr735d
461 - gpio1-gpio12 for pms405 (holes on gpio1, gpio9
463 - gpio1-gpio11 for pmx55 (holes on gpio3, gpio7, gpio10
465 - gpio1-gpio16 for pmx65
466 - gpio1-gpio16 for pmx75
469 pattern: "^gpio([0-9]+)$"
473 - enum:
474 - normal
475 - paired
476 - func1
477 - func2
478 - dtest1
479 - dtest2
480 - dtest3
481 - dtest4
482 - func3 # supported by LV/MV GPIO subtypes
483 - func4 # supported by LV/MV GPIO subtypes
485 bias-disable: true
486 bias-pull-down: true
487 bias-pull-up: true
489 qcom,pull-up-strength:
492 Specifies the strength to use for pull up, if selected.
494 <dt-bindings/pinctrl/qcom,pmic-gpio.h>
496 if pull up is selected
499 bias-high-impedance: true
500 input-enable: true
501 input-disable: true
502 output-high: true
503 output-low: true
504 output-enable: true
505 output-disable: true
506 power-source: true
508 qcom,drive-strength:
513 <dt-bindings/pinctrl/qcom,pmic-gpio.h>
516 drive-push-pull: true
517 drive-open-drain: true
518 drive-open-source: true
520 qcom,analog-pass:
524 analog-pass-through mode.
530 configured in analog-pass-through mode.
533 qcom,dtest-buffer:
541 - pins
542 - function
547 - |
548 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
551 compatible = "qcom,pm8921-gpio", "qcom,ssbi-gpio";
553 interrupt-controller;
554 #interrupt-cells = <2>;
555 gpio-controller;
556 gpio-ranges = <&pm8921_gpio 0 0 44>;
557 #gpio-cells = <2>;
559 pm8921_gpio_keys: gpio-keys-state {
560 volume-keys-pins {
564 input-enable;
565 bias-pull-up;
566 drive-push-pull;
567 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
568 power-source = <PM8921_GPIO_S4>;