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,r8a7742-lvds # for RZ/G1H compatible LVDS encoders
20 - renesas,r8a7743-lvds # for RZ/G1M compatible LVDS encoders
21 - renesas,r8a7744-lvds # for RZ/G1N compatible LVDS encoders
22 - renesas,r8a774a1-lvds # for RZ/G2M compatible LVDS encoders
23 - renesas,r8a774b1-lvds # for RZ/G2N compatible LVDS encoders
24 - renesas,r8a774c0-lvds # for RZ/G2E compatible LVDS encoders
25 - renesas,r8a774e1-lvds # for RZ/G2H compatible LVDS encoders
26 - renesas,r8a7790-lvds # for R-Car H2 compatible LVDS encoders
27 - renesas,r8a7791-lvds # for R-Car M2-W compatible LVDS encoders
28 - renesas,r8a7793-lvds # for R-Car M2-N compatible LVDS encoders
29 - renesas,r8a7795-lvds # for R-Car H3 compatible LVDS encoders
30 - renesas,r8a7796-lvds # for R-Car M3-W compatible LVDS encoders
31 - renesas,r8a77965-lvds # for R-Car M3-N compatible LVDS encoders
32 - renesas,r8a77970-lvds # for R-Car V3M compatible LVDS encoders
33 - renesas,r8a77980-lvds # for R-Car V3H compatible LVDS encoders
34 - renesas,r8a77990-lvds # for R-Car E3 compatible LVDS encoders
35 - renesas,r8a77995-lvds # for R-Car D3 compatible LVDS encoders
54 This device has two video ports. Their connections are modelled using the
55 OF graph bindings specified in Documentation/devicetree/bindings/graph.txt.
56 Each port shall have a single endpoint.
67 description: Parallel RGB input port
71 description: LVDS output port
77 additionalProperties: false
83 $ref: /schemas/types.yaml#/definitions/phandle
85 phandle to the companion LVDS encoder. This property is mandatory
86 for the first LVDS encoder on D3 and E3 SoCs, and shall point to
87 the second encoder to be used as a companion in dual-link mode. It
88 shall not be set for any other LVDS encoder.
102 - renesas,r8a774c0-lvds
103 - renesas,r8a77990-lvds
104 - renesas,r8a77995-lvds
111 - description: Functional clock
112 - description: EXTAL input clock
113 - description: DU_DOTCLKIN0 input clock
114 - description: DU_DOTCLKIN1 input clock
121 # The LVDS encoder can use the EXTAL or DU_DOTCLKINx clocks.
122 # These clocks are optional.
144 - description: Functional clock
151 renesas,companion: false
153 additionalProperties: false
157 #include <dt-bindings/clock/renesas-cpg-mssr.h>
158 #include <dt-bindings/power/r8a7795-sysc.h>
161 compatible = "renesas,r8a7795-lvds";
162 reg = <0xfeb90000 0x14>;
163 clocks = <&cpg CPG_MOD 727>;
164 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
168 #address-cells = <1>;
174 remote-endpoint = <&du_out_lvds0>;
180 remote-endpoint = <&panel_in>;
187 #include <dt-bindings/clock/renesas-cpg-mssr.h>
188 #include <dt-bindings/power/r8a77990-sysc.h>
190 lvds0: lvds@feb90000 {
191 compatible = "renesas,r8a77990-lvds";
192 reg = <0xfeb90000 0x20>;
193 clocks = <&cpg CPG_MOD 727>,
196 clock-names = "fck", "dclkin.0", "extal";
197 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
200 renesas,companion = <&lvds1>;
203 #address-cells = <1>;
209 remote-endpoint = <&du_out_lvds0>;
214 lvds0_out: endpoint {
215 remote-endpoint = <&panel_in1>;
221 lvds1: lvds@feb90100 {
222 compatible = "renesas,r8a77990-lvds";
223 reg = <0xfeb90100 0x20>;
224 clocks = <&cpg CPG_MOD 727>,
227 clock-names = "fck", "dclkin.0", "extal";
228 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
232 #address-cells = <1>;
238 remote-endpoint = <&du_out_lvds1>;
243 lvds1_out: endpoint {
244 remote-endpoint = <&panel_in2>;