Skip to content

Commit c1bb7f9

Browse files
bijudasmripard
authored andcommitted
dt-bindings: display: Document Renesas RZ/G2L DU bindings
The RZ/G2L LCD controller is composed of Frame Compression Processor (FCPVD), Video Signal Processor (VSPD), and Display Unit (DU). The DU module supports the following hardware features − Display Parallel Interface (DPI) and MIPI LINK Video Interface − Display timing master − Generates video timings − Selecting the polarity of output DCLK, HSYNC, VSYNC, and DE − Supports Progressive − Input data format (from VSPD): RGB888, RGB666 − Output data format: same as Input data format − Supporting Full HD (1920 pixels x 1080 lines) for MIPI-DSI Output − Supporting WXGA (1280 pixels x 800 lines) for Parallel Output This patch documents the DU module found on RZ/G2L LCDC. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Link: https://lore.kernel.org/r/20240218164840.57662-2-biju.das.jz@bp.renesas.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
1 parent aeedaee commit c1bb7f9

1 file changed

Lines changed: 121 additions & 0 deletions

File tree

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/display/renesas,rzg2l-du.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Renesas RZ/G2L Display Unit (DU)
8+
9+
maintainers:
10+
- Biju Das <biju.das.jz@bp.renesas.com>
11+
- Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
12+
13+
description: |
14+
These DT bindings describe the Display Unit embedded in the Renesas RZ/G2L
15+
and RZ/V2L SoCs.
16+
17+
properties:
18+
compatible:
19+
enum:
20+
- renesas,r9a07g044-du # RZ/G2{L,LC}
21+
22+
reg:
23+
maxItems: 1
24+
25+
interrupts:
26+
maxItems: 1
27+
28+
clocks:
29+
items:
30+
- description: Main clock
31+
- description: Register access clock
32+
- description: Video clock
33+
34+
clock-names:
35+
items:
36+
- const: aclk
37+
- const: pclk
38+
- const: vclk
39+
40+
resets:
41+
maxItems: 1
42+
43+
power-domains:
44+
maxItems: 1
45+
46+
ports:
47+
$ref: /schemas/graph.yaml#/properties/ports
48+
description: |
49+
The connections to the DU output video ports are modeled using the OF
50+
graph bindings. The number of ports and their assignment are
51+
model-dependent. Each port shall have a single endpoint.
52+
53+
patternProperties:
54+
"^port@[0-1]$":
55+
$ref: /schemas/graph.yaml#/properties/port
56+
unevaluatedProperties: false
57+
58+
required:
59+
- port@0
60+
61+
unevaluatedProperties: false
62+
63+
renesas,vsps:
64+
$ref: /schemas/types.yaml#/definitions/phandle-array
65+
items:
66+
items:
67+
- description: phandle to VSP instance that serves the DU channel
68+
- description: Channel index identifying the LIF instance in that VSP
69+
description:
70+
A list of phandle and channel index tuples to the VSPs that handle the
71+
memory interfaces for the DU channels.
72+
73+
required:
74+
- compatible
75+
- reg
76+
- interrupts
77+
- clocks
78+
- clock-names
79+
- resets
80+
- power-domains
81+
- ports
82+
- renesas,vsps
83+
84+
additionalProperties: false
85+
86+
examples:
87+
# RZ/G2L DU
88+
- |
89+
#include <dt-bindings/clock/r9a07g044-cpg.h>
90+
#include <dt-bindings/interrupt-controller/arm-gic.h>
91+
92+
display@10890000 {
93+
compatible = "renesas,r9a07g044-du";
94+
reg = <0x10890000 0x10000>;
95+
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
96+
clocks = <&cpg CPG_MOD R9A07G044_LCDC_CLK_A>,
97+
<&cpg CPG_MOD R9A07G044_LCDC_CLK_P>,
98+
<&cpg CPG_MOD R9A07G044_LCDC_CLK_D>;
99+
clock-names = "aclk", "pclk", "vclk";
100+
resets = <&cpg R9A07G044_LCDC_RESET_N>;
101+
power-domains = <&cpg>;
102+
103+
renesas,vsps = <&vspd0 0>;
104+
105+
ports {
106+
#address-cells = <1>;
107+
#size-cells = <0>;
108+
109+
port@0 {
110+
reg = <0>;
111+
endpoint {
112+
remote-endpoint = <&dsi0_in>;
113+
};
114+
};
115+
port@1 {
116+
reg = <1>;
117+
};
118+
};
119+
};
120+
121+
...

0 commit comments

Comments
 (0)