Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / drm / imx / hdmi.txt
blob1b756cf9afb052834cd64f55dde0d280b394d030
1 Device-Tree bindings for HDMI Transmitter
3 HDMI Transmitter
4 ================
6 The HDMI Transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP
7 with accompanying PHY IP.
9 Required 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.
23 Optional properties:
24  - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
26 example:
28         gpr: iomuxc-gpr@020e0000 {
29                 /* ... */
30         };
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>;
43                 port@0 {
44                         reg = <0>;
46                         hdmi_mux_0: endpoint {
47                                 remote-endpoint = <&ipu1_di0_hdmi>;
48                         };
49                 };
51                 port@1 {
52                         reg = <1>;
54                         hdmi_mux_1: endpoint {
55                                 remote-endpoint = <&ipu1_di1_hdmi>;
56                         };
57                 };
58         };