linux_dsm_epyc7002/drivers/phy
William wu f293f7409f phy: rockchip-typec: enable usb3 host during usb3 phy power on
We have forced usb3 to work in usb2 only mode in firmware by setting
usb3tousb2_en (bit3 of GRF_USB3PHY0/1_CON0) to 1, and setting
host_u3_port_disable (bit0 of GRF_USB3OTG0/1_CON1) to 1 and host_u3_port
(bit15~12 of GRF_USB3OTG0/1_CON1) to 0. So we need to re-enable usb3
host.

Note that the RK3399 TRM suggests that we should keep the whole usb3
controller in reset for the duration of the Type-C PHY initialization.
However, it's hard to assert the reset in the current framework of
reset. And according to the TRM, it doesn't require that we should
clear the usb3tousb2 bit before pipe ready. So let's enable the usb3
host after pipe ready to avoid the Type-C PHY initialization failure.

Signed-off-by: William wu <wulf@rock-chips.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2018-03-16 16:55:33 +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: add USB3 PHY support for Meson GXL and GXM 2018-03-16 13:40:44 +05:30
broadcom USB/PHY updates for 4.16-rc1 2018-02-01 09:40:49 -08:00
hisilicon phy: add inno-usb2-phy driver for hi3798cv200 SoC 2018-03-16 16:55:29 +05:30
lantiq
marvell phy: berlin-usb: adjust USB_PHY_RX_CTRL init flags 2018-03-16 13:40:43 +05:30
mediatek phy: phy-mtk-tphy: add configurable parameters for slew rate calibrate 2018-03-16 13:40:42 +05:30
motorola phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4 2018-03-16 16:55:30 +05:30
qualcomm phy: add SPDX identifier to QMP and QUSB2 PHY drivers 2018-03-08 13:56:20 +05:30
ralink phy: add 'depends on HAS_IOMEM' to fix unmet dependency 2018-03-16 13:40:45 +05:30
renesas phy: rcar-gen3-usb2: Add support for r8a77965 2018-03-16 16:55:26 +05:30
rockchip phy: rockchip-typec: enable usb3 host during usb3 phy power on 2018-03-16 16:55:33 +05:30
samsung phy: Remove SOC_EXYNOS4212 dep. from PHY_EXYNOS4X12_USB 2018-03-08 13:56:21 +05:30
st phy: stm32: add support for STM32 USB PHY Controller (USBPHYC) 2018-03-16 16:53:00 +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: error handling in lpc18xx_usb_otg_phy_power_on() 2018-03-16 13:40:42 +05:30
phy-pistachio-usb.c
phy-xgene.c