Lines Matching +full:drive +full:- +full:open +full:- +full:drain

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/awinic,aw9523-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
13 The Awinic AW9523/AW9523B I2C GPIO Expander featuring 16 multi-function
18 const: awinic,aw9523-pinctrl
23 '#gpio-cells':
26 include/dt-bindings/gpio/gpio.h
29 gpio-controller: true
31 gpio-ranges:
34 interrupt-controller: true
40 '#interrupt-cells':
43 include/dt-bindings/interrupt-controller/irq.h
46 reset-gpios:
51 '-pins$':
56 $ref: /schemas/pinctrl/pincfg-node.yaml
64 pattern: "^gpio([0-9]|1[0-5])$"
75 bias-disable: true
76 bias-pull-down: true
77 bias-pull-up: true
78 drive-open-drain: true
79 drive-push-pull: true
80 input-enable: true
81 input-disable: true
82 output-high: true
83 output-low: true
86 - pins
87 - function
92 - compatible
93 - reg
94 - gpio-controller
95 - '#gpio-cells'
96 - gpio-ranges
101 # Example configuration to drive pins for a keyboard matrix
102 - |
103 #include <dt-bindings/gpio/gpio.h>
104 #include <dt-bindings/interrupt-controller/irq.h>
107 #address-cells = <1>;
108 #size-cells = <0>;
110 aw9523: gpio-expander@58 {
111 compatible = "awinic,aw9523-pinctrl";
113 interrupt-parent = <&tlmm>;
115 gpio-controller;
116 #gpio-cells = <2>;
117 gpio-ranges = <&tlmm 0 0 16>;
118 interrupt-controller;
119 #interrupt-cells = <2>;
120 reset-gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>;
122 keyboard-matrix-col-pins {
126 input-disable;
127 output-low;
130 keyboard-matrix-row-pins {
134 bias-pull-up;
135 drive-open-drain;
136 input-enable;