[PATCH 08/12] dt-bindings: usb: vialab,vl817: allow ports property

From: Icenowy Zheng

Date: Thu May 07 2026 - 04:32:14 EST


As a USB hub device, VL817 can surely be connected to external USB
connectors. The binding for such connectors connection is already
described in the generic usb-hub.yaml binding with ports subnode, but
it's not yet allowed in the VL817 binding.

Switch the reference binding from usb-device.yaml to usb-hub.yaml (which
recursively references usb-device.yaml and contains definition for ports
subnode) and allow ports subnode in VL817 binding.

Cc: Anand Moon <linux.amoon@xxxxxxxxx>
Signed-off-by: Icenowy Zheng <zhengxingda@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/vialab,vl817.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817.yaml
index c815010ba9c2e..7387f4fae54d1 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@xxxxxxxxx>

allOf:
- - $ref: usb-device.yaml#
+ - $ref: usb-hub.yaml#

properties:
compatible:
@@ -34,6 +34,8 @@ properties:
description:
phandle to the peer hub on the controller.

+ ports: true
+
required:
- compatible
- reg
--
2.52.0