Commit 0d9a302d authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Clean-up schema errors due to missing 'addtionalProperties: false'



Numerous schemas are missing 'additionalProperties: false' statements which
ensures a binding doesn't have any extra undocumented properties or child
nodes. Fixing this reveals various missing properties, so let's fix all
those occurrences.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Acked-by: default avatarAlexandru Ardelean <alexandru.ardelean@analog.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for-iio
Acked-by: Stephen Boyd <sboyd@kernel.org> # clock
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Cc: dri-devel@lists.freedesktop.org
Cc: netdev@vger.kernel.org
Cc: Guillaume La Roque <glaroque@baylibre.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-iio@vger.kernel.org
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-clk@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: linux-amlogic@lists.infradead.org
Cc: linux-pm@vger.kernel.org
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-gpio@vger.kernel.org
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-media@vger.kernel.org
Cc: Lee Jones <lee.jones@linaro.org>
parent b6b76af4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@ properties:
  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  '#clock-cells':
    const: 0

+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ properties:
    minimum: 0
    maximum: 512

  gpio-ranges: true

  gpio-ranges-group-names:
    $ref: /schemas/types.yaml#/definitions/string-array

+3 −3
Original line number Diff line number Diff line
@@ -43,6 +43,9 @@ properties:

  operating-points-v2: true

  resets:
    maxItems: 2

required:
  - compatible
  - reg
@@ -57,9 +60,6 @@ allOf:
          contains:
            const: amlogic,meson-g12a-mali
    then:
      properties:
        resets:
          minItems: 2
      required:
        - resets

+3 −0
Original line number Diff line number Diff line
@@ -75,6 +75,9 @@ properties:

  mali-supply: true

  power-domains:
    maxItems: 1

  resets:
    minItems: 1
    maxItems: 2
+0 −1
Original line number Diff line number Diff line
@@ -106,7 +106,6 @@ examples:
        spi-cpha;
        clocks = <&ad7192_mclk>;
        clock-names = "mclk";
        #interrupt-cells = <2>;
        interrupts = <25 0x2>;
        interrupt-parent = <&gpio>;
        dvdd-supply = <&dvdd>;
Loading