phy: stm32: usbphyc: manage optional vbus regulator on phy_power_on/off
authorPatrick Delaunay <patrick.delaunay@st.com>
Thu, 15 Oct 2020 12:50:57 +0000 (14:50 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 25 Nov 2020 11:02:58 +0000 (12:02 +0100)
commitc4801389588c9ed49222e6f0615de9879d445f9c
tree84ea61c16b955b1967d820aaf5858da4302b4cac
parente27e96aa804ed6aa44df7cd11b307d981d91f072
phy: stm32: usbphyc: 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: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
doc/device-tree-bindings/phy/phy-stm32-usbphyc.txt
drivers/phy/phy-stm32-usbphyc.c