]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
dt-bindings: usb: realtek,rts5411: Add missing "additionalProperties" on child nodes
authorRob Herring (Arm) <robh@kernel.org>
Thu, 23 May 2024 19:44:59 +0000 (14:44 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Jun 2024 13:34:28 +0000 (15:34 +0200)
All nodes need an explicit additionalProperties or unevaluatedProperties
unless a $ref has one that's false. As that is not the case with
usb-device.yaml, "additionalProperties" is needed here.

Fixes: c44d9dab31d6 ("dt-bindings: usb: Add downstream facing ports to realtek binding")
Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20240523194500.2958192-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/realtek,rts5411.yaml

index 0874fc21f66fbba36548774b40d5712aa190c7c5..6577a61cc07531d56f1a02dec8cde5c14ae1160a 100644 (file)
@@ -65,6 +65,7 @@ patternProperties:
     description: The hard wired USB devices
     type: object
     $ref: /schemas/usb/usb-device.yaml
+    additionalProperties: true
 
 required:
   - peer-hub