linux/drivers/phy
William Wu 63cd33c2c8 phy: rockchip-inno-usb2: register 480MHz clk at the end of probe
We find an usb phy 480MHz clk prepare fail issue on PX30/RK3326
platforms with RK819 PMIC. On PX30/RK3326 platforms, we set the
usb480m clk to critical because GPU 480M is from usb480m and the
source clocks should be always on. And the usb phy 480MHz clk is
parent of usb480m clk, so the clk framework will prepare the usb
phy 480MHz clk when register it.

This logic works well if the usb phy probe only once. But if the
usb phy needs to probe twice or more because of some reasons (e.g.
fail to get vbus regulator from RK819), the usb phy 480MHz clk will
be unregistered and registered again, however, the clk framework
doesn't prepare the usb phy 480MHz clk except the first time register
operation. So we move the 480MHz clk register to the end of probe,
and make sure only register it once.

Change-Id: If69378b49035746a7c0107c6a363c4d91dfc15e5
Signed-off-by: William Wu <william.wu@rock-chips.com>
Signed-off-by: Bin Yang <yangbin@rock-chips.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2021-05-31 18:42:10 +08:00
..
allwinner rk: revert to v4.19 2021-03-17 18:05:39 +08:00
amlogic USB: changes for v5.8 merge window 2020-05-25 13:28:20 +02:00
broadcom rk: revert to v4.19 2021-03-17 18:05:39 +08:00
cadence phy: cadence-torrent: Fix error code in cdns_torrent_phy_probe() 2021-03-04 11:38:11 +01:00
freescale phy: fsl-imx8mq-usb: Constify imx8mq_usb_phy_ops 2020-08-31 14:36:36 +05:30
hisilicon phy: hisilicon; Constify hi3660_phy_ops 2020-08-31 14:36:36 +05:30
intel phy: intel: PHY_INTEL_KEEMBAY_EMMC should depend on ARCH_KEEMBAY 2020-11-16 13:10:17 +05:30
lantiq rk: revert to v4.19 2021-03-17 18:05:39 +08:00
marvell pci-v5.10-changes 2020-10-22 12:41:00 -07:00
mediatek drm/mediatek: avoid dereferencing a null hdmi_phy on an error message 2020-12-30 11:53:43 +01:00
motorola rk: revert to v4.19 2021-03-17 18:05:39 +08:00
mscc
qualcomm rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ralink phy: ralink-usb: Constify ralink_usb_phy_ops 2020-08-31 14:36:37 +05:30
renesas rk: revert to v4.19 2021-03-17 18:05:39 +08:00
rockchip phy: rockchip-inno-usb2: register 480MHz clk at the end of probe 2021-05-31 18:42:10 +08:00
samsung rk: revert to v4.19 2021-03-17 18:05:39 +08:00
socionext phy: socionext: Add UniPhier AHCI PHY driver support 2020-08-31 17:07:53 +05:30
st phy: stm32: use NULL instead of zero 2020-07-13 12:15:46 +05:30
tegra rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ti rk: revert to v4.19 2021-03-17 18:05:39 +08:00
xilinx phy: zynqmp: Fix unused-function compiler warning 2020-07-01 20:35:29 +05:30
Kconfig phy: USB_LGM_PHY should depend on X86 2021-03-04 11:38:13 +01:00
Makefile phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-core-mipi-dphy.c
phy-core.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
phy-lgm-usb.c phy: Add USB3 PHY support for Intel LGM SoC 2020-09-11 17:12:49 +05:30
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c phy: xgene: remove unsigned integer comparison with less than zero 2020-07-13 12:14:51 +05:30