xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/renesas,dw-hdmi.txt (revision 5f4c09dd85bff675e0ca63c55ea3c517e0fddfcc)
1Renesas Gen3 DWC HDMI TX Encoder
2================================
3
4The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP
5with a companion PHY IP.
6
7These DT bindings follow the Synopsys DWC HDMI TX bindings defined in
8Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt with the
9following device-specific properties.
10
11
12Required properties:
13
14- compatible : Shall contain one or more of
15  - "renesas,r8a774a1-hdmi" for R8A774A1 (RZ/G2M) compatible HDMI TX
16  - "renesas,r8a774b1-hdmi" for R8A774B1 (RZ/G2N) compatible HDMI TX
17  - "renesas,r8a774e1-hdmi" for R8A774E1 (RZ/G2H) compatible HDMI TX
18  - "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX
19  - "renesas,r8a7796-hdmi" for R8A7796 (R-Car M3-W) compatible HDMI TX
20  - "renesas,r8a77961-hdmi" for R8A77961 (R-Car M3-W+) compatible HDMI TX
21  - "renesas,r8a77965-hdmi" for R8A77965 (R-Car M3-N) compatible HDMI TX
22  - "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 and RZ/G2 compatible
23			     HDMI TX
24
25    When compatible with generic versions, nodes must list the SoC-specific
26    version corresponding to the platform first, followed by the
27    family-specific version.
28
29- reg: See dw_hdmi.txt.
30- interrupts: HDMI interrupt number
31- clocks: See dw_hdmi.txt.
32- clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt.
33- ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0
34  corresponding to the video input of the controller and one port numbered 1
35  corresponding to its HDMI output, and one port numbered 2 corresponding to
36  sound input of the controller. Each port shall have a single endpoint.
37
38Optional properties:
39
40- power-domains: Shall reference the power domain that contains the DWC HDMI,
41  if any.
42
43
44Example:
45
46	hdmi0: hdmi@fead0000 {
47		compatible = "renesas,r8a7795-hdmi", "renesas,rcar-gen3-hdmi";
48		reg = <0 0xfead0000 0 0x10000>;
49		interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>;
50		clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>;
51		clock-names = "iahb", "isfr";
52		power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
53
54		ports {
55			#address-cells = <1>;
56			#size-cells = <0>;
57			port@0 {
58				reg = <0>;
59				dw_hdmi0_in: endpoint {
60					remote-endpoint = <&du_out_hdmi0>;
61				};
62			};
63			port@1 {
64				reg = <1>;
65				rcar_dw_hdmi0_out: endpoint {
66					remote-endpoint = <&hdmi0_con>;
67				};
68			};
69			port@2 {
70				reg = <2>;
71				rcar_dw_hdmi0_sound_in: endpoint {
72					remote-endpoint = <&hdmi_sound_out>;
73				};
74			};
75		};
76	};
77
78	hdmi0-out {
79		compatible = "hdmi-connector";
80		label = "HDMI0 OUT";
81		type = "a";
82
83		port {
84			hdmi0_con: endpoint {
85				remote-endpoint = <&rcar_dw_hdmi0_out>;
86			};
87		};
88	};
89