Lines Matching +full:rmi4 +full:- +full:i2c
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/input/syna,rmi4.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synaptics RMI4 compliant devices
10 - Jason A. Donenfeld <Jason@zx2c4.com>
11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com
12 - Vincent Huang <vincent.huang@tw.synaptics.com>
15 The Synaptics RMI4 (Register Mapped Interface 4) core is able to support RMI4
16 devices using different transports (I2C, SPI) and different functions (e.g.
22 - syna,rmi4-i2c
23 - syna,rmi4-spi
28 '#address-cells':
31 '#size-cells':
37 reset-gpios:
41 spi-cpha: true
42 spi-cpol: true
44 syna,reset-delay-ms:
48 syna,startup-delay-ms:
52 vdd-supply: true
53 vio-supply: true
55 rmi4-f01@1:
65 syna,nosleep-mode:
74 syna,wakeup-threshold:
80 syna,doze-holdoff-ms:
85 syna,doze-interval-ms:
90 - reg
93 "^rmi4-f1[12]@1[12]$":
98 RMI4 Function 11 and Function 12 are for 2D touch position sensing.
104 syna,clip-x-low:
109 syna,clip-y-low:
114 syna,clip-x-high:
119 syna,clip-y-high:
124 syna,offset-x:
129 syna,offset-y:
134 syna,delta-x-threshold:
140 syna,delta-y-threshold:
146 syna,sensor-type:
152 syna,disable-report-mask:
158 syna,rezero-wait-ms:
163 - reg
165 "^rmi4-f[0-9a-f]+@[0-9a-f]+$":
177 - reg
180 - compatible
181 - reg
186 - $ref: /schemas/spi/spi-peripheral-props.yaml#
188 - if:
192 const: syna,rmi4-i2c
195 spi-rx-delay-us: false
196 spi-tx-delay-us: false
199 syna,reset-delay-ms: false
200 syna,startup-delay-ms: false
203 - |
204 #include <dt-bindings/interrupt-controller/irq.h>
206 i2c {
207 #address-cells = <1>;
208 #size-cells = <0>;
211 compatible = "syna,rmi4-i2c";
213 interrupt-parent = <&gpx1>;
216 syna,startup-delay-ms = <100>;
217 vdd-supply = <&tsp_vdd>;
218 vio-supply = <&ldo32_reg>;
220 pinctrl-0 = <&touch_irq>;
221 pinctrl-names = "default";
222 #address-cells = <1>;
223 #size-cells = <0>;
225 rmi4-f01@1 {
227 syna,nosleep-mode = <1>;
230 rmi4-f12@12 {
232 syna,sensor-type = <1>;
235 rmi4-f1a@1a {
241 - |
242 #include <dt-bindings/interrupt-controller/irq.h>
245 #address-cells = <1>;
246 #size-cells = <0>;
249 compatible = "syna,rmi4-spi";
251 interrupt-parent = <&gpx1>;
254 spi-max-frequency = <4000000>;
255 spi-rx-delay-us = <30>;
256 spi-cpha;
257 spi-cpol;
259 #address-cells = <1>;
260 #size-cells = <0>;
262 rmi4-f01@1 {
264 syna,nosleep-mode = <1>;
267 rmi4-f11@11 {
269 touchscreen-inverted-y;
270 syna,sensor-type = <2>;