linux/drivers/phy
Tony Lindgren 9492535ecd phy: cpcap-usb: Improve host vs docked mode detection
When docked to a Motorola lapdock or media dock, we're in USB A-host mode
with VBUS provided by the dock. When in regular USB A-host mode, we're
providing the VBUS. And in regular USB A-host mode we must also keep
kicking the VBUS to keep it active.

Let's wait a bit before configuring the USB PHY to allow some time between
the ID and VBUS changes. And let's add vbus_provider flag so we can detect
docked mode and regularo USB A-host mode better.

With better USB A-host mode detection, we can now also just kick the
VBUS to keep it enabled and leave out the unnecessary line muxing.

We only need to set and clear vbus_provider in the delayed work so no
locking is needed for it currently.

Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2019-12-26 16:27:53 +05:30
..
allwinner phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC 2019-10-31 16:54:00 +05:30
amlogic phy: meson-g12a-usb3-pcie: Add support for PCIe mode 2019-10-15 14:57:32 +01:00
broadcom phy: phy-brcm-usb-init: fix use of integer as pointer 2019-10-23 13:20:31 +05:30
cadence treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
freescale phy: for 5.3 2019-07-01 15:04:59 +02:00
hisilicon phy: hisilicon: use devm_platform_ioremap_resource() to simplify code 2019-10-23 13:20:28 +05:30
lantiq phy: lantiq: vrx200-pcie: fix error return code in ltq_vrx200_pcie_phy_power_on() 2019-10-31 16:54:01 +05:30
marvell ARM: SoC-related driver updates 2019-12-05 11:43:31 -08:00
mediatek treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
motorola phy: cpcap-usb: Improve host vs docked mode detection 2019-12-26 16:27:53 +05:30
mscc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qualcomm phy: qcom-qmp: Increase PHY ready timeout 2019-12-20 17:13:59 +05:30
ralink treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
renesas phy: renesas: phy-rcar-gen2: Fix the array off by one warning 2019-10-31 16:54:01 +05:30
rockchip phy: phy-rockchip-inno-usb2: add phy description for px30 2019-10-31 18:27:47 +05:30
samsung phy: samsung: disable bind/unbind platform driver feature 2019-08-23 09:40:59 +05:30
socionext treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
st treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tegra phy: tegra: use regulator_bulk_set_supply_names() 2019-10-25 17:58:13 +05:30
ti Char/Misc driver patches for 5.5-rc1 2019-11-27 10:53:50 -08:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile phy: enable compile-testing for the Lantiq PHY drivers 2019-08-23 09:40: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: core: document phy_calibrate() 2019-08-23 09:40:57 +05:30
phy-lpc18xx-usb-otg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-pistachio-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-xgene.c phy: xgene: make array serdes_reg static const, makes object smaller 2019-10-23 13:20:26 +05:30