1*4882a593SmuzhiyunSynaptics RMI4 I2C Device Binding 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe Synaptics RMI4 core is able to support RMI4 devices using different 4*4882a593Smuzhiyuntransports and different functions. This file describes the device tree 5*4882a593Smuzhiyunbindings for devices using the I2C transport driver. Complete documentation 6*4882a593Smuzhiyunfor other transports and functions can be found in 7*4882a593SmuzhiyunDocumentation/devicetree/bindings/input/rmi4. 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunRequired Properties: 10*4882a593Smuzhiyun- compatible: syna,rmi4-i2c 11*4882a593Smuzhiyun- reg: I2C address 12*4882a593Smuzhiyun- #address-cells: Set to 1 to indicate that the function child nodes 13*4882a593Smuzhiyun consist of only on uint32 value. 14*4882a593Smuzhiyun- #size-cells: Set to 0 to indicate that the function child nodes do not 15*4882a593Smuzhiyun have a size property. 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunOptional Properties: 18*4882a593Smuzhiyun- interrupts: interrupt which the rmi device is connected to. 19*4882a593SmuzhiyunSee Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun- syna,reset-delay-ms: The number of milliseconds to wait after resetting the 22*4882a593Smuzhiyun device. 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun- syna,startup-delay-ms: The number of milliseconds to wait after powering on 25*4882a593Smuzhiyun the device. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun- vdd-supply: VDD power supply. 28*4882a593SmuzhiyunSee ../regulator/regulator.txt 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun- vio-supply: VIO power supply 31*4882a593SmuzhiyunSee ../regulator/regulator.txt 32*4882a593Smuzhiyun 33*4882a593SmuzhiyunFunction Parameters: 34*4882a593SmuzhiyunParameters specific to RMI functions are contained in child nodes of the rmi device 35*4882a593Smuzhiyun node. Documentation for the parameters of each function can be found in: 36*4882a593SmuzhiyunDocumentation/devicetree/bindings/input/rmi4/rmi_f*.txt. 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun 40*4882a593SmuzhiyunExample: 41*4882a593Smuzhiyun &i2c1 { 42*4882a593Smuzhiyun rmi4-i2c-dev@2c { 43*4882a593Smuzhiyun compatible = "syna,rmi4-i2c"; 44*4882a593Smuzhiyun reg = <0x2c>; 45*4882a593Smuzhiyun #address-cells = <1>; 46*4882a593Smuzhiyun #size-cells = <0>; 47*4882a593Smuzhiyun interrupt-parent = <&gpio>; 48*4882a593Smuzhiyun interrupts = <4 2>; 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun rmi4-f01@1 { 51*4882a593Smuzhiyun reg = <0x1>; 52*4882a593Smuzhiyun syna,nosleep-mode = <1>; 53*4882a593Smuzhiyun }; 54*4882a593Smuzhiyun 55*4882a593Smuzhiyun rmi4-f11@11 { 56*4882a593Smuzhiyun reg = <0x11>; 57*4882a593Smuzhiyun touchscreen-inverted-y; 58*4882a593Smuzhiyun syna,sensor-type = <2>; 59*4882a593Smuzhiyun }; 60*4882a593Smuzhiyun }; 61*4882a593Smuzhiyun }; 62