About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / drm / imx / fsl-imx-drm.txt


Based on kernel version 4.3. Page generated on 2015-11-02 12:45 EST.

1	Freescale i.MX DRM master device
2	================================
3	
4	The freescale i.MX DRM master device is a virtual device needed to list all
5	IPU or other display interface nodes that comprise the graphics subsystem.
6	
7	Required 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	
12	example:
13	
14	display-subsystem {
15		compatible = "fsl,display-subsystem";
16		ports = <&ipu_di0>;
17	};
18	
19	
20	Freescale i.MX IPUv3
21	====================
22	
23	Required 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.
29	- resets: phandle pointing to the system reset controller and
30	          reset line index, see reset/fsl,imx-src.txt for details
31	Optional 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.
36	
37	example:
38	
39	ipu: ipu@18000000 {
40		#address-cells = <1>;
41		#size-cells = <0>;
42		compatible = "fsl,imx53-ipu";
43		reg = <0x18000000 0x080000000>;
44		interrupts = <11 10>;
45		resets = <&src 2>;
46	
47		ipu_di0: port@2 {
48			reg = <2>;
49	
50			ipu_di0_disp0: endpoint {
51				remote-endpoint = <&display_in>;
52			};
53		};
54	};
55	
56	Parallel display support
57	========================
58	
59	Required properties:
60	- compatible: Should be "fsl,imx-parallel-display"
61	Optional properties:
62	- interface_pix_fmt: How this display is connected to the
63	  display interface. Currently supported types: "rgb24", "rgb565", "bgr666"
64	  and "lvds666".
65	- edid: verbatim EDID data block describing attached display.
66	- ddc: phandle describing the i2c bus handling the display data
67	  channel
68	- port@[0-1]: Port nodes with endpoint definitions as defined in
69	  Documentation/devicetree/bindings/media/video-interfaces.txt.
70	  Port 0 is the input port connected to the IPU display interface,
71	  port 1 is the output port connected to a panel.
72	
73	example:
74	
75	display@di0 {
76		compatible = "fsl,imx-parallel-display";
77		edid = [edid-data];
78		interface-pix-fmt = "rgb24";
79	
80		port@0 {
81			reg = <0>;
82	
83			display_in: endpoint {
84				remote-endpoint = <&ipu_di0_disp0>;
85			};
86		};
87	
88		port@1 {
89			reg = <1>;
90	
91			display_out: endpoint {
92				remote-endpoint = <&panel_in>;
93			};
94		};
95	};
96	
97	panel {
98		...
99	
100		port {
101			panel_in: endpoint {
102				remote-endpoint = <&display_out>;
103			};
104		};
105	};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog