linux_dsm_epyc7002/drivers/phy
Chen-Yu Tsai d7119224bf phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS
The AXP223 PMIC, like the AXP221, does not generate VBUS change
interrupts when N_VBUSEN is used to drive VBUS for the OTG port
on the board.

This was not noticed until recently, as most A23/A33 boards use
a GPIO pin that does not support interrupts for OTG ID detection.
This forces the driver to use polling. However the A33-OlinuXino
uses a pin that does support interrupts, so the driver uses them.
However the VBUS interrupt never fires, and the driver never gets
to update the VBUS status. This results in musb timing out waiting
for VBUS to rise.

This was worked around for the AXP221 by resorting to polling
changes in commit 91d96f06a7 ("phy-sun4i-usb: Add workaround for
missing Vbus det interrupts on A31"). This patch adds the A23 and
A33 to the list of SoCs that need the workaround.

Fixes: fc1f45ed30 ("phy-sun4i-usb: Add support for the usb-phys on the
		      sun8i-a33 SoC")
Fixes: 123dfdbcfa ("phy-sun4i-usb: Add support for the usb-phys on the
		      sun8i-a23 SoC")
Cc: <stable@vger.kernel.org> # 4.3.x: 68dbc2ce77 phy-sun4i-usb:
		Use of_match_node to get model specific config data
Cc: <stable@vger.kernel.org> # 4.3.x: 5cf700ac9d phy: phy-sun4i-usb:
		Fix optional gpios failing probe
Cc: <stable@vger.kernel.org> # 4.3.x: 04e59a0211 phy-sun4i-usb:
		Fix irq free conditions to match request conditions
Cc: <stable@vger.kernel.org> # 4.3.x: 91d96f06a7 phy-sun4i-usb:
		Add workaround for missing Vbus det interrupts on A31
Cc: <stable@vger.kernel.org> # 4.3.x
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-03-12 15:12:21 +05:30
..
allwinner phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS 2018-03-12 15:12:21 +05:30
amlogic phy: amlogic: phy-meson-gxl-usb2: rename some of the U2P_R2 registers 2018-03-08 13:56:29 +05:30
broadcom USB/PHY updates for 4.16-rc1 2018-02-01 09:40:49 -08:00
hisilicon phy: add combo phy driver for HiSilicon STB SoCs 2018-02-21 11:54:37 +05:30
lantiq phy: Add an USB PHY driver for the Lantiq SoCs using the RCU module 2017-09-04 21:19:02 +02:00
marvell USB/PHY patches for 4.15-rc1 2017-11-13 21:14:07 -08:00
mediatek phy: phy-mtk-tphy: use of_device_get_match_data() 2017-12-29 13:00:35 +05:30
motorola phy: cpcap-usb: Fix platform_get_irq_byname's error checking. 2017-12-15 16:00:39 +05:30
qualcomm phy: add SPDX identifier to QMP and QUSB2 PHY drivers 2018-03-08 13:56:20 +05:30
ralink phy: ralink: fix 64-bit build warning 2017-08-24 17:26:50 -07:00
renesas phy: rcar-gen3-usb2: select USB_COMMON 2017-12-15 16:00:41 +05:30
rockchip phy: rockchip-emmc: use regmap_read_poll_timeout to poll dllrdy 2018-03-08 13:56:23 +05:30
samsung phy: Remove SOC_EXYNOS4212 dep. from PHY_EXYNOS4X12_USB 2018-03-08 13:56:21 +05:30
st phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30
tegra phy: tegra: remove redundant self assignment of 'map' 2018-02-21 11:54:33 +05:30
ti USB/PHY patches for 4.15-rc1 2017-11-13 21:14:07 -08:00
Kconfig Merge branch '4.14-features' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2017-09-15 20:43:33 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy-core.c phy: Add USB speed related PHY modes 2018-03-08 13:56:17 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: fix clock order in phy init 2015-08-10 20:11:58 +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