aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>2025-06-08 19:07:31 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-28 17:23:52 +0200
commit246fef761a5734285ec2c1e61dd9a3d8943d33a8 (patch)
treed38bb8f02152c3f1451d0cc113563170c931580f
parentdt-bindings: usb: genesys,gl850g: use usb-hub.yaml (diff)
downloadwireguard-linux-246fef761a5734285ec2c1e61dd9a3d8943d33a8.tar.xz
wireguard-linux-246fef761a5734285ec2c1e61dd9a3d8943d33a8.zip
dt-bindings: usb: genesys,gl850g: add downstream facing ports
In order to describe connections between Genesys GL850G hub and corresponding Type-C connectors, follow example of RTS5411 and describe downstream facing ports. Unline normal case of ports being connected to a USB device, hotplug ports use OF graph representation. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: "Rob Herring (Arm)" <robh@kernel.org> Link: https://lore.kernel.org/r/20250608-genesys-ports-v1-2-09ca19f6838e@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--Documentation/devicetree/bindings/usb/genesys,gl850g.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
index 7f74f181b75c..9a94b2a74a1e 100644
--- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
+++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
@@ -28,6 +28,18 @@ properties:
peer-hub: true
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+
+ patternProperties:
+ '^port@':
+ $ref: /schemas/graph.yaml#/properties/port
+
+ properties:
+ reg:
+ minimum: 1
+ maximum: 4
+
required:
- compatible
- reg