Re: [RFC PATCH v1 0/6] rockchip: add a functional usb3 phy driver for rk3328

Peter Geis
2025-01-16T14:03:09Z

On Wed, Jan 15, 2025 at 8:25 AM Piotr Oniszczuk
<piotr.oniszczuk@gmail.com> wrote:
>
>
>
> > Wiadomość napisana przez Peter Geis <pgwipeout@gmail.com> w dniu 15 sty 2025, o godz. 14:15:
> >
> >>
> >>
> >> pls find:
> >>
> >> dtsi: https://gist.github.com/warpme/6af9e2778fb06bfb47b64f98fe79d678
> >> and dt: https://gist.github.com/warpme/79340c54c87b2b1e52f2a146461d8c9f
> >>
> >>
> >> and compiled .dtb
> >
> > It all looks good.
> > Do you have any CRU errors in the boot log?
> > Can you check for the presence of clk_ref_usb3otg in
> > /sys/kernel/debug/clk/clk_summary?
> >
> >>
>
> cru errors in dmesg - seems no any.
> here is my dmesg: https://gist.github.com/warpme/ecf38482cc88fb68471355d011ecf974
>
> For clk_ref_usb3otg i’m getting following:
>
> root@myth-frontend-e67a8de4c815:~ # cat /sys/kernel/debug/clk/clk_summary | grep usb3
> clk_usb3otg_suspend 0 0 0 30770 0 0 50000 N deviceless no_connection_id
> clk_usb3otg_ref 0 0 0 24000000 0 0 50000 N deviceless no_connection_id
> clk_ref_usb3otg 0 0 0 24000000 0 0 50000 Y deviceless no_connection_id
> pclk_usb3_grf 0 0 0 75000000 0 0 50000 Y deviceless no_connection_id
> pclk_usb3phy_pipe 0 0 0 75000000 0 0 50000 N deviceless no_connection_id
> pclk_usb3phy_otg 0 0 0 75000000 0 0 50000 N deviceless no_connection_id
> clk_ref_usb3otg_src 0 0 0 37500000 0 0 50000 N deviceless no_connection_id
> aclk_usb3otg 0 0 0 150000000 0 0 50000 N deviceless no_connection_id
>

I'm at a loss here, I applied the patches to a clean 6.9 tree and even
built it as a module (thank you for the sentinel). I have no issues.
I'm wondering if it's your .config or something about your bootloader.

>