sitronix,st7567.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/sitronix,st7567.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Sitronix ST7567 Display Controller
  7. maintainers:
  8. - Javier Martinez Canillas <javierm@redhat.com>
  9. description:
  10. Sitronix ST7567 is a driver and controller for monochrome
  11. dot matrix LCD panels.
  12. allOf:
  13. - $ref: panel/panel-common.yaml#
  14. properties:
  15. compatible:
  16. const: sitronix,st7567
  17. reg:
  18. maxItems: 1
  19. sitronix,inverted:
  20. type: boolean
  21. description:
  22. Display pixels are inverted, i.e. 0 is white and 1 is black.
  23. width-mm: true
  24. height-mm: true
  25. panel-timing: true
  26. required:
  27. - compatible
  28. - reg
  29. - width-mm
  30. - height-mm
  31. - panel-timing
  32. additionalProperties: false
  33. examples:
  34. - |
  35. i2c {
  36. #address-cells = <1>;
  37. #size-cells = <0>;
  38. display@3f {
  39. compatible = "sitronix,st7567";
  40. reg = <0x3f>;
  41. width-mm = <37>;
  42. height-mm = <27>;
  43. panel-timing {
  44. hactive = <128>;
  45. vactive = <64>;
  46. hback-porch = <0>;
  47. vback-porch = <0>;
  48. clock-frequency = <0>;
  49. hfront-porch = <0>;
  50. hsync-len = <0>;
  51. vfront-porch = <0>;
  52. vsync-len = <0>;
  53. };
  54. };
  55. };