Skip to content

Commit d6c7c41

Browse files
krzklumag
authored andcommitted
dt-bindings: display/msm/gpu: constrain clocks in top-level
We expect each schema with variable number of clocks, to have the widest constrains in top-level "properties:". This is more readable and also makes binding stricter, if there is no "if:then:" block for given variant. Acked-by: Conor Dooley <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/600504/ Link: https://lore.kernel.org/r/20240623-qcom-adreno-dts-bindings-driver-v2-1-9496410de992@linaro.org Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 5b90752 commit d6c7c41

File tree

1 file changed

+6
-2
lines changed
  • Documentation/devicetree/bindings/display/msm

1 file changed

+6
-2
lines changed

Documentation/devicetree/bindings/display/msm/gpu.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ properties:
3232
- pattern: '^amd,imageon-200\.[0-1]$'
3333
- const: amd,imageon
3434
35-
clocks: true
35+
clocks:
36+
minItems: 2
37+
maxItems: 7
3638

37-
clock-names: true
39+
clock-names:
40+
minItems: 2
41+
maxItems: 7
3842

3943
reg:
4044
minItems: 1

0 commit comments

Comments
 (0)