Commit cee030ef authored by Rob Herring's avatar Rob Herring Committed by Dmitry Baryshkov

dt-bindings: display: msm: Make "additionalProperties: true" explicit

Make it explicit that child nodes have additional properties and the
child node schema is not complete. The complete schemas are applied
separately based the compatible strings.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Patchwork: https://patchwork.freedesktop.org/patch/559387/
Link: https://lore.kernel.org/r/20230925212434.1972368-2-robh@kernel.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent b3eb5bd3
...@@ -38,12 +38,16 @@ properties: ...@@ -38,12 +38,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,msm8998-dpu const: qcom,msm8998-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -52,6 +56,8 @@ patternProperties: ...@@ -52,6 +56,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-10nm-8998 const: qcom,dsi-phy-10nm-8998
......
...@@ -44,18 +44,24 @@ properties: ...@@ -44,18 +44,24 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,qcm2290-dpu const: qcom,qcm2290-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-ctrl-6g-qcm2290 const: qcom,dsi-ctrl-6g-qcm2290
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-14nm-2290 const: qcom,dsi-phy-14nm-2290
......
...@@ -44,18 +44,24 @@ properties: ...@@ -44,18 +44,24 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sc7180-dpu const: qcom,sc7180-dpu
"^displayport-controller@[0-9a-f]+$": "^displayport-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sc7180-dp const: qcom,sc7180-dp
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -64,6 +70,8 @@ patternProperties: ...@@ -64,6 +70,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-10nm const: qcom,dsi-phy-10nm
......
...@@ -44,18 +44,24 @@ properties: ...@@ -44,18 +44,24 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sc7280-dpu const: qcom,sc7280-dpu
"^displayport-controller@[0-9a-f]+$": "^displayport-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sc7280-dp const: qcom,sc7280-dp
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -64,12 +70,16 @@ patternProperties: ...@@ -64,12 +70,16 @@ patternProperties:
"^edp@[0-9a-f]+$": "^edp@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sc7280-edp const: qcom,sc7280-edp
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
enum: enum:
......
...@@ -34,12 +34,16 @@ properties: ...@@ -34,12 +34,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sc8280xp-dpu const: qcom,sc8280xp-dpu
"^displayport-controller@[0-9a-f]+$": "^displayport-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
enum: enum:
......
...@@ -42,18 +42,24 @@ properties: ...@@ -42,18 +42,24 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sdm845-dpu const: qcom,sdm845-dpu
"^displayport-controller@[0-9a-f]+$": "^displayport-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sdm845-dp const: qcom,sdm845-dp
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -62,6 +68,8 @@ patternProperties: ...@@ -62,6 +68,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-10nm const: qcom,dsi-phy-10nm
......
...@@ -32,12 +32,16 @@ properties: ...@@ -32,12 +32,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm6115-dpu const: qcom,sm6115-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
oneOf: oneOf:
...@@ -50,6 +54,8 @@ patternProperties: ...@@ -50,6 +54,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-14nm-2290 const: qcom,dsi-phy-14nm-2290
......
...@@ -43,12 +43,16 @@ properties: ...@@ -43,12 +43,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm6125-dpu const: qcom,sm6125-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -57,6 +61,8 @@ patternProperties: ...@@ -57,6 +61,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm6125-dsi-phy-14nm const: qcom,sm6125-dsi-phy-14nm
......
...@@ -43,12 +43,16 @@ properties: ...@@ -43,12 +43,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm6350-dpu const: qcom,sm6350-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -57,6 +61,8 @@ patternProperties: ...@@ -57,6 +61,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-10nm const: qcom,dsi-phy-10nm
......
...@@ -43,12 +43,16 @@ properties: ...@@ -43,12 +43,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm6375-dpu const: qcom,sm6375-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -57,6 +61,8 @@ patternProperties: ...@@ -57,6 +61,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm6375-dsi-phy-7nm const: qcom,sm6375-dsi-phy-7nm
......
...@@ -47,12 +47,16 @@ properties: ...@@ -47,12 +47,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8150-dpu const: qcom,sm8150-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -61,6 +65,8 @@ patternProperties: ...@@ -61,6 +65,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-7nm const: qcom,dsi-phy-7nm
......
...@@ -46,12 +46,16 @@ properties: ...@@ -46,12 +46,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8250-dpu const: qcom,sm8250-dpu
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -60,6 +64,8 @@ patternProperties: ...@@ -60,6 +64,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,dsi-phy-7nm const: qcom,dsi-phy-7nm
......
...@@ -48,18 +48,24 @@ properties: ...@@ -48,18 +48,24 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8350-dpu const: qcom,sm8350-dpu
"^displayport-controller@[0-9a-f]+$": "^displayport-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8350-dp const: qcom,sm8350-dp
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -68,6 +74,8 @@ patternProperties: ...@@ -68,6 +74,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8350-dsi-phy-5nm const: qcom,sm8350-dsi-phy-5nm
......
...@@ -38,12 +38,16 @@ properties: ...@@ -38,12 +38,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8450-dpu const: qcom,sm8450-dpu
"^displayport-controller@[0-9a-f]+$": "^displayport-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -52,6 +56,8 @@ patternProperties: ...@@ -52,6 +56,8 @@ patternProperties:
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -60,6 +66,8 @@ patternProperties: ...@@ -60,6 +66,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8450-dsi-phy-5nm const: qcom,sm8450-dsi-phy-5nm
......
...@@ -38,12 +38,16 @@ properties: ...@@ -38,12 +38,16 @@ properties:
patternProperties: patternProperties:
"^display-controller@[0-9a-f]+$": "^display-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8550-dpu const: qcom,sm8550-dpu
"^displayport-controller@[0-9a-f]+$": "^displayport-controller@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -52,6 +56,8 @@ patternProperties: ...@@ -52,6 +56,8 @@ patternProperties:
"^dsi@[0-9a-f]+$": "^dsi@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
items: items:
...@@ -60,6 +66,8 @@ patternProperties: ...@@ -60,6 +66,8 @@ patternProperties:
"^phy@[0-9a-f]+$": "^phy@[0-9a-f]+$":
type: object type: object
additionalProperties: true
properties: properties:
compatible: compatible:
const: qcom,sm8550-dsi-phy-4nm const: qcom,sm8550-dsi-phy-4nm
......
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