Lines Matching +full:io +full:- +full:expander

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics Port Expander (STMPE)
9 description: STMicroelectronics Port Expander (STMPE) is a series of slow
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - st,stmpe601
24 - st,stmpe801
25 - st,stmpe811
26 - st,stmpe1600
27 - st,stmpe1601
28 - st,stmpe2401
29 - st,stmpe2403
37 vcc-supply: true
39 vio-supply: true
41 reset-gpios:
44 wakeup-source: true
46 st,autosleep-timeout:
51 st,sample-time:
60 4 = 80 clock ticks - recommended
64 st,mod-12b:
69 st,ref-sel:
74 st,adc-freq:
85 $ref: /schemas/iio/adc/st,stmpe-adc.yaml#
89 $ref: /schemas/gpio/st,stmpe-gpio.yaml#
91 keyboard-controller:
93 $ref: /schemas/input/matrix-keymap.yaml#
99 const: st,stmpe-keypad
101 debounce-interval:
105 st,no-autorepeat:
109 st,scan-count:
114 - compatible
115 - linux,keymap
125 const: st,stmpe-pwm
127 "#pwm-cells":
138 const: st,stmpe-ts
140 st,ave-ctrl:
150 st,touch-det-delay:
158 3 = 500 us - recommended
171 2 = 500 us - recommended
178 st,fraction-z:
182 (fraction-z ([0..7]) = Count of the fractional part)
184 st,i-drive:
193 - compatible
198 - compatible
199 - reg
200 - interrupts
203 - |
204 #include <dt-bindings/gpio/gpio.h>
205 #include <dt-bindings/interrupt-controller/irq.h>
206 #include <dt-bindings/input/input.h>
208 #address-cells = <1>;
209 #size-cells = <0>;
211 port-expander@43 {
214 reset-gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
216 interrupt-parent = <&gpio>;
217 vcc-supply = <&db8500_vsmps2_reg>;
218 vio-supply = <&db8500_vsmps2_reg>;
219 wakeup-source;
220 st,autosleep-timeout = <1024>;
223 compatible = "st,stmpe-gpio";
224 gpio-controller;
225 #gpio-cells = <2>;
226 interrupt-controller;
227 #interrupt-cells = <2>;
228 st,norequest-mask = <0xf0f002>;
231 keyboard-controller {
232 compatible = "st,stmpe-keypad";
233 debounce-interval = <64>;
234 st,scan-count = <8>;
235 st,no-autorepeat;
236 keypad,num-rows = <8>;
237 keypad,num-columns = <8>;
253 compatible = "st,stmpe-pwm";
254 #pwm-cells = <2>;
258 port-expander@41 {
262 interrupt-parent = <&gpio>;
263 st,adc-freq = <1>;
264 st,mod-12b = <1>;
265 st,ref-sel = <0>;
266 st,sample-time = <4>;
269 compatible = "st,stmpe-adc";
270 st,norequest-mask = <0x0f>;
271 #io-channel-cells = <1>;
275 compatible = "st,stmpe-gpio";
276 gpio-controller;
277 #gpio-cells = <2>;
278 interrupt-controller;
279 #interrupt-cells = <2>;
283 compatible = "st,stmpe-pwm";
284 #pwm-cells = <2>;
288 compatible = "st,stmpe-ts";
289 st,ave-ctrl = <3>;
290 st,touch-det-delay = <5>;
292 st,fraction-z = <7>;
293 st,i-drive = <1>;