[PATCH 2/3] dt-bindings: usb: microchip,usb2514: add support for port vbus-supply
From: Marco Felsch
Date: Wed Aug 07 2024 - 10:37:11 EST
Some PCB designs don't connect the USB hub port power control GPIO and
instead make use of an host controllable regulator. Add support for this
use-case by introducing an portX-vbus-supply property.
Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/usb/microchip,usb2514.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml b/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
index 783c27591e56..51d02c4b8f2d 100644
--- a/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
+++ b/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
@@ -35,6 +35,13 @@ required:
- compatible
- reg
+patternProperties:
+ "^port[1-7]-vbus-supply$"
+ type: object
+ description:
+ Regulator controlling the USB VBUS on portX. Only required if the host
+ controls the portX VBUS.
+
unevaluatedProperties: false
examples:
--
2.39.2