[PATCH v2 0/4] phy: rockchip: inno-usb2: ensure PHY is running when clock is requested
Sebastian Reichel
sebastian.reichel at collabora.com
Thu Oct 1 14:34:25 PDT 2026
Hi,
On Thu, Oct 01, 2026 at 03:12:38PM +0200, Sebastian Reichel wrote:
> This was noticed on RK3588 EVB1 when resuming from system suspend. This
> is technically a fix, but its unclear when the bug was introduced and
> system suspend is broken on RK3588 for quite a while and not just due
> to this problem. So I think this fix can be merged the normal way via
> linux-next.
>
> Changes in v2:
> - Link to v1: https://patch.msgid.link/20260908-phy-rockchip-inno-usb2-clock-fix-v1-1-f7d59c31b908@collabora.com
> - Move suspend exit code from rockchip_usb2phy_power_on into a
> separate patch and reuse it in the clock prepare function;
> move is done in a separate patch
> - Updated commit messages with proper rationale
> - Added one more patch dropping useless assignment
> of rport->suspended directly after calling
> rockchip_usb2phy_power_on/off
> - Add one more patch unifying and simplifying the debug
> messages for phy init/power_on/power_off/exit
I was too fast sending this out. While it fixes the problem on
RK3588 EVB1 (used for testing this series), I just noticed it seems
to introduce a new SError in DWC3 on RK3576 boards during boot. This
is quite unexpected. I will investigate after LPC/OSSEU. For now
please ignore this series.
Sorry for the noise.
Greetings,
-- Sebastian
>
> ---
> To: Vinod Koul <vkoul at kernel.org>
> To: Neil Armstrong <neil.armstrong at linaro.org>
> To: Manivannan Sadhasivam <mani at kernel.org>
> To: Heiko Stuebner <heiko at sntech.de>
> Cc: linux-phy at lists.infradead.org
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-rockchip at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> Cc: Igor Paunovic <royalnet026 at gmail.com>
> Cc: kernel at collabora.com
> Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
>
> ---
> Sebastian Reichel (4):
> phy: rockchip: inno-usb2: simplify and unify PHY op debug messages
> phy: rockchip: inno-usb2: drop duplicated update of rport->suspended
> phy: rockchip: inno-usb2: move suspend handling into new function
> phy: rockchip: inno-usb2: move suspend handling into clock prepare/unprepare for RK3588/RK3576
>
> drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 85 +++++++++++++++++++--------
> 1 file changed, 59 insertions(+), 26 deletions(-)
> ---
> base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
> change-id: 20260908-phy-rockchip-inno-usb2-clock-fix-edd65b57f884
>
> Best regards,
> --
> Sebastian Reichel <sebastian.reichel at collabora.com>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20261001/a04f74c3/attachment.sig>
More information about the Linux-rockchip
mailing list