linux/drivers
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
..
accessibility speakup: fix uninitialized flush_lock 2020-12-30 11:53:44 +01:00
acpi Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
amba Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
android ANDROID: vendor_hooks: Add hook for binder 2021-04-27 19:18:56 +00:00
ata rk: revert to v4.19 2021-03-17 18:05:39 +08:00
atm atm: idt77252: fix null-ptr-dereference 2021-03-30 14:31:50 +02:00
auxdisplay rk: revert to v4.19 2021-03-17 18:05:39 +08:00
base Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
bcma rk: revert to v4.19 2021-03-17 18:05:39 +08:00
block Merge 5.10.31 into android12-5.10 2021-04-16 16:01:44 +02:00
bluetooth Bluetooth: hci_ldisc: fix race between open, close and send data 2021-05-12 17:10:00 +08:00
bus bus: ti-sysc: Fix warning on unbind if reset is not deasserted 2021-04-10 13:36:07 +02:00
cdrom rk: revert to v4.19 2021-03-17 18:05:39 +08:00
char Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
clk clk: rockchip: add clock controller for rk1808 2021-05-21 18:13:21 +08:00
clocksource FROMLIST: drivers/clocksource/timer-of: Remove __init markings 2021-04-17 08:41:37 +00:00
connector rk: revert to v4.19 2021-03-17 18:05:39 +08:00
counter counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register 2021-03-25 09:04:16 +01:00
cpufreq Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
cpuidle ANDROID: cpuidle: Move vendor hook to enter proper state 2021-03-25 19:14:33 +00:00
crypto Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
dax rk: revert to v4.19 2021-03-17 18:05:39 +08:00
dca
devfreq Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-03-17 18:07:51 +08:00
dio
dma This is the 5.10.32 stable release 2021-04-22 11:12:08 +02:00
dma-buf UPSTREAM: dma-fence: allow signaling drivers to set fence timestamp 2021-04-07 14:17:51 +00:00
edac rk: revert to v4.19 2021-03-17 18:05:39 +08:00
eisa
extcon extcon: Add EXTCON_USB_VBUS_EN for USB Type-C 2021-05-31 14:54:40 +08:00
firewire firewire: nosy: Fix a use-after-free bug in nosy_ioctl() 2021-04-07 15:00:11 +02:00
firmware Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
fpga rk: revert to v4.19 2021-03-17 18:05:39 +08:00
fsi rk: revert to v4.19 2021-03-17 18:05:39 +08:00
gnss rk: revert to v4.19 2021-03-17 18:05:39 +08:00
gpio gpio: add gpio-rockchip driver 2021-05-10 18:00:30 +08:00
gpu drm/rockchip: Add vop2 support 2021-05-25 11:51:43 +08:00
greybus
headset_observe treewide: replace '---help---' in Kconfig files with 'help' (rk) 2021-04-08 18:57:03 +08:00
hid hid: usbhid: enable hid to wakeup system if it supports remote wakeup 2021-05-25 16:29:12 +08:00
hsi rk: revert to v4.19 2021-03-17 18:05:39 +08:00
hv rk: revert to v4.19 2021-03-17 18:05:39 +08:00
hwmon rk: revert to v4.19 2021-03-17 18:05:39 +08:00
hwspinlock Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-03-17 18:07:51 +08:00
hwtracing ANDROID: arm64: coresight: Fix a sparse warning 2021-04-09 18:38:38 +00:00
i2c Merge 5.10.30 into android12-5.10 2021-04-15 14:23:41 +02:00
i3c i3c master: fix missing destroy_workqueue() on error in i3c_master_register 2021-01-06 14:56:53 +01:00
ide rk: revert to v4.19 2021-03-17 18:05:39 +08:00
idle rk: revert to v4.19 2021-03-17 18:05:39 +08:00
iio Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
infiniband RDMA/addr: Be strict with gid size 2021-04-14 08:42:12 +02:00
input Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
interconnect interconnect: core: fix error return code of icc_link_destroy() 2021-04-16 11:43:19 +02:00
iommu Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
ipack rk: revert to v4.19 2021-03-17 18:05:39 +08:00
irqchip Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
isdn mISDN: fix crash in fritzpci 2021-04-10 13:36:08 +02:00
leds Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-03-17 18:07:51 +08:00
lightnvm rk: revert to v4.19 2021-03-17 18:05:39 +08:00
macintosh rk: revert to v4.19 2021-03-17 18:05:39 +08:00
mailbox Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
mcb
md dm verity fec: fix misaligned RS roots IO 2021-04-21 13:00:54 +02:00
media Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
memory UPSTREAM: memory: mtk-smi: Allow building as module 2021-03-24 12:45:16 -07:00
memstick rk: revert to v4.19 2021-03-17 18:05:39 +08:00
message rk: revert to v4.19 2021-03-17 18:05:39 +08:00
mfd mfd: rk808: Call rk808_i2c_driver_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2021-05-17 14:49:07 +08:00
misc Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
mmc mmc: dw_mmc: Fix thunder boot support 2021-05-17 14:14:43 +08:00
most
mtd Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
mux
net Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
nfc Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-03-17 18:07:51 +08:00
ntb rk: revert to v4.19 2021-03-17 18:05:39 +08:00
nubus
nvdimm libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC 2021-04-21 13:00:55 +02:00
nvme nvmet-tcp: fix kmap leak when data digest in use 2021-04-07 15:00:06 +02:00
nvmem Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
of Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
opp rk: revert to v4.19 2021-03-17 18:05:39 +08:00
oprofile
parisc rk: revert to v4.19 2021-03-17 18:05:39 +08:00
parport rk: revert to v4.19 2021-03-17 18:05:39 +08:00
pci Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
pcmcia rk: revert to v4.19 2021-03-17 18:05:39 +08:00
perf rk: revert to v4.19 2021-03-17 18:05:39 +08:00
phy phy: rockchip-inno-usb2: register 480MHz clk at the end of probe 2021-05-31 18:42:10 +08:00
pinctrl pinctrl: rk805: add rk816 support 2021-05-12 14:18:10 +08:00
platform Merge 5.10.29 into android12-5.10 2021-04-11 09:11:53 +02:00
pnp
power Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
powercap UPSTREAM: powercap/drivers/dtpm: Add the experimental label to the option description 2021-03-22 15:24:47 +00:00
pps rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ps3 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ptp ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation 2021-04-10 13:36:09 +02:00
pwm Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
rapidio rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ras RAS/CEC: Correct ce_add_elem()'s returned values 2021-04-14 08:42:12 +02:00
regulator regulator: rk808: Call rk808_regulator_driver_init() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y 2021-05-17 14:22:42 +08:00
remoteproc FROMLIST: remoteproc: core: Move cdev add before device add 2021-04-23 18:42:39 -07:00
reset rk: revert to v4.19 2021-03-17 18:05:39 +08:00
rk_nand drivers: rk_nand: fix the problem of clang compilate error 2021-04-08 09:35:17 +08:00
rkflash drivers: rkflash: Support more slc nand 2021-03-12 14:31:42 +08:00
rpmsg rk: revert to v4.19 2021-03-17 18:05:39 +08:00
rtc rtc: hym8563: set init time 2021-05-20 20:43:43 +08:00
s390 Merge 5.10.26 into android12-5.10-lts 2021-03-25 17:15:27 +01:00
sbus rk: revert to v4.19 2021-03-17 18:05:39 +08:00
scsi This is the 5.10.32 stable release 2021-04-22 11:12:08 +02:00
sfi
sh
siox
slimbus rk: revert to v4.19 2021-03-17 18:05:39 +08:00
soc soc: rockchip: Add ROCKCHIP_THUNDER_BOOT config 2021-05-17 14:16:00 +08:00
soundwire rk: revert to v4.19 2021-03-17 18:05:39 +08:00
spi Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-04-25 18:33:22 +08:00
spmi spmi: spmi-pmic-arb: Fix hw_irq overflow 2021-03-04 11:38:40 +01:00
ssb rk: revert to v4.19 2021-03-17 18:05:39 +08:00
staging Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
switch
target scsi: target: iscsi: Fix zero tag inside a trace event 2021-04-14 08:42:03 +02:00
tc rk: revert to v4.19 2021-03-17 18:05:39 +08:00
tee rk: revert to v4.19 2021-03-17 18:05:39 +08:00
testcode
thermal thermal: rockchip: Support RK3568 SoCs in the thermal driver 2021-05-20 18:41:43 +08:00
thunderbolt thunderbolt: Fix off by one in tb_port_find_retimer() 2021-04-14 08:42:03 +02:00
tty Merge 5.10.28 into android12-5.10 2021-04-09 09:29:17 +02:00
uio rk: revert to v4.19 2021-03-17 18:05:39 +08:00
usb USB: ehci-platform: support EHCIs with usic phy 2021-05-28 15:37:39 +08:00
vdpa vdpa/mlx5: Fix wrong use of bit numbers 2021-04-14 08:42:12 +02:00
vfio This is the 5.10.32 stable release 2021-04-22 11:12:08 +02:00
vhost vhost: Fix vhost_vq_reset() 2021-04-07 15:00:05 +02:00
video Merge remote branch 'android12-5.10' of https://android.googlesource.com/kernel/common 2021-05-03 19:52:23 +08:00
virt rk: revert to v4.19 2021-03-17 18:05:39 +08:00
virtio FROMGIT: mm, page_poison: remove CONFIG_PAGE_POISONING_NO_SANITY 2021-03-24 15:09:17 -07:00
visorbus rk: revert to v4.19 2021-03-17 18:05:39 +08:00
vlynq
vme rk: revert to v4.19 2021-03-17 18:05:39 +08:00
w1 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
watchdog rk: revert to v4.19 2021-03-17 18:05:39 +08:00
xen xen/events: fix setting irq affinity 2021-04-16 11:43:22 +02:00
zorro
Kconfig rk: revert to v4.19 2021-03-17 18:05:39 +08:00
Makefile rk: revert to v4.19 2021-03-17 18:05:39 +08:00
OWNERS ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS 2021-04-03 14:11:30 +00:00