1Device-Tree bindings for HDMI Transmitter
2
3HDMI Transmitter
4================
5
6The HDMI Transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP
7with accompanying PHY IP.
8
9Required properties:
10 - #address-cells : should be <1>
11 - #size-cells : should be <0>
12 - compatible : should be "fsl,imx6q-hdmi" or "fsl,imx6dl-hdmi".
13 - gpr : should be <&gpr>.
14   The phandle points to the iomuxc-gpr region containing the HDMI
15   multiplexer control register.
16 - clocks, clock-names : phandles to the HDMI iahb and isrf clocks, as described
17   in Documentation/devicetree/bindings/clock/clock-bindings.txt and
18   Documentation/devicetree/bindings/clock/imx6q-clock.txt.
19 - port@[0-4]: Up to four port nodes with endpoint definitions as defined in
20   Documentation/devicetree/bindings/media/video-interfaces.txt,
21   corresponding to the four inputs to the HDMI multiplexer.
22
23Optional properties:
24 - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
25
26example:
27
28	gpr: iomuxc-gpr@020e0000 {
29		/* ... */
30	};
31
32        hdmi: hdmi@0120000 {
33                #address-cells = <1>;
34                #size-cells = <0>;
35                compatible = "fsl,imx6q-hdmi";
36                reg = <0x00120000 0x9000>;
37                interrupts = <0 115 0x04>;
38                gpr = <&gpr>;
39                clocks = <&clks 123>, <&clks 124>;
40                clock-names = "iahb", "isfr";
41                ddc-i2c-bus = <&i2c2>;
42
43                port@0 {
44                        reg = <0>;
45
46                        hdmi_mux_0: endpoint {
47                                remote-endpoint = <&ipu1_di0_hdmi>;
48                        };
49                };
50
51                port@1 {
52                        reg = <1>;
53
54                        hdmi_mux_1: endpoint {
55                                remote-endpoint = <&ipu1_di1_hdmi>;
56                        };
57                };
58        };
59