Commit 73162e5d authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

dt-bindings: display/msm: *dpu.yaml: split required properties clauses

Require only properties declared in given schema, which makes the code a
bit more readable and easy to follow.
Suggested-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/514229/
Link: https://lore.kernel.org/r/20221207012231.112059-2-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 477bdf8b
...@@ -40,10 +40,6 @@ properties: ...@@ -40,10 +40,6 @@ properties:
- port@0 - port@0
required: required:
- compatible
- reg
- reg-names
- clocks
- interrupts - interrupts
- power-domains - power-domains
- operating-points-v2 - operating-points-v2
......
...@@ -46,6 +46,13 @@ properties: ...@@ -46,6 +46,13 @@ properties:
- const: core - const: core
- const: vsync - const: vsync
required:
- compatible
- reg
- reg-names
- clocks
- clock-names
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -42,6 +42,13 @@ properties: ...@@ -42,6 +42,13 @@ properties:
- const: lut - const: lut
- const: vsync - const: vsync
required:
- compatible
- reg
- reg-names
- clocks
- clock-names
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -44,6 +44,13 @@ properties: ...@@ -44,6 +44,13 @@ properties:
- const: core - const: core
- const: vsync - const: vsync
required:
- compatible
- reg
- reg-names
- clocks
- clock-names
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -43,6 +43,13 @@ properties: ...@@ -43,6 +43,13 @@ properties:
- const: core - const: core
- const: vsync - const: vsync
required:
- compatible
- reg
- reg-names
- clocks
- clock-names
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -42,6 +42,13 @@ properties: ...@@ -42,6 +42,13 @@ properties:
- const: core - const: core
- const: vsync - const: vsync
required:
- compatible
- reg
- reg-names
- clocks
- clock-names
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -39,6 +39,13 @@ properties: ...@@ -39,6 +39,13 @@ properties:
- const: core - const: core
- const: vsync - const: vsync
required:
- compatible
- reg
- reg-names
- clocks
- clock-names
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment