u-boot/drivers/phy
Patrick Delaunay 9f9191a107 phy: usbphyc: use regulator_set_enable_if_allowed for disabling vdd supply
Use regulator_set_enable_if_allowed() api instead of regulator_set_enable()
while disabling vdd supply. This way the driver doesn't see an error
when disabling an always-on regulator.

This patch is needed since the commit f93fab3126 ("Revert 'power:
regulator: Return success on attempt to disable an always-on regulator'")
and use the API introduced by commit cc4a224af2 ("power: regulator:
Introduce regulator_set_enable_if_allowed api").

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
2020-07-28 18:00:05 +02:00
..
allwinner phy: sun4i-usb: Align H6 initialization logic with the kernel 2020-06-01 22:37:51 +05:30
marvell common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
rockchip phy: Add Rockchip PCIe PHY driver 2020-07-22 20:22:42 +08:00
bcm6318-usbh-phy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bcm6348-usbh-phy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bcm6358-usbh-phy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bcm6368-usbh-phy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig phy: rockchip: Add Rockchip USB2PHY driver 2020-05-29 18:13:19 +08:00
keystone-usb-phy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Makefile phy: meson: add GXBB PHY driver 2020-04-28 10:23:10 +02:00
meson-g12a-usb2.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
meson-g12a-usb3-pcie.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
meson-gxbb-usb2.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
meson-gxl-usb2.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
meson-gxl-usb3.c phy: meson-gxl-usb: add set_mode call to force switch to peripheral mode 2020-04-20 14:19:10 +02:00
msm8916-usbh-phy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mt76x8-usb-phy.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
nop-phy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
omap-usb2-phy.c phy: omap-usb2-phy: disable phy charger detect 2020-06-16 17:00:02 +05:30
phy-da8xx-usb.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
phy-mtk-tphy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
phy-rcar-gen2.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
phy-rcar-gen3.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
phy-stm32-usbphyc.c phy: usbphyc: use regulator_set_enable_if_allowed for disabling vdd supply 2020-07-28 18:00:05 +02:00
phy-ti-am654.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
phy-uclass.c phy: Fix possible NULL pointer deference 2020-05-25 11:54:53 -04:00
sandbox-phy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sti_usb_phy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ti-pipe3-phy.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00