Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / Documentation / devicetree / bindings / display / bridge / renesas,dw-hdmi.txt
blob3a72a103a18a8c40d1f09957123d6240d5685c8f
1 Renesas Gen3 DWC HDMI TX Encoder
2 ================================
4 The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP
5 with a companion PHY IP.
7 These DT bindings follow the Synopsys DWC HDMI TX bindings defined in
8 Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the
9 following device-specific properties.
12 Required properties:
14 - compatible : Shall contain one or more of
15   - "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX
16   - "renesas,r8a7796-hdmi" for R8A7796 (R-Car M3-W) compatible HDMI TX
17   - "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 compatible HDMI TX
19     When compatible with generic versions, nodes must list the SoC-specific
20     version corresponding to the platform first, followed by the
21     family-specific version.
23 - reg: See dw_hdmi.txt.
24 - interrupts: HDMI interrupt number
25 - clocks: See dw_hdmi.txt.
26 - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt.
27 - ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0
28   corresponding to the video input of the controller and one port numbered 1
29   corresponding to its HDMI output, and one port numbered 2 corresponding to
30   sound input of the controller. Each port shall have a single endpoint.
32 Optional properties:
34 - power-domains: Shall reference the power domain that contains the DWC HDMI,
35   if any.
38 Example:
40         hdmi0: hdmi@fead0000 {
41                 compatible = "renesas,r8a7795-dw-hdmi";
42                 reg = <0 0xfead0000 0 0x10000>;
43                 interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>;
44                 clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>;
45                 clock-names = "iahb", "isfr";
46                 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
48                 ports {
49                         #address-cells = <1>;
50                         #size-cells = <0>;
51                         port@0 {
52                                 reg = <0>;
53                                 dw_hdmi0_in: endpoint {
54                                         remote-endpoint = <&du_out_hdmi0>;
55                                 };
56                         };
57                         port@1 {
58                                 reg = <1>;
59                                 rcar_dw_hdmi0_out: endpoint {
60                                         remote-endpoint = <&hdmi0_con>;
61                                 };
62                         };
63                         port@2 {
64                                 reg = <2>;
65                                 rcar_dw_hdmi0_sound_in: endpoint {
66                                         remote-endpoint = <&hdmi_sound_out>;
67                                 };
68                         };
69                 };
70         };
72         hdmi0-out {
73                 compatible = "hdmi-connector";
74                 label = "HDMI0 OUT";
75                 type = "a";
77                 port {
78                         hdmi0_con: endpoint {
79                                 remote-endpoint = <&rcar_dw_hdmi0_out>;
80                         };
81                 };
82         };