Lines Matching +full:touchscreen +full:- +full:max +full:- +full:pressure
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/adi,ad7879.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7879(-1)/AD7889(-1) touchscreen interface (SPI/I2C)
10 - Frank Li <Frank.Li@nxp.com>
16 for I2C slave, use "adi,ad7879-1"
18 - adi,ad7879
19 - adi,ad7879-1
27 touchscreen-max-pressure:
29 description: maximum reported pressure
31 adi,resistance-plate-x:
33 description: total resistance of X-plate (for pressure calculation)
35 touchscreen-swapped-x-y:
39 adi,first-conversion-delay:
45 0-12: In 128us steps (starting with 128us)
51 adi,acquisition-time:
62 adi,median-filter-size:
84 adi,conversion-interval:
89 1-255: 515us + val * 35us (up to 9.440ms)
92 gpio-controller: true
94 "#gpio-cells":
98 - compatible
99 - reg
102 - $ref: /schemas/spi/spi-peripheral-props.yaml
107 - |
108 #include <dt-bindings/interrupt-controller/irq.h>
110 #address-cells = <1>;
111 #size-cells = <0>;
114 compatible = "adi,ad7879-1";
116 interrupt-parent = <&gpio1>;
118 touchscreen-max-pressure = <4096>;
119 adi,resistance-plate-x = <120>;
120 adi,first-conversion-delay = /bits/ 8 <3>;
121 adi,acquisition-time = /bits/ 8 <1>;
122 adi,median-filter-size = /bits/ 8 <2>;
124 adi,conversion-interval = /bits/ 8 <255>;
128 - |
129 #include <dt-bindings/interrupt-controller/irq.h>
131 #address-cells = <1>;
132 #size-cells = <0>;
137 spi-max-frequency = <5000000>;
138 gpio-controller;
139 #gpio-cells = <1>;
140 interrupt-parent = <&gpio1>;
142 touchscreen-max-pressure = <4096>;
143 adi,resistance-plate-x = <120>;
144 adi,first-conversion-delay = /bits/ 8 <3>;
145 adi,acquisition-time = /bits/ 8 <1>;
146 adi,median-filter-size = /bits/ 8 <2>;
148 adi,conversion-interval = /bits/ 8 <255>;