Skip to content

Commit 871b456

Browse files
author
Laurent Pinchart
committed
dt-bindings: display: renesas: Add R-Car LVDS encoder DT bindings
The Renesas R-Car Gen2 and Gen3 SoCs have internal LVDS encoders. Add corresponding device tree bindings. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
1 parent 94aae1d commit 871b456

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
Renesas R-Car LVDS Encoder
2+
==========================
3+
4+
These DT bindings describe the LVDS encoder embedded in the Renesas R-Car
5+
Gen2, R-Car Gen3 and RZ/G SoCs.
6+
7+
Required properties:
8+
9+
- compatible : Shall contain one of
10+
- "renesas,r8a7743-lvds" for R8A7743 (RZ/G1M) compatible LVDS encoders
11+
- "renesas,r8a7790-lvds" for R8A7790 (R-Car H2) compatible LVDS encoders
12+
- "renesas,r8a7791-lvds" for R8A7791 (R-Car M2-W) compatible LVDS encoders
13+
- "renesas,r8a7793-lvds" for R8A7793 (R-Car M2-N) compatible LVDS encoders
14+
- "renesas,r8a7795-lvds" for R8A7795 (R-Car H3) compatible LVDS encoders
15+
- "renesas,r8a7796-lvds" for R8A7796 (R-Car M3-W) compatible LVDS encoders
16+
17+
- reg: Base address and length for the memory-mapped registers
18+
- clocks: A phandle + clock-specifier pair for the functional clock
19+
- resets: A phandle + reset specifier for the module reset
20+
21+
Required nodes:
22+
23+
The LVDS encoder has two video ports. Their connections are modelled using the
24+
OF graph bindings specified in Documentation/devicetree/bindings/graph.txt.
25+
26+
- Video port 0 corresponds to the parallel RGB input
27+
- Video port 1 corresponds to the LVDS output
28+
29+
Each port shall have a single endpoint.
30+
31+
32+
Example:
33+
34+
lvds0: lvds@feb90000 {
35+
compatible = "renesas,r8a7790-lvds";
36+
reg = <0 0xfeb90000 0 0x1c>;
37+
clocks = <&cpg CPG_MOD 726>;
38+
resets = <&cpg 726>;
39+
40+
ports {
41+
#address-cells = <1>;
42+
#size-cells = <0>;
43+
44+
port@0 {
45+
reg = <0>;
46+
lvds0_in: endpoint {
47+
remote-endpoint = <&du_out_lvds0>;
48+
};
49+
};
50+
port@1 {
51+
reg = <1>;
52+
lvds0_out: endpoint {
53+
};
54+
};
55+
};
56+
};

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4744,6 +4744,7 @@ F: drivers/gpu/drm/rcar-du/
47444744
F: drivers/gpu/drm/shmobile/
47454745
F: include/linux/platform_data/shmob_drm.h
47464746
F: Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt
4747+
F: Documentation/devicetree/bindings/display/bridge/renesas,lvds.txt
47474748
F: Documentation/devicetree/bindings/display/renesas,du.txt
47484749

47494750
DRM DRIVERS FOR ROCKCHIP

0 commit comments

Comments
 (0)