Skip to content

Commit

Permalink
dt-bindings: display: msm: sm8650-mdss: Add missing explicit "additio…
Browse files Browse the repository at this point in the history
…nalProperties"

In order to check schemas for missing additionalProperties or
unevaluatedProperties, cases allowing extra properties must be explicit.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/576954/
Link: https://lore.kernel.org/r/20240202222338.1652333-1-robh@kernel.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
  • Loading branch information
Rob Herring authored and Dmitry Baryshkov committed Feb 11, 2024
1 parent 2f4a67a commit 4825b20
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,21 @@ properties:
patternProperties:
"^display-controller@[0-9a-f]+$":
type: object
additionalProperties: true
properties:
compatible:
const: qcom,sm8650-dpu

"^displayport-controller@[0-9a-f]+$":
type: object
additionalProperties: true
properties:
compatible:
const: qcom,sm8650-dp

"^dsi@[0-9a-f]+$":
type: object
additionalProperties: true
properties:
compatible:
items:
Expand All @@ -57,6 +60,7 @@ patternProperties:

"^phy@[0-9a-f]+$":
type: object
additionalProperties: true
properties:
compatible:
const: qcom,sm8650-dsi-phy-4nm
Expand Down

0 comments on commit 4825b20

Please sign in to comment.