1 * HiDeep Finger and Stylus touchscreen control 2 3 Required properties: 4 - compatible : must be "hideep,hide 5 - reg : I2C slave address, ( 6 - interrupts : Interrupt to which the chip is 7 8 Optional properties: 9 - vdd-supply : It is the controller supply 10 main 11 - vid-supply : It is the controller supply 12 IO vol 13 - reset-gpios : Define for reset gpio pin. 14 15 - touchscreen-size-x : X axis size of touch 16 - touchscreen-size-y : Y axis size of touch 17 - linux,keycodes : Specifies an array o 18 be used for reporting 19 contain up to 3 entrie 20 21 Example: 22 23 #include "dt-bindings/input/input.h" 24 25 i2c@00000000 { 26 27 /* ... */ 28 29 touchscreen@6c { 30 compatible = "hideep,hideep-ts 31 reg = <0x6c>; 32 interrupt-parent = <&gpx1>; 33 interrupts = <2 IRQ_TYPE_LEVEL 34 vdd-supply = <&ldo15_reg>; 35 vid-supply = <&ldo18_reg>; 36 reset-gpios = <&gpx1 5 0>; 37 touchscreen-size-x = <1080>; 38 touchscreen-size-y = <1920>; 39 linux,keycodes = <KEY_HOME>, < 40 }; 41 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.