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
52 $ref: /schemas/graph.yaml#/properties/ports
56 $ref: /schemas/graph.yaml#/properties/port
57 description: Parallel RGB input port
60 $ref: /schemas/graph.yaml#/properties/port
61 description: LVDS output port
71 $ref: /schemas/types.yaml#/definitions/phandle
73 phandle to the companion LVDS encoder. This property is mandatory
74 for the first LVDS encoder on R-Car D3 and E3, and RZ/G2E SoCs, and shall
75 point to the second encoder to be used as a companion in dual-link mode.
76 It shall not be set for any other LVDS encoder.
90 - renesas,r8a774c0-lvds
91 - renesas,r8a77990-lvds
92 - renesas,r8a77995-lvds
99 - description: Functional clock
100 - description: EXTAL input clock
101 - description: DU_DOTCLKIN0 input clock
102 - description: DU_DOTCLKIN1 input clock
109 # The LVDS encoder can use the EXTAL or DU_DOTCLKINx clocks.
110 # These clocks are optional.
132 - description: Functional clock
139 renesas,companion: false
141 additionalProperties: false
145 #include <dt-bindings/clock/renesas-cpg-mssr.h>
146 #include <dt-bindings/power/r8a7795-sysc.h>
149 compatible = "renesas,r8a7795-lvds";
150 reg = <0xfeb90000 0x14>;
151 clocks = <&cpg CPG_MOD 727>;
152 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
156 #address-cells = <1>;
162 remote-endpoint = <&du_out_lvds0>;
168 remote-endpoint = <&panel_in>;
175 #include <dt-bindings/clock/renesas-cpg-mssr.h>
176 #include <dt-bindings/power/r8a77990-sysc.h>
178 lvds0: lvds@feb90000 {
179 compatible = "renesas,r8a77990-lvds";
180 reg = <0xfeb90000 0x20>;
181 clocks = <&cpg CPG_MOD 727>,
184 clock-names = "fck", "dclkin.0", "extal";
185 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
188 renesas,companion = <&lvds1>;
191 #address-cells = <1>;
197 remote-endpoint = <&du_out_lvds0>;
202 lvds0_out: endpoint {
203 remote-endpoint = <&panel_in1>;
209 lvds1: lvds@feb90100 {
210 compatible = "renesas,r8a77990-lvds";
211 reg = <0xfeb90100 0x20>;
212 clocks = <&cpg CPG_MOD 727>,
215 clock-names = "fck", "dclkin.0", "extal";
216 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
220 #address-cells = <1>;
226 remote-endpoint = <&du_out_lvds1>;
231 lvds1_out: endpoint {
232 remote-endpoint = <&panel_in2>;