sitronix,st1232.yaml 950 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/input/touchscreen/sitronix,st1232.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Sitronix st1232 or st1633 touchscreen controller
  7. maintainers:
  8. - Bastian Hecht <hechtb@gmail.com>
  9. allOf:
  10. - $ref: touchscreen.yaml#
  11. properties:
  12. compatible:
  13. enum:
  14. - sitronix,st1232
  15. - sitronix,st1633
  16. reg:
  17. maxItems: 1
  18. interrupts:
  19. maxItems: 1
  20. gpios:
  21. description: A phandle to the reset GPIO
  22. maxItems: 1
  23. required:
  24. - compatible
  25. - reg
  26. - interrupts
  27. unevaluatedProperties: false
  28. examples:
  29. - |
  30. i2c {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. touchscreen@55 {
  34. compatible = "sitronix,st1232";
  35. reg = <0x55>;
  36. interrupts = <2 0>;
  37. gpios = <&gpio1 166 0>;
  38. };
  39. };