Quoting Rob Herring (2020-03-25 15:05:41) > Setting 'additionalProperties: false' is frequently omitted, but is > important in order to check that there aren't extra undocumented > properties in a binding. > > Ideally, we'd just add this automatically and make this the default, but > there's some cases where it doesn't work. For example, if a common > schema is referenced, then properties in the common schema aren't part > of what's considered for 'additionalProperties'. Also, sometimes there > are bus specific properties such as 'spi-max-frequency' that go into > bus child nodes, but aren't defined in the child node's schema. > > So let's stick with the json-schema defined default and add > 'additionalProperties: false' where needed. This will be a continual > review comment and game of wack-a-mole. > > Signed-off-by: Rob Herring <r...@kernel.org> > --- > Documentation/devicetree/bindings/clock/fsl,plldig.yaml | 2 ++ > Documentation/devicetree/bindings/clock/imx8mn-clock.yaml | 2 ++ > Documentation/devicetree/bindings/clock/imx8mp-clock.yaml | 2 ++ > Documentation/devicetree/bindings/clock/milbeaut-clock.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc-apq8064.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc-ipq8074.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc-msm8996.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc-msm8998.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc-qcs404.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc-sc7180.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc-sm8150.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,gcc.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,mmcc.yaml | 2 ++ > .../devicetree/bindings/clock/qcom,msm8998-gpucc.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml | 2 ++ > .../devicetree/bindings/clock/qcom,sc7180-dispcc.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,sc7180-gpucc.yaml | 2 ++ > .../devicetree/bindings/clock/qcom,sc7180-videocc.yaml | 2 ++ > .../devicetree/bindings/clock/qcom,sdm845-dispcc.yaml | 2 ++ > Documentation/devicetree/bindings/clock/qcom,sdm845-gpucc.yaml | 2 ++ > .../devicetree/bindings/clock/qcom,sdm845-videocc.yaml | 2 ++ >
Acked-by: Stephen Boyd <sb...@kernel.org> # clock _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel