Skip to content

Commit 9c46924

Browse files
s-jain1robherring
authored andcommitted
dt-bindings: display: ti, am65x-dss: Fix AM62L DSS reg and clock constraints
The AM62L DSS [1] support incorrectly used the same register and clock constraints as AM65x, but AM62L has a single video port Fix this by adding conditional constraints that properly define the register regions and clocks for AM62L DSS (single video port) versus other AM65x variants (dual video port). [1]: Section 12.7 (Display Subsystem and Peripherals) Link : https://www.ti.com/lit/pdf/sprujb4 Fixes: cb8d432 ("dt-bindings: display: ti,am65x-dss: Add support for AM62L DSS") Cc: stable@vger.kernel.org Signed-off-by: Swamil Jain <s-jain1@ti.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20260415110409.2577633-1-s-jain1@ti.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 2a62dd1 commit 9c46924

1 file changed

Lines changed: 52 additions & 18 deletions

File tree

Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml

Lines changed: 52 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,50 @@ properties:
3636
reg:
3737
description:
3838
Addresses to each DSS memory region described in the SoC's TRM.
39-
items:
40-
- description: common DSS register area
41-
- description: VIDL1 light video plane
42-
- description: VID video plane
43-
- description: OVR1 overlay manager for vp1
44-
- description: OVR2 overlay manager for vp2
45-
- description: VP1 video port 1
46-
- description: VP2 video port 2
47-
- description: common1 DSS register area
39+
oneOf:
40+
- items:
41+
- description: common DSS register area
42+
- description: VIDL1 light video plane
43+
- description: VID video plane
44+
- description: OVR1 overlay manager for vp1
45+
- description: OVR2 overlay manager for vp2
46+
- description: VP1 video port 1
47+
- description: VP2 video port 2
48+
- description: common1 DSS register area
49+
- items:
50+
- description: common DSS register area
51+
- description: VIDL1 light video plane
52+
- description: OVR1 overlay manager for vp1
53+
- description: VP1 video port 1
54+
- description: common1 DSS register area
4855

4956
reg-names:
50-
items:
51-
- const: common
52-
- const: vidl1
53-
- const: vid
54-
- const: ovr1
55-
- const: ovr2
56-
- const: vp1
57-
- const: vp2
58-
- const: common1
57+
oneOf:
58+
- items:
59+
- const: common
60+
- const: vidl1
61+
- const: vid
62+
- const: ovr1
63+
- const: ovr2
64+
- const: vp1
65+
- const: vp2
66+
- const: common1
67+
- items:
68+
- const: common
69+
- const: vidl1
70+
- const: ovr1
71+
- const: vp1
72+
- const: common1
5973

6074
clocks:
75+
minItems: 2
6176
items:
6277
- description: fck DSS functional clock
6378
- description: vp1 Video Port 1 pixel clock
6479
- description: vp2 Video Port 2 pixel clock
6580

6681
clock-names:
82+
minItems: 2
6783
items:
6884
- const: fck
6985
- const: vp1
@@ -179,6 +195,24 @@ allOf:
179195
ports:
180196
properties:
181197
port@1: false
198+
reg:
199+
maxItems: 5
200+
reg-names:
201+
maxItems: 5
202+
clocks:
203+
maxItems: 2
204+
clock-names:
205+
maxItems: 2
206+
else:
207+
properties:
208+
reg:
209+
minItems: 8
210+
reg-names:
211+
minItems: 8
212+
clocks:
213+
minItems: 3
214+
clock-names:
215+
minItems: 3
182216

183217
- if:
184218
properties:

0 commit comments

Comments
 (0)