blob: e75f0e549fff7cfe767786a83c57da5b5a4fe5b1 [file] [log] [blame]
Philipp Zabel408eb4f52014-03-05 10:20:54 +01001Freescale i.MX DRM master device
2================================
3
4The freescale i.MX DRM master device is a virtual device needed to list all
5IPU or other display interface nodes that comprise the graphics subsystem.
6
7Required properties:
8- compatible: Should be "fsl,imx-display-subsystem"
9- ports: Should contain a list of phandles pointing to display interface ports
10 of IPU devices
11
12example:
13
14display-subsystem {
15 compatible = "fsl,display-subsystem";
16 ports = <&ipu_di0>;
17};
18
19
Philipp Zabel2d62da82012-09-21 10:07:51 +020020Freescale i.MX IPUv3
21====================
22
23Required properties:
24- compatible: Should be "fsl,<chip>-ipu"
25- reg: should be register base and length as documented in the
26 datasheet
27- interrupts: Should contain sync interrupt and error interrupt,
28 in this order.
Philipp Zabel6c641552013-03-28 17:35:21 +010029- resets: phandle pointing to the system reset controller and
30 reset line index, see reset/fsl,imx-src.txt for details
Philipp Zabel408eb4f52014-03-05 10:20:54 +010031Optional properties:
32- port@[0-3]: Port nodes with endpoint definitions as defined in
33 Documentation/devicetree/bindings/media/video-interfaces.txt.
34 Ports 0 and 1 should correspond to CSI0 and CSI1,
35 ports 2 and 3 should correspond to DI0 and DI1, respectively.
Philipp Zabel2d62da82012-09-21 10:07:51 +020036
37example:
38
39ipu: ipu@18000000 {
Philipp Zabel408eb4f52014-03-05 10:20:54 +010040 #address-cells = <1>;
41 #size-cells = <0>;
Philipp Zabel2d62da82012-09-21 10:07:51 +020042 compatible = "fsl,imx53-ipu";
43 reg = <0x18000000 0x080000000>;
44 interrupts = <11 10>;
Philipp Zabel6c641552013-03-28 17:35:21 +010045 resets = <&src 2>;
Philipp Zabel408eb4f52014-03-05 10:20:54 +010046
47 ipu_di0: port@2 {
48 reg = <2>;
49
50 ipu_di0_disp0: endpoint {
51 remote-endpoint = <&display_in>;
52 };
53 };
Philipp Zabel2d62da82012-09-21 10:07:51 +020054};
55
56Parallel display support
57========================
58
59Required properties:
60- compatible: Should be "fsl,imx-parallel-display"
Philipp Zabel2d62da82012-09-21 10:07:51 +020061Optional properties:
62- interface_pix_fmt: How this display is connected to the
Philipp Zabel408eb4f52014-03-05 10:20:54 +010063 display interface. Currently supported types: "rgb24", "rgb565", "bgr666"
Emil Renner Berthing9e74d292014-03-29 13:57:44 +010064 and "lvds666".
Philipp Zabel2d62da82012-09-21 10:07:51 +020065- edid: verbatim EDID data block describing attached display.
66- ddc: phandle describing the i2c bus handling the display data
67 channel
Philipp Zabel408eb4f52014-03-05 10:20:54 +010068- port: A port node with endpoint definitions as defined in
69 Documentation/devicetree/bindings/media/video-interfaces.txt.
Philipp Zabel2d62da82012-09-21 10:07:51 +020070
71example:
72
73display@di0 {
74 compatible = "fsl,imx-parallel-display";
75 edid = [edid-data];
Philipp Zabel2d62da82012-09-21 10:07:51 +020076 interface-pix-fmt = "rgb24";
Philipp Zabel408eb4f52014-03-05 10:20:54 +010077
78 port {
79 display_in: endpoint {
80 remote-endpoint = <&ipu_di0_disp0>;
81 };
82 };
Philipp Zabel2d62da82012-09-21 10:07:51 +020083};