162306a36Sopenharmony_ci* HiDeep Finger and Stylus touchscreen controller 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci- compatible : must be "hideep,hideep-ts" 562306a36Sopenharmony_ci- reg : I2C slave address, (e.g. 0x6C). 662306a36Sopenharmony_ci- interrupts : Interrupt to which the chip is connected. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciOptional properties: 962306a36Sopenharmony_ci- vdd-supply : It is the controller supply for controlling 1062306a36Sopenharmony_ci main voltage(3.3V) through the regulator. 1162306a36Sopenharmony_ci- vid-supply : It is the controller supply for controlling 1262306a36Sopenharmony_ci IO voltage(1.8V) through the regulator. 1362306a36Sopenharmony_ci- reset-gpios : Define for reset gpio pin. 1462306a36Sopenharmony_ci It is to use for reset IC. 1562306a36Sopenharmony_ci- touchscreen-size-x : X axis size of touchscreen 1662306a36Sopenharmony_ci- touchscreen-size-y : Y axis size of touchscreen 1762306a36Sopenharmony_ci- linux,keycodes : Specifies an array of numeric keycode values to 1862306a36Sopenharmony_ci be used for reporting button presses. The array can 1962306a36Sopenharmony_ci contain up to 3 entries. 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciExample: 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci#include "dt-bindings/input/input.h" 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_cii2c@00000000 { 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci /* ... */ 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci touchscreen@6c { 3062306a36Sopenharmony_ci compatible = "hideep,hideep-ts"; 3162306a36Sopenharmony_ci reg = <0x6c>; 3262306a36Sopenharmony_ci interrupt-parent = <&gpx1>; 3362306a36Sopenharmony_ci interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 3462306a36Sopenharmony_ci vdd-supply = <&ldo15_reg>; 3562306a36Sopenharmony_ci vid-supply = <&ldo18_reg>; 3662306a36Sopenharmony_ci reset-gpios = <&gpx1 5 0>; 3762306a36Sopenharmony_ci touchscreen-size-x = <1080>; 3862306a36Sopenharmony_ci touchscreen-size-y = <1920>; 3962306a36Sopenharmony_ci linux,keycodes = <KEY_HOME>, <KEY_MENU>, <KEY_BACK>; 4062306a36Sopenharmony_ci }; 4162306a36Sopenharmony_ci}; 42