Skip to contentSkip to conversation

dt-bindings: usb: realtek,rts5411: Add missing "additionalProperties" on child nodes

PATCH In review Rob Herring (Arm) 2 participants 2 messages May 23, 2024

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: usb: realtek,rts5411: Add missing "additionalProperties" on child nodes

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")
---
 Documentation/devicetree/bindings/usb/realtek,rts5411.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/realtek,rts5411.yaml +1 -0
index 0874fc21f66f..6577a61cc075 100644
@@ -65,6 +65,7 @@ patternProperties:
     description: The hard wired USB devices
     type: object
     $ref: /schemas/usb/usb-device.yaml
+    additionalProperties: true
 
 required:
   - peer-hub
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

Quoting Rob Herring (Arm) (2024-05-23 12:44:59)

Quoted 7 lines

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")

---