* [PATCH v2] dt-bindings: usb: vialab,vl817: derive subnodes from usb-hub.yaml
@ 2026-11-26 8:26 Icenowy Zheng
2026-11-26 8:30 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Icenowy Zheng @ 2026-11-26 8:26 UTC (permalink / raw)
To: Greg Kroah-Hartman, Matthias Kaehlcke, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Anand Moon
Cc: linux-usb, devicetree, linux-kernel, Icenowy Zheng, Han Gao,
Icenowy Zheng
Currently the binding for VL817, a USB hub chip, doesn't allow either
OF graph ports or attached devices to exist as subnodes.
Change the parent schema to usb-hub.yaml and set unevaluatedProperties
to false (instead of additionalProperties) to allow subnodes defined in
the hub schema, including OF graph ports and pattern-matched downstream
devices.
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
Changes in v2:
- Stop to deduplicate properties from usb-*.yaml.
- Squash the remaining 2 patches into one.
- Link to v1: https://patch.msgid.link/20261124-vl817-uneval-prop-v1-0-137c093fb300@iscas.ac.cn
---
Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
index c815010ba9c2e..1900444bec31c 100644
--- a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
+++ b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
@@ -10,7 +10,7 @@ maintainers:
- Anand Moon <linux.amoon@gmail.com>
allOf:
- - $ref: usb-device.yaml#
+ - $ref: usb-hub.yaml#
properties:
compatible:
@@ -40,7 +40,7 @@ required:
- vdd-supply
- peer-hub
-additionalProperties: false
+unevaluatedProperties: false
examples:
- |
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261124-vl817-uneval-prop-9723e7bc36f1
Best regards,
--
Icenowy Zheng <zhengxingda@iscas.ac.cn>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-26 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 8:26 [PATCH v2] dt-bindings: usb: vialab,vl817: derive subnodes from usb-hub.yaml Icenowy Zheng
2026-11-26 8:30 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox