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 <quic_kuruva@quicinc.com>
This commit is contained in:
@@ -61,6 +61,11 @@ properties:
|
|||||||
USB3_GDSC-supply:
|
USB3_GDSC-supply:
|
||||||
description: USB 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:
|
clock-names:
|
||||||
minItems: 1
|
minItems: 1
|
||||||
items:
|
items:
|
||||||
@@ -168,6 +173,7 @@ examples:
|
|||||||
ranges;
|
ranges;
|
||||||
|
|
||||||
USB3_GDSC-supply = <&gcc_usb30_prim_gdsc>;
|
USB3_GDSC-supply = <&gcc_usb30_prim_gdsc>;
|
||||||
|
vbus_dwc3-supply = <&usb0_vbus_reg>;
|
||||||
clocks = <&gcc GCC_USB30_PRIM_MASTER_CLK>,
|
clocks = <&gcc GCC_USB30_PRIM_MASTER_CLK>,
|
||||||
<&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
|
<&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
|
||||||
<&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
|
<&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
|
||||||
|
Reference in New Issue
Block a user