1
0
Fork 0
alistair23-linux/drivers/phy
Chen-Yu Tsai 1396929e8a phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
While only the first PHY supports mode switching, the remaining PHYs
work in USB host mode. They should support set_mode with mode=USB_HOST
instead of failing. This is especially needed now that the USB core does
set_mode for all USB ports, which was added in commit b97a313483 ("usb:
core: comply to PHY framework").

Make set_mode with mode=USB_HOST a no-op instead of failing for the
non-OTG USB PHYs.

Fixes: 6ba43c2919 ("phy-sun4i-usb: Add support for phy_set_mode")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-26 16:48:55 +09:00
..
allwinner phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs 2019-03-26 16:48:55 +09:00
amlogic phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
broadcom phy: bcm-sr-pcie: Change operation when PIPEMUX=1 2019-02-07 11:11:06 +05:30
cadence phy: Add Cadence D-PHY support 2019-02-07 11:11:06 +05:30
freescale phy: freescale: Break dependency on SOC_IMX8MQ for USB PHY 2019-02-07 11:10:34 +05:30
hisilicon phy: add inno-usb2-phy driver for hi3798cv200 SoC 2018-03-16 16:55:29 +05:30
lantiq phy: lantiq: Fix compile warning 2018-09-26 13:09:39 +05:30
marvell USB/PHY patches for 5.1-rc1 2019-03-06 16:48:27 -08:00
mediatek phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
motorola phy: mapphone-mdm6600: Improve phy related runtime PM calls 2018-12-12 10:01:39 +05:30
mscc phy: ocelot-serdes: convert to use eth phy mode and submode 2018-12-12 10:01:35 +05:30
qualcomm phy: qcom-qmp: Add QMP UFS PHY support for msm8998 2019-02-12 13:02:38 +05:30
ralink phy: add 'depends on HAS_IOMEM' to fix unmet dependency 2018-03-16 13:40:45 +05:30
renesas phy: renesas: rcar-gen3-usb2: follow the hardware manual procedure 2018-12-12 10:01:38 +05:30
rockchip phy: phy-rockchip-inno-usb2: drop reading the utmi-avalid property 2019-02-07 11:10:44 +05:30
samsung phy: exynos-mipi-video: Simplify code by using regmap_update_bits() 2018-04-25 10:52:59 +05:30
socionext phy: uniphier-pcie: Depend on HAS_IOMEM 2018-11-12 16:19:06 +05:30
st phy: stm32: fix usbphyc static checker and checkpatch warnings 2018-05-20 21:51:25 +05:30
tegra phy: Convert to using %pOFn instead of device_node.name 2018-09-25 16:10:07 +05:30
ti phy: for 5.1 2019-02-12 14:59:43 +01:00
Kconfig phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
Makefile phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
phy-core-mipi-dphy.c phy: dphy: Change units of wakeup and init parameters 2019-02-07 11:11:05 +05:30
phy-core.c phy: make phy-core explicitly non-modular 2019-02-07 11:10:45 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: error handling in lpc18xx_usb_otg_phy_power_on() 2018-03-16 13:40:42 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-xgene.c phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-07-04 17:19:21 +05:30