phy: stm32: manage optional vbus regulator on phy_power_on/off
authorAmelie Delaunay <amelie.delaunay@foss.st.com>
Mon, 17 May 2021 12:08:21 +0000 (14:08 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 31 May 2021 08:38:58 +0000 (14:08 +0530)
commit51770dae60813c90a92cff5617965249e7b04ca4
treef171e38c078cb8bd13a735d8c512526824018398
parent436b6403db532e3d29cff554a95f448f7f11a165
phy: stm32: manage optional vbus regulator on phy_power_on/off

This patch adds support for optional vbus regulator.
It is managed on phy_power_on/off calls and may be needed for host mode.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20210517120821.26466-3-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/st/phy-stm32-usbphyc.c