hideep.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. * HiDeep Finger and Stylus touchscreen controller
  2. Required properties:
  3. - compatible : must be "hideep,hideep-ts"
  4. - reg : I2C slave address, (e.g. 0x6C).
  5. - interrupts : Interrupt to which the chip is connected.
  6. Optional properties:
  7. - vdd-supply : It is the controller supply for controlling
  8. main voltage(3.3V) through the regulator.
  9. - vid-supply : It is the controller supply for controlling
  10. IO voltage(1.8V) through the regulator.
  11. - reset-gpios : Define for reset gpio pin.
  12. It is to use for reset IC.
  13. - touchscreen-size-x : X axis size of touchscreen
  14. - touchscreen-size-y : Y axis size of touchscreen
  15. - linux,keycodes : Specifies an array of numeric keycode values to
  16. be used for reporting button presses. The array can
  17. contain up to 3 entries.
  18. Example:
  19. #include "dt-bindings/input/input.h"
  20. i2c@00000000 {
  21. /* ... */
  22. touchscreen@6c {
  23. compatible = "hideep,hideep-ts";
  24. reg = <0x6c>;
  25. interrupt-parent = <&gpx1>;
  26. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  27. vdd-supply = <&ldo15_reg>;
  28. vid-supply = <&ldo18_reg>;
  29. reset-gpios = <&gpx1 5 0>;
  30. touchscreen-size-x = <1080>;
  31. touchscreen-size-y = <1920>;
  32. linux,keycodes = <KEY_HOME>, <KEY_MENU>, <KEY_BACK>;
  33. };
  34. };