dt-bindings: usb: ti,tps6598x: Disallow undefined properties
Subsystems (2)
Rob Herring
maintainerPATCH 1/1 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.
Signed-off-by Rob Herring <[email protected]>
--- Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/usb/ti,tps6598x.yaml +4 -1
@@ -32,11 +32,14 @@ properties: items: - const: irq + connector: + $ref: /schemas/connector/usb-connector.yaml# + required: - compatible - reg -additionalProperties: true +additionalProperties: false examples: - |
Signature · 1 line
2.42.0
Quoted 33 lines · Rob Herring
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.
Signed-off-by Rob Herring <[email protected]>--- Documentation/devicetree/bindings/usb/ti,tps6598x.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/usb/ti,tps6598x.yaml +4
-1@@ -32,11 +32,14 @@ properties: items: - const: irq + connector: + $ref: /schemas/connector/usb-connector.yaml# + required: - compatible - reg -additionalProperties: true +additionalProperties: false examples: - |Signature · 1 line
2.42.0