Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20231016155527.2973385-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

+4 -1
+4 -1
Documentation/devicetree/bindings/usb/ti,tps6598x.yaml
··· 32 32 items: 33 33 - const: irq 34 34 35 + connector: 36 + $ref: /schemas/connector/usb-connector.yaml# 37 + 35 38 required: 36 39 - compatible 37 40 - reg 38 41 39 - additionalProperties: true 42 + additionalProperties: false 40 43 41 44 examples: 42 45 - |