History log of /rk3399_rockchip-uboot/include/linux/usb/phy-rockchip-naneng-combphy.h (Results 1 – 2 of 2)
Revision Date Author Comments
# 9863b7eb 31-Jul-2024 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip: naneng-combphy: fix phy device mismatch

The uclass_get_device_by_driver() API always finds the first device in
DT probed, however, it may not the PHY that associate with USB download

phy: rockchip: naneng-combphy: fix phy device mismatch

The uclass_get_device_by_driver() API always finds the first device in
DT probed, however, it may not the PHY that associate with USB download
controller, if mismathed, the below errors would be printed in terminal.

download key pressed... entering download mode...
RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1d5a000
failed to enable ep0out
failed to start <NULL>: -110
g_dnl_register: failed!, error: -110
g_dnl_register failedEnter rockusb failed, fallback to bootrom...

So passed the PHY physical address and loop to match the correct PHY
device to fix it.

Fixes: 14d5da7dccb8 ("phy: rockchip: naneng-combphy: Add usb3 phy init for rockusb")
Change-Id: Ib65a104008d6302dca09cc081a3457b3d55e0323
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# 14d5da7d 19-Oct-2023 william.wu <william.wu@rock-chips.com>

phy: rockchip: naneng-combphy: Add usb3 phy init for rockusb

This patch init usb3 phy for rockusb gadget to support super
speed download image. Note that if usb3 phy has been initializd
successfully

phy: rockchip: naneng-combphy: Add usb3 phy init for rockusb

This patch init usb3 phy for rockusb gadget to support super
speed download image. Note that if usb3 phy has been initializd
successfully, we should select clk_usb3otg0_pipe as the source
clock for usb3 otg controller. And if it fail to init usb3 phy,
we should select clk_usb3otg0_utmi as the source clock for usb3
otg controller.

Signed-off-by: Jianwei Zheng <jianwei.zheng@rock-chips.com>
Signed-off-by: william.wu <william.wu@rock-chips.com>
Change-Id: I39d5c863f4f54b27343d033aaea73fb39f873c0d

show more ...