samsung,ld9040.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus
  2. Required properties:
  3. - compatible: "samsung,ld9040"
  4. - reg: address of the panel on SPI bus
  5. - vdd3-supply: core voltage supply
  6. - vci-supply: voltage supply for analog circuits
  7. - reset-gpios: a GPIO spec for the reset pin
  8. - display-timings: timings for the connected panel according to [1]
  9. The panel must obey rules for SPI slave device specified in document [2].
  10. Optional properties:
  11. - power-on-delay: delay after turning regulators on [ms]
  12. - reset-delay: delay after reset sequence [ms]
  13. - panel-width-mm: physical panel width [mm]
  14. - panel-height-mm: physical panel height [mm]
  15. The device node can contain one 'port' child node with one child
  16. 'endpoint' node, according to the bindings defined in [3]. This
  17. node should describe panel's video bus.
  18. [1]: Documentation/devicetree/bindings/video/display-timing.txt
  19. [2]: Documentation/devicetree/bindings/spi/spi-bus.txt
  20. [3]: Documentation/devicetree/bindings/media/video-interfaces.txt
  21. Example:
  22. lcd@0 {
  23. compatible = "samsung,ld9040";
  24. reg = <0>;
  25. vdd3-supply = <&ldo7_reg>;
  26. vci-supply = <&ldo17_reg>;
  27. reset-gpios = <&gpy4 5 0>;
  28. spi-max-frequency = <1200000>;
  29. spi-cpol;
  30. spi-cpha;
  31. power-on-delay = <10>;
  32. reset-delay = <10>;
  33. panel-width-mm = <90>;
  34. panel-height-mm = <154>;
  35. display-timings {
  36. timing {
  37. clock-frequency = <23492370>;
  38. hactive = <480>;
  39. vactive = <800>;
  40. hback-porch = <16>;
  41. hfront-porch = <16>;
  42. vback-porch = <2>;
  43. vfront-porch = <28>;
  44. hsync-len = <2>;
  45. vsync-len = <1>;
  46. hsync-active = <0>;
  47. vsync-active = <0>;
  48. de-active = <0>;
  49. pixelclk-active = <0>;
  50. };
  51. };
  52. port {
  53. lcd_ep: endpoint {
  54. remote-endpoint = <&fimd_dpi_ep>;
  55. };
  56. };
  57. };