Philipp Zabel | 408eb4f5 | 2014-03-05 10:20:54 +0100 | [diff] [blame] | 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 | |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 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. |
Philipp Zabel | 6c64155 | 2013-03-28 17:35:21 +0100 | [diff] [blame] | 29 | - resets: phandle pointing to the system reset controller and |
| 30 | reset line index, see reset/fsl,imx-src.txt for details |
Philipp Zabel | 408eb4f5 | 2014-03-05 10:20:54 +0100 | [diff] [blame] | 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. |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 36 | |
| 37 | example: |
| 38 | |
| 39 | ipu: ipu@18000000 { |
Philipp Zabel | 408eb4f5 | 2014-03-05 10:20:54 +0100 | [diff] [blame] | 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 42 | compatible = "fsl,imx53-ipu"; |
| 43 | reg = <0x18000000 0x080000000>; |
| 44 | interrupts = <11 10>; |
Philipp Zabel | 6c64155 | 2013-03-28 17:35:21 +0100 | [diff] [blame] | 45 | resets = <&src 2>; |
Philipp Zabel | 408eb4f5 | 2014-03-05 10:20:54 +0100 | [diff] [blame] | 46 | |
| 47 | ipu_di0: port@2 { |
| 48 | reg = <2>; |
| 49 | |
| 50 | ipu_di0_disp0: endpoint { |
| 51 | remote-endpoint = <&display_in>; |
| 52 | }; |
| 53 | }; |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | Parallel display support |
| 57 | ======================== |
| 58 | |
| 59 | Required properties: |
| 60 | - compatible: Should be "fsl,imx-parallel-display" |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 61 | Optional properties: |
| 62 | - interface_pix_fmt: How this display is connected to the |
Philipp Zabel | 408eb4f5 | 2014-03-05 10:20:54 +0100 | [diff] [blame] | 63 | display interface. Currently supported types: "rgb24", "rgb565", "bgr666" |
Emil Renner Berthing | 9e74d29 | 2014-03-29 13:57:44 +0100 | [diff] [blame] | 64 | and "lvds666". |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 65 | - edid: verbatim EDID data block describing attached display. |
| 66 | - ddc: phandle describing the i2c bus handling the display data |
| 67 | channel |
Philipp Zabel | 408eb4f5 | 2014-03-05 10:20:54 +0100 | [diff] [blame] | 68 | - port: A port node with endpoint definitions as defined in |
| 69 | Documentation/devicetree/bindings/media/video-interfaces.txt. |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 70 | |
| 71 | example: |
| 72 | |
| 73 | display@di0 { |
| 74 | compatible = "fsl,imx-parallel-display"; |
| 75 | edid = [edid-data]; |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 76 | interface-pix-fmt = "rgb24"; |
Philipp Zabel | 408eb4f5 | 2014-03-05 10:20:54 +0100 | [diff] [blame] | 77 | |
| 78 | port { |
| 79 | display_in: endpoint { |
| 80 | remote-endpoint = <&ipu_di0_disp0>; |
| 81 | }; |
| 82 | }; |
Philipp Zabel | 2d62da8 | 2012-09-21 10:07:51 +0200 | [diff] [blame] | 83 | }; |