Skip to content

Commit ae5a5d2

Browse files
smaeulmripard
authored andcommitted
dt-bindings: display: Add D1 display engine compatibles
Allwinner D1 contains a display engine 2.0. It features two mixers, a TCON TOP (with DSI and HDMI), one TCON LCD, and one TCON TV. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Samuel Holland <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 2368a93 commit ae5a5d2

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ properties:
6262
- allwinner,sun8i-r40-display-engine
6363
- allwinner,sun8i-v3s-display-engine
6464
- allwinner,sun9i-a80-display-engine
65+
- allwinner,sun20i-d1-display-engine
6566
- allwinner,sun50i-a64-display-engine
6667
- allwinner,sun50i-h6-display-engine
6768

Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ properties:
3333
- const: allwinner,sun8i-v3s-tcon
3434
- const: allwinner,sun9i-a80-tcon-lcd
3535
- const: allwinner,sun9i-a80-tcon-tv
36+
- const: allwinner,sun20i-d1-tcon-lcd
37+
- const: allwinner,sun20i-d1-tcon-tv
3638

3739
- items:
3840
- enum:

Documentation/devicetree/bindings/display/allwinner,sun8i-a83t-de2-mixer.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ properties:
1919
- allwinner,sun8i-r40-de2-mixer-0
2020
- allwinner,sun8i-r40-de2-mixer-1
2121
- allwinner,sun8i-v3s-de2-mixer
22+
- allwinner,sun20i-d1-de2-mixer-0
23+
- allwinner,sun20i-d1-de2-mixer-1
2224
- allwinner,sun50i-a64-de2-mixer-0
2325
- allwinner,sun50i-a64-de2-mixer-1
2426
- allwinner,sun50i-h6-de3-mixer-0

Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ properties:
4141
compatible:
4242
enum:
4343
- allwinner,sun8i-r40-tcon-top
44+
- allwinner,sun20i-d1-tcon-top
4445
- allwinner,sun50i-h6-tcon-top
4546

4647
reg:
@@ -151,6 +152,33 @@ allOf:
151152
- port@2
152153
- port@3
153154

155+
- if:
156+
properties:
157+
compatible:
158+
contains:
159+
const: allwinner,sun20i-d1-tcon-top
160+
161+
then:
162+
properties:
163+
clocks:
164+
items:
165+
- description: The TCON TOP interface clock
166+
- description: The TCON TOP TV0 clock
167+
- description: The TCON TOP TVE0 clock
168+
- description: The TCON TOP MIPI DSI clock
169+
170+
clock-names:
171+
items:
172+
- const: bus
173+
- const: tcon-tv0
174+
- const: tve0
175+
- const: dsi
176+
177+
clock-output-names:
178+
items:
179+
- description: TCON TV0 output clock name
180+
- description: DSI output clock name
181+
154182
- if:
155183
properties:
156184
compatible:

0 commit comments

Comments
 (0)