Commit 6a0e321e authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Explicitly allow additional properties in common schemas



In order to add meta-schema checks for additional/unevaluatedProperties
being present, all schema need to make this explicit. As common/shared
schema are included by other schemas, they should always allow for
additionalProperties.

Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: default avatarSebastian Reichel <sre@kernel.org>
Acked-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Acked-By: default avatarVinod Koul <vkoul@kernel.org>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20201005183830.486085-5-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 4828556d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -341,6 +341,8 @@ required:
dependencies:
  rockchip,pmu: [enable-method]

additionalProperties: true

examples:
  - |
    cpus {
+2 −0
Original line number Diff line number Diff line
@@ -30,6 +30,8 @@ properties:
      Specifies the bpmp node that needs to be queried to get
      operating point data for all CPUs.

additionalProperties: true

examples:
  - |
    cpus {
+2 −0
Original line number Diff line number Diff line
@@ -47,4 +47,6 @@ patternProperties:
          The ID number of the drive port, 0 for the master port and 1 for the
          slave port.

additionalProperties: true

...
+2 −0
Original line number Diff line number Diff line
@@ -47,4 +47,6 @@ patternProperties:
          multiplier making it possible to connect up to 15 disks to a single
          SATA port.

additionalProperties: true

...
+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ anyOf:
  - required:
      - power-domains

additionalProperties: true

examples:
  - |
    #include <dt-bindings/clock/qcom,gcc-msm8996.h>
Loading