diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-07-25 13:23:25 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-07-27 20:08:36 +0300 |
commit | e251a4e28a27884e8bfb7fccbf53b24736f3ef87 (patch) | |
tree | 41f989e9a0a51f2a5d97c6d1b4aef6499dd56002 /Documentation/devicetree/bindings/chrome | |
parent | b2ec7b9b5668dfb8234387a4ee63e59831a633a2 (diff) | |
download | linux-e251a4e28a27884e8bfb7fccbf53b24736f3ef87.tar.xz |
dt-bindings: usb: connector: disallow additional properties
USB connector bindings is complete, thus no additional properties should
be allowed. Add missing 'reg' property and change additionalProperties
to false, so the schema will check for anything unexpected. This also
allows to drop the 'reg' from other bindings referencing the
usb-connector.yaml and make it required.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230725102325.76336-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/chrome')
-rw-r--r-- | Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml index 3b0548c34791..9f9816fbecbc 100644 --- a/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml +++ b/Documentation/devicetree/bindings/chrome/google,cros-ec-typec.yaml @@ -29,10 +29,8 @@ properties: patternProperties: '^connector@[0-9a-f]+$': $ref: /schemas/connector/usb-connector.yaml# - unevaluatedProperties: false - properties: - reg: - maxItems: 1 + required: + - reg required: - compatible |