fsl-imx-drm.txt 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Freescale i.MX DRM master device
  2. ================================
  3. The freescale i.MX DRM master device is a virtual device needed to list all
  4. IPU or other display interface nodes that comprise the graphics subsystem.
  5. Required properties:
  6. - compatible: Should be "fsl,imx-display-subsystem"
  7. - ports: Should contain a list of phandles pointing to display interface ports
  8. of IPU devices
  9. example:
  10. display-subsystem {
  11. compatible = "fsl,display-subsystem";
  12. ports = <&ipu_di0>;
  13. };
  14. Freescale i.MX IPUv3
  15. ====================
  16. Required properties:
  17. - compatible: Should be "fsl,<chip>-ipu"
  18. - reg: should be register base and length as documented in the
  19. datasheet
  20. - interrupts: Should contain sync interrupt and error interrupt,
  21. in this order.
  22. - resets: phandle pointing to the system reset controller and
  23. reset line index, see reset/fsl,imx-src.txt for details
  24. Optional properties:
  25. - port@[0-3]: Port nodes with endpoint definitions as defined in
  26. Documentation/devicetree/bindings/media/video-interfaces.txt.
  27. Ports 0 and 1 should correspond to CSI0 and CSI1,
  28. ports 2 and 3 should correspond to DI0 and DI1, respectively.
  29. example:
  30. ipu: ipu@18000000 {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. compatible = "fsl,imx53-ipu";
  34. reg = <0x18000000 0x080000000>;
  35. interrupts = <11 10>;
  36. resets = <&src 2>;
  37. ipu_di0: port@2 {
  38. reg = <2>;
  39. ipu_di0_disp0: endpoint {
  40. remote-endpoint = <&display_in>;
  41. };
  42. };
  43. };
  44. Parallel display support
  45. ========================
  46. Required properties:
  47. - compatible: Should be "fsl,imx-parallel-display"
  48. Optional properties:
  49. - interface_pix_fmt: How this display is connected to the
  50. display interface. Currently supported types: "rgb24", "rgb565", "bgr666"
  51. and "lvds666".
  52. - edid: verbatim EDID data block describing attached display.
  53. - ddc: phandle describing the i2c bus handling the display data
  54. channel
  55. - port@[0-1]: Port nodes with endpoint definitions as defined in
  56. Documentation/devicetree/bindings/media/video-interfaces.txt.
  57. Port 0 is the input port connected to the IPU display interface,
  58. port 1 is the output port connected to a panel.
  59. example:
  60. display@di0 {
  61. compatible = "fsl,imx-parallel-display";
  62. edid = [edid-data];
  63. interface-pix-fmt = "rgb24";
  64. port@0 {
  65. reg = <0>;
  66. display_in: endpoint {
  67. remote-endpoint = <&ipu_di0_disp0>;
  68. };
  69. };
  70. port@1 {
  71. reg = <1>;
  72. display_out: endpoint {
  73. remote-endpoint = <&panel_in>;
  74. };
  75. };
  76. };
  77. panel {
  78. ...
  79. port {
  80. panel_in: endpoint {
  81. remote-endpoint = <&display_out>;
  82. };
  83. };
  84. };