From 8e85f11afa3ab133647d270117d227a9f03e11fd Mon Sep 17 00:00:00 2001 From: Rajashekar kuruva Date: Sat, 16 Nov 2024 22:32:43 +0530 Subject: [PATCH] bindings: usb: qcom,dwc-usb3-msm: Add vbus_dwc3-supply property to bindings The vbus_dwc3-supply property in the device tree manages the 5V for USB host mode. It is designed for platforms with hardware VBUS detection based on a GPIO regulator, allowing the system to control the USB port power supply, enabling or disabling it in suspend/resume cases. Change-Id: Ic33147b08a8efd3a3fa015e6847e2874a83b386b Signed-off-by: Rajashekar kuruva --- bindings/usb/qcom,dwc-usb3-msm.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/usb/qcom,dwc-usb3-msm.yaml b/bindings/usb/qcom,dwc-usb3-msm.yaml index 96d9b20a..7947bdd9 100644 --- a/bindings/usb/qcom,dwc-usb3-msm.yaml +++ b/bindings/usb/qcom,dwc-usb3-msm.yaml @@ -61,6 +61,11 @@ properties: USB3_GDSC-supply: description: USB GDSC supply. + vbus_dwc3-supply: + description: Regulator supply for the VBUS 5V power for USB host mode. + This is typically used when VBUS is controlled by a GPIO-based + regulator to enable/disable USB port power. + clock-names: minItems: 1 items: @@ -168,6 +173,7 @@ examples: ranges; USB3_GDSC-supply = <&gcc_usb30_prim_gdsc>; + vbus_dwc3-supply = <&usb0_vbus_reg>; clocks = <&gcc GCC_USB30_PRIM_MASTER_CLK>, <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,