Commit 47b8fb4a authored by Rob Herring's avatar Rob Herring

dt-bindings: usb: ti,tps6598x: Disallow undefined properties

Device specific bindings should not allow undefined properties. This is
accomplished in json-schema with 'additionalProperties: false'. With this,
the 'connector' child node needs to be defined to prevent warnings.
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20231016155527.2973385-1-robh@kernel.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent eb559fa6
...@@ -32,11 +32,14 @@ properties: ...@@ -32,11 +32,14 @@ properties:
items: items:
- const: irq - const: irq
connector:
$ref: /schemas/connector/usb-connector.yaml#
required: required:
- compatible - compatible
- reg - reg
additionalProperties: true additionalProperties: false
examples: examples:
- | - |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment