1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/display/bridge/renesas,lvds.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car LVDS Encoder
10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
13 These DT bindings describe the LVDS encoder embedded in the Renesas R-Car
14 Gen2, R-Car Gen3, RZ/G1 and RZ/G2 SoCs.
19 - renesas,r8a7743-lvds # for RZ/G1M compatible LVDS encoders
20 - renesas,r8a7744-lvds # for RZ/G1N compatible LVDS encoders
21 - renesas,r8a774a1-lvds # for RZ/G2M compatible LVDS encoders
22 - renesas,r8a774b1-lvds # for RZ/G2N compatible LVDS encoders
23 - renesas,r8a774c0-lvds # for RZ/G2E compatible LVDS encoders
24 - renesas,r8a7790-lvds # for R-Car H2 compatible LVDS encoders
25 - renesas,r8a7791-lvds # for R-Car M2-W compatible LVDS encoders
26 - renesas,r8a7793-lvds # for R-Car M2-N compatible LVDS encoders
27 - renesas,r8a7795-lvds # for R-Car H3 compatible LVDS encoders
28 - renesas,r8a7796-lvds # for R-Car M3-W compatible LVDS encoders
29 - renesas,r8a77965-lvds # for R-Car M3-N compatible LVDS encoders
30 - renesas,r8a77970-lvds # for R-Car V3M compatible LVDS encoders
31 - renesas,r8a77980-lvds # for R-Car V3H compatible LVDS encoders
32 - renesas,r8a77990-lvds # for R-Car E3 compatible LVDS encoders
33 - renesas,r8a77995-lvds # for R-Car D3 compatible LVDS encoders
52 This device has two video ports. Their connections are modelled using the
53 OF graph bindings specified in Documentation/devicetree/bindings/graph.txt.
54 Each port shall have a single endpoint.
65 description: Parallel RGB input port
69 description: LVDS output port
75 additionalProperties: false
81 $ref: /schemas/types.yaml#/definitions/phandle
83 phandle to the companion LVDS encoder. This property is mandatory
84 for the first LVDS encoder on D3 and E3 SoCs, and shall point to
85 the second encoder to be used as a companion in dual-link mode. It
86 shall not be set for any other LVDS encoder.
100 - renesas,r8a774c0-lvds
101 - renesas,r8a77990-lvds
102 - renesas,r8a77995-lvds
109 - description: Functional clock
110 - description: EXTAL input clock
111 - description: DU_DOTCLKIN0 input clock
112 - description: DU_DOTCLKIN1 input clock
119 # The LVDS encoder can use the EXTAL or DU_DOTCLKINx clocks.
120 # These clocks are optional.
142 - description: Functional clock
149 renesas,companion: false
151 additionalProperties: false
155 #include <dt-bindings/clock/renesas-cpg-mssr.h>
156 #include <dt-bindings/power/r8a7795-sysc.h>
159 compatible = "renesas,r8a7795-lvds";
160 reg = <0xfeb90000 0x14>;
161 clocks = <&cpg CPG_MOD 727>;
162 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
166 #address-cells = <1>;
172 remote-endpoint = <&du_out_lvds0>;
178 remote-endpoint = <&panel_in>;
185 #include <dt-bindings/clock/renesas-cpg-mssr.h>
186 #include <dt-bindings/power/r8a77990-sysc.h>
188 lvds0: lvds@feb90000 {
189 compatible = "renesas,r8a77990-lvds";
190 reg = <0xfeb90000 0x20>;
191 clocks = <&cpg CPG_MOD 727>,
194 clock-names = "fck", "dclkin.0", "extal";
195 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
198 renesas,companion = <&lvds1>;
201 #address-cells = <1>;
207 remote-endpoint = <&du_out_lvds0>;
212 lvds0_out: endpoint {
213 remote-endpoint = <&panel_in1>;
219 lvds1: lvds@feb90100 {
220 compatible = "renesas,r8a77990-lvds";
221 reg = <0xfeb90100 0x20>;
222 clocks = <&cpg CPG_MOD 727>,
225 clock-names = "fck", "dclkin.0", "extal";
226 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
230 #address-cells = <1>;
236 remote-endpoint = <&du_out_lvds1>;
241 lvds1_out: endpoint {
242 remote-endpoint = <&panel_in2>;