History log of /rk3399_rockchip-uboot/drivers/phy/phy-rockchip-inno-usb2.c (Results 1 – 25 of 49)
Revision Date Author Comments
# 744fe953 13-Mar-2025 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip: inno-usb2: add usb2 phy support for rv1126b

Sync from Rockchip kernel develop-6.1-fpga branch, refer to
commit: "f91731cf2eb3" (phy: rockchip: inno-usb2: Add usb2 phy support for rv11

phy: rockchip: inno-usb2: add usb2 phy support for rv1126b

Sync from Rockchip kernel develop-6.1-fpga branch, refer to
commit: "f91731cf2eb3" (phy: rockchip: inno-usb2: Add usb2 phy support for rv1126b)

Change-Id: I6a876ba1f782427ef041d6f9b27bad9ceba75247
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# d44623ab 19-Sep-2024 William Wu <william.wu@rock-chips.com>

phy: rockchip-inno-usb2: Add usb2 phy support for rv1103b

Change-Id: I88edf35ccac836e8445d298c3b08420c47d10987
Signed-off-by: William Wu <william.wu@rock-chips.com>


# 28538f86 22-Aug-2024 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip: inno-usb2: add phy tuning for px30

This adds px30 phy tuning to open pre-emphasize in non-chirp
state for both otg and host port.

Change-Id: If1a450c2fff4da49d7ebc1894c735e0b3b237b54

phy: rockchip: inno-usb2: add phy tuning for px30

This adds px30 phy tuning to open pre-emphasize in non-chirp
state for both otg and host port.

Change-Id: If1a450c2fff4da49d7ebc1894c735e0b3b237b54
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# f232c7a7 22-Aug-2024 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip: inno-usb2: add a new compatible for px30

This adds a new udevice compatible for PX30 SoCs.

Change-Id: I830e322ecbfa24f0f6fec616a25d7ded322e3ec6
Signed-off-by: Frank Wang <frank.wang@

phy: rockchip: inno-usb2: add a new compatible for px30

This adds a new udevice compatible for PX30 SoCs.

Change-Id: I830e322ecbfa24f0f6fec616a25d7ded322e3ec6
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# a8532031 07-Aug-2024 William Wu <william.wu@rock-chips.com>

phy: rockchip-inno-usb2: Support vbus detection via gpio for rk3506

Change-Id: I304a5fae8fa97f479bffd438e2d419ab17e96e12
Signed-off-by: William Wu <william.wu@rock-chips.com>


# 48642b3d 07-Aug-2024 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: support u2phy tuning for rk3506

Sync from kernel-6.1 commit 61b5bd9354ed ("phy: rockchip: inno-usb2:
support usb2 phy tuning for rk3506").

Change-Id: Ie2a71dc74c17bb34c2a61

phy: rockchip-inno-usb2: support u2phy tuning for rk3506

Sync from kernel-6.1 commit 61b5bd9354ed ("phy: rockchip: inno-usb2:
support usb2 phy tuning for rk3506").

Change-Id: Ie2a71dc74c17bb34c2a619c25c5a35499a6835b5
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# c0ed503d 07-Aug-2024 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add more helper functions

This adds clear/set/update register bits helper functions to make
the code more simpler.

Change-Id: I7040cc5ae7122162ef027313ab936987faff2bd1
Sign

phy: rockchip-inno-usb2: add more helper functions

This adds clear/set/update register bits helper functions to make
the code more simpler.

Change-Id: I7040cc5ae7122162ef027313ab936987faff2bd1
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# d888bdb2 28-Jun-2024 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add usb2 phy support for rk3506

rk3506 has two otg ports and uses one USB PHY with two ports.
The OTG0 port support BC1.2 detect.

This sync from rk/kernel/develop-6.1 commi

phy: rockchip-inno-usb2: add usb2 phy support for rk3506

rk3506 has two otg ports and uses one USB PHY with two ports.
The OTG0 port support BC1.2 detect.

This sync from rk/kernel/develop-6.1 commit

Change-Id: Ie6e11c1a58b97d52fbf74b8bfd11482362600e03
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# 665d5247 31-Jan-2024 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add usb2 phys support for rk3576

Sync from Rockchip Kernel-6.1 branch, commit "a49cd2df935c"
(phy: rockchip: inno-usb2: Add usb2 phys support for rk3576)

- Fix charger dete

phy: rockchip-inno-usb2: add usb2 phys support for rk3576

Sync from Rockchip Kernel-6.1 branch, commit "a49cd2df935c"
(phy: rockchip: inno-usb2: Add usb2 phys support for rk3576)

- Fix charger detection for rk3576
Set pull-down resistor not connected to DP/DM
during charger detection, it can avoid SDP
charger detection when usb interface is actually
in floating state.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: I9855e0e1e31ec2ea938a2ef38d6da6b414e675e2

show more ...


# ccdda0c6 31-May-2023 William Wu <william.wu@rock-chips.com>

phy: rockchip-inno-usb2: Add build depends on CONFIG_ROCKCHIP_PX30

Fix 8abfec86d2d0 ("phy: rockchip-inno-usb2: build depends on Rockchip platform config")
Signed-off-by: William Wu <william.wu@rock-

phy: rockchip-inno-usb2: Add build depends on CONFIG_ROCKCHIP_PX30

Fix 8abfec86d2d0 ("phy: rockchip-inno-usb2: build depends on Rockchip platform config")
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I7cd0357c75782dac6cb84175f53f885df1676960

show more ...


# a3747b83 09-Mar-2023 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add bvalid to fix charger detection

U-Boot would enter to the download mode even if there is no USB cable
plugged because of the wrong POWER_SUPPLY_TYPE has been detected on

phy: rockchip-inno-usb2: add bvalid to fix charger detection

U-Boot would enter to the download mode even if there is no USB cable
plugged because of the wrong POWER_SUPPLY_TYPE has been detected on
RK3588/RK3588S SoCs. The reason is the VBUS check was missed, so adds
the bvalid registers to fix it.

Change-Id: I87d7fd23e284739e59a6b9fb94341e2b958a85c5
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# 8abfec86 03-Mar-2023 Jianwei Zheng <jianwei.zheng@rock-chips.com>

phy: rockchip-inno-usb2: build depends on Rockchip platform config

when build with CONFIG_PHY_ROCKCHIP_INNO_USB2 enabled:

size drivers/phy/phy-rockchip-inno-usb2.o

before:
text data bss

phy: rockchip-inno-usb2: build depends on Rockchip platform config

when build with CONFIG_PHY_ROCKCHIP_INNO_USB2 enabled:

size drivers/phy/phy-rockchip-inno-usb2.o

before:
text data bss dec hex filename
38457 172 0 38629 96e5 drivers/phy/phy-rockchip-inno-usb2.o
after:
text data bss dec hex filename
4195 172 0 4367 110f drivers/phy/phy-rockchip-inno-usb2.o

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

show more ...


# baa12648 02-Mar-2023 Jianwei Zheng <jianwei.zheng@rock-chips.com>

phy: rockchip-inno-usb2: add usb2 phy support for rk3036

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


# 71c0b475 01-Mar-2023 Jianwei Zheng <jianwei.zheng@rock-chips.com>

phy: rockchip-inno-usb2: change HS disconnect detect mode for RV1106

This patch set HS disconnect detect mode to single ended detect mode
for RV1106, fix RV1106 can not recognize device plug out som

phy: rockchip-inno-usb2: change HS disconnect detect mode for RV1106

This patch set HS disconnect detect mode to single ended detect mode
for RV1106, fix RV1106 can not recognize device plug out sometimes.

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

show more ...


# 1a36d2ee 12-Jan-2023 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add usb2 phy support for rk3562

RK3652 has one USB2.0 PHY with two ports, the OTG port support OTG
and BC1.2, the SoC provide USB GRF and APB to access the registers.

Chang

phy: rockchip-inno-usb2: add usb2 phy support for rk3562

RK3652 has one USB2.0 PHY with two ports, the OTG port support OTG
and BC1.2, the SoC provide USB GRF and APB to access the registers.

Change-Id: I200494fbf99c518b7a289a4d373d80f40eeedcd9
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# 5c59af98 19-Dec-2022 Jianwei Zheng <jianwei.zheng@rock-chips.com>

phy: rockchip-inno-usb2: support phy tuning for rk3528

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


# b0ac9faa 02-Dec-2022 William Wu <william.wu@rock-chips.com>

phy: rockchip-inno-usb2: add usb2 phy support for rv1106

The rv1106 supports one USB2 OTG port, this patch adds
phy configurations and also fixes vbus supply, which
is independent of iddig status, t

phy: rockchip-inno-usb2: add usb2 phy support for rv1106

The rv1106 supports one USB2 OTG port, this patch adds
phy configurations and also fixes vbus supply, which
is independent of iddig status, then it can support
OTG Host vbus supply with Type-A interface.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ib983526499cebaeadd7a9a042552b30eb235c430

show more ...


# 46943c07 28-Nov-2022 Jianwei Zheng <jianwei.zheng@rock-chips.com>

phy: rockchip-inno-usb2: add usb2 phy support for rk3528

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


# a9b1eb66 11-Mar-2022 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip: inno-usb2/naneng-usb2: amend phy device get

Due to Linux mainline changed the usb-phy node name to "usb2phy@" from
"usb2-phy@" since commit e71ccdff376b ("dt-bindings: phy: rename phy

phy: rockchip: inno-usb2/naneng-usb2: amend phy device get

Due to Linux mainline changed the usb-phy node name to "usb2phy@" from
"usb2-phy@" since commit e71ccdff376b ("dt-bindings: phy: rename phy
nodename in phy-rockchip-inno-usb2.yaml"), so add a fallback in U-Boot
to make compatible.

Change-Id: I83941777ad9a26e7df75915710100a1a45dd0760
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# 4b06b44b 21-Feb-2022 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add host support for otg port

Adds "vbus-supply" regulator support for USB OTG port and "utmi_iddig"
property for RK3588 SoCs.

Change-Id: I93f6cdf0fed889bb1d80aa3f59e823a6b

phy: rockchip-inno-usb2: add host support for otg port

Adds "vbus-supply" regulator support for USB OTG port and "utmi_iddig"
property for RK3588 SoCs.

Change-Id: I93f6cdf0fed889bb1d80aa3f59e823a6b95ba3c8
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# 134d55e1 24-Jan-2022 Jianwei Zheng <jianwei.zheng@rock-chips.com>

phy: rockchip-inno-usb2: support px30s/rk3326s phy tuning

px30s/rk3326s may have some problem during loader because of poor signal
quality,so phy tuning must be done for px30s/rk3326s.

Signed-off-b

phy: rockchip-inno-usb2: support px30s/rk3326s phy tuning

px30s/rk3326s may have some problem during loader because of poor signal
quality,so phy tuning must be done for px30s/rk3326s.

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

show more ...


# 4367cef2 04-Jan-2022 William Wu <william.wu@rock-chips.com>

phy: rockchip: inno-usb2: add phy reset and tuning for rk3588

Deassert SIDDQ to power on analog block and reset phy
firstly, and tuning the high speed Tx signal for the
four independent USB2.0 PHYs

phy: rockchip: inno-usb2: add phy reset and tuning for rk3588

Deassert SIDDQ to power on analog block and reset phy
firstly, and tuning the high speed Tx signal for the
four independent USB2.0 PHYs of RK3588.

1. Adjust the HS DC level voltage from design default
4'b0110:0 to 4'b1001:+5.89%.
2. Adjust the HS Transmitter pre-emphasis current control
from design default 2'b00 disabled pre-emphasis to
2'b10 2x pre-emphasis current.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I3d74e8ee028a6f3f052a39fa4071f9ee505940a3

show more ...


# 2322cbe1 14-Dec-2021 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip: inno-usb2: fix charger detection for rk3588

Fixing the charger detection fail on DCD stage and the wrong opmode
configured previously for RK3588 SoCs.

Change-Id: I84d21a15b3b45130250

phy: rockchip: inno-usb2: fix charger detection for rk3588

Fixing the charger detection fail on DCD stage and the wrong opmode
configured previously for RK3588 SoCs.

Change-Id: I84d21a15b3b45130250dfd3b6469177f05e4bff4
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# b30b0946 30-Nov-2021 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add usb2 phy support for rk3588

Porting from Kernel develop-5.10 commit 0221f1547fab ("phy: rockchip:
inno-usb2: Add usb2 phy support for rk3588").

Change-Id: Ic4d5b7be7347

phy: rockchip-inno-usb2: add usb2 phy support for rk3588

Porting from Kernel develop-5.10 commit 0221f1547fab ("phy: rockchip:
inno-usb2: Add usb2 phy support for rk3588").

Change-Id: Ic4d5b7be7347bd381de8fae728dcc3dbbaeae043
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


# 675552f7 01-Nov-2021 Frank Wang <frank.wang@rock-chips.com>

phy: rockchip-inno-usb2: add rk3308 phy configs

Discard RK3328 reused config and add a new RK3308 config since the PHY
tuning must be done for RK3308 SoCs.

Change-Id: I393d9540da6f7f5a40863d0aec897

phy: rockchip-inno-usb2: add rk3308 phy configs

Discard RK3328 reused config and add a new RK3308 config since the PHY
tuning must be done for RK3308 SoCs.

Change-Id: I393d9540da6f7f5a40863d0aec8974a4472252ca
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>

show more ...


12