sitronix,st7789v.txt 970 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Sitronix ST7789V RGB panel with SPI control bus
  2. Required properties:
  3. - compatible: "sitronix,st7789v"
  4. - reg: Chip select of the panel on the SPI bus
  5. - reset-gpios: a GPIO phandle for the reset pin
  6. - power-supply: phandle of the regulator that provides the supply voltage
  7. Optional properties:
  8. - backlight: phandle to the backlight used
  9. The generic bindings for the SPI slaves documented in [1] also applies
  10. The device node can contain one 'port' child node with one child
  11. 'endpoint' node, according to the bindings defined in [2]. This
  12. node should describe panel's video bus.
  13. [1]: Documentation/devicetree/bindings/spi/spi-bus.txt
  14. [2]: Documentation/devicetree/bindings/graph.txt
  15. Example:
  16. panel@0 {
  17. compatible = "sitronix,st7789v";
  18. reg = <0>;
  19. reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>;
  20. backlight = <&pwm_bl>;
  21. spi-max-frequency = <100000>;
  22. spi-cpol;
  23. spi-cpha;
  24. port {
  25. panel_input: endpoint {
  26. remote-endpoint = <&tcon0_out_panel>;
  27. };
  28. };
  29. };