diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2016-12-01 18:02:53 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2017-04-04 10:04:10 -0400 |
commit | 907c1bbd513db7e9aee63b31627c325e39e7d9ba (patch) | |
tree | d48791686ba53bc7c7175a2a8e7352f3c859b20e | |
parent | 381ddfe478871588af95548aaecb6698009c3d6b (diff) |
dt-bindings: display: renesas: Add R-Car Gen3 HDMI TX DT bindings
The Renesas R-Car Gen3 SoCs use a Synopsys DWC HDMI TX encoder IP. Add
corresponding device tree bindings based on the DWC HDMI TX bindings
model.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | 75 | ||||
-rw-r--r-- | MAINTAINERS | 1 |
2 files changed, 76 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt b/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt new file mode 100644 index 000000000000..f6b3f36d422b --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | |||
@@ -0,0 +1,75 @@ | |||
1 | Renesas Gen3 DWC HDMI TX Encoder | ||
2 | ================================ | ||
3 | |||
4 | The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP | ||
5 | with a companion PHY IP. | ||
6 | |||
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. | ||
10 | |||
11 | |||
12 | Required properties: | ||
13 | |||
14 | - compatible : Shall contain one or more of | ||
15 | - "renesas,r8a7795-hdmi" for R8A7795 (R-Car H3) compatible HDMI TX | ||
16 | - "renesas,rcar-gen3-hdmi" for the generic R-Car Gen3 compatible HDMI TX | ||
17 | |||
18 | When compatible with generic versions, nodes must list the SoC-specific | ||
19 | version corresponding to the platform first, followed by the | ||
20 | family-specific version. | ||
21 | |||
22 | - reg: See dw_hdmi.txt. | ||
23 | - interrupts: HDMI interrupt number | ||
24 | - clocks: See dw_hdmi.txt. | ||
25 | - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt. | ||
26 | - ports: See dw_hdmi.txt. The DWC HDMI shall have one port numbered 0 | ||
27 | corresponding to the video input of the controller and one port numbered 1 | ||
28 | corresponding to its HDMI output. Each port shall have a single endpoint. | ||
29 | |||
30 | Optional properties: | ||
31 | |||
32 | - power-domains: Shall reference the power domain that contains the DWC HDMI, | ||
33 | if any. | ||
34 | |||
35 | |||
36 | Example: | ||
37 | |||
38 | hdmi0: hdmi0@fead0000 { | ||
39 | compatible = "renesas,r8a7795-dw-hdmi"; | ||
40 | reg = <0 0xfead0000 0 0x10000>; | ||
41 | interrupts = <0 389 IRQ_TYPE_LEVEL_HIGH>; | ||
42 | clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>; | ||
43 | clock-names = "iahb", "isfr"; | ||
44 | power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; | ||
45 | status = "disabled"; | ||
46 | |||
47 | ports { | ||
48 | #address-cells = <1>; | ||
49 | #size-cells = <0>; | ||
50 | port@0 { | ||
51 | reg = <0>; | ||
52 | dw_hdmi0_in: endpoint { | ||
53 | remote-endpoint = <&du_out_hdmi0>; | ||
54 | }; | ||
55 | }; | ||
56 | port@1 { | ||
57 | reg = <1>; | ||
58 | rcar_dw_hdmi0_out: endpoint { | ||
59 | remote-endpoint = <&hdmi0_con>; | ||
60 | }; | ||
61 | }; | ||
62 | }; | ||
63 | }; | ||
64 | |||
65 | hdmi0-out { | ||
66 | compatible = "hdmi-connector"; | ||
67 | label = "HDMI0 OUT"; | ||
68 | type = "a"; | ||
69 | |||
70 | port { | ||
71 | hdmi0_con: endpoint { | ||
72 | remote-endpoint = <&rcar_dw_hdmi0_out>; | ||
73 | }; | ||
74 | }; | ||
75 | }; | ||
diff --git a/MAINTAINERS b/MAINTAINERS index fa8479e1799a..bac1a88cdd4a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -4383,6 +4383,7 @@ S: Supported | |||
4383 | F: drivers/gpu/drm/rcar-du/ | 4383 | F: drivers/gpu/drm/rcar-du/ |
4384 | F: drivers/gpu/drm/shmobile/ | 4384 | F: drivers/gpu/drm/shmobile/ |
4385 | F: include/linux/platform_data/shmob_drm.h | 4385 | F: include/linux/platform_data/shmob_drm.h |
4386 | F: Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt | ||
4386 | F: Documentation/devicetree/bindings/display/renesas,du.txt | 4387 | F: Documentation/devicetree/bindings/display/renesas,du.txt |
4387 | 4388 | ||
4388 | DRM DRIVER FOR QXL VIRTUAL GPU | 4389 | DRM DRIVER FOR QXL VIRTUAL GPU |