Commit e96150a6 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

dt-bindings: display/msm: *mdss.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/514231/
Link: https://lore.kernel.org/r/20221207012231.112059-3-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent f4a75b59
...@@ -70,7 +70,6 @@ properties: ...@@ -70,7 +70,6 @@ properties:
- description: MDSS_CORE reset - description: MDSS_CORE reset
required: required:
- compatible
- reg - reg
- reg-names - reg-names
- power-domains - power-domains
......
...@@ -55,6 +55,9 @@ patternProperties: ...@@ -55,6 +55,9 @@ patternProperties:
compatible: compatible:
const: qcom,dsi-phy-10nm-8998 const: qcom,dsi-phy-10nm-8998
required:
- compatible
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -61,6 +61,9 @@ patternProperties: ...@@ -61,6 +61,9 @@ patternProperties:
compatible: compatible:
const: qcom,dsi-phy-14nm-2290 const: qcom,dsi-phy-14nm-2290
required:
- compatible
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -67,6 +67,9 @@ patternProperties: ...@@ -67,6 +67,9 @@ patternProperties:
compatible: compatible:
const: qcom,dsi-phy-10nm const: qcom,dsi-phy-10nm
required:
- compatible
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -74,6 +74,9 @@ patternProperties: ...@@ -74,6 +74,9 @@ patternProperties:
- qcom,sc7280-dsi-phy-7nm - qcom,sc7280-dsi-phy-7nm
- qcom,sc7280-edp-phy - qcom,sc7280-edp-phy
required:
- compatible
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -59,6 +59,9 @@ patternProperties: ...@@ -59,6 +59,9 @@ patternProperties:
compatible: compatible:
const: qcom,dsi-phy-10nm const: qcom,dsi-phy-10nm
required:
- compatible
unevaluatedProperties: false unevaluatedProperties: false
examples: examples:
......
...@@ -63,6 +63,9 @@ patternProperties: ...@@ -63,6 +63,9 @@ patternProperties:
compatible: compatible:
const: qcom,dsi-phy-7nm const: qcom,dsi-phy-7nm
required:
- compatible
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