panel-dpi.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Generic MIPI DPI Panel
  7. maintainers:
  8. - Sam Ravnborg <sam@ravnborg.org>
  9. allOf:
  10. - $ref: panel-common.yaml#
  11. properties:
  12. compatible:
  13. description:
  14. Shall contain a panel specific compatible and "panel-dpi"
  15. in that order.
  16. items:
  17. - {}
  18. - const: panel-dpi
  19. backlight: true
  20. enable-gpios: true
  21. height-mm: true
  22. label: true
  23. panel-timing: true
  24. port: true
  25. power-supply: true
  26. reset-gpios: true
  27. width-mm: true
  28. required:
  29. - panel-timing
  30. - power-supply
  31. additionalProperties: false
  32. examples:
  33. - |
  34. panel {
  35. compatible = "startek,startek-kd050c", "panel-dpi";
  36. label = "osddisplay";
  37. power-supply = <&vcc_supply>;
  38. backlight = <&backlight>;
  39. port {
  40. lcd_in: endpoint {
  41. remote-endpoint = <&dpi_out>;
  42. };
  43. };
  44. panel-timing {
  45. clock-frequency = <9200000>;
  46. hactive = <800>;
  47. vactive = <480>;
  48. hfront-porch = <8>;
  49. hback-porch = <4>;
  50. hsync-len = <41>;
  51. vback-porch = <2>;
  52. vfront-porch = <4>;
  53. vsync-len = <10>;
  54. hsync-active = <0>;
  55. vsync-active = <0>;
  56. de-active = <1>;
  57. pixelclk-active = <1>;
  58. };
  59. };
  60. ...