Re: [PATCH] usb: onboard_dev: add the Rockchip rk1808

From: Chaoyi Chen

Date: Sun Aug 30 2026 - 21:42:27 EST


Hello Rudi,

On 8/28/2026 9:24 PM, Rudi Heitbaum wrote:
> Hi Heiko,
>
> I hadn't looked in to these from the mainline viewpoint. I had been
> using an adapted vendor script based on the radxa npu_powerctl binary
> which reimplements the npu_reset sequence over GPIO.
>
> This has been the sequence:
>
> gpio0 line 4 NPU_PWREN_1 -> 1, 2 ms
> gpio0 line 10 NPU_PWREN_2 -> 1, 2 ms
> gpio0 line 11 NPU_PWREN_3 -> 1, 2 ms
> gpio1 line 22 -> 1, 2 ms
> gpio1 line 23 -> 1, 2 ms
> gpio1 line 24 NPU_PWREN_6 -> 1, 25 ms
> gpio1 line 0 -> 1 (reset release)
>
> I have the schematics and the working N10 here, so let me look into
> describing these in the .dts and update the onboard_usb_dev.h.
>

Perhaps we should first check whether the power-on sequence in
onboard_usb_dev.c meets the requirements, as it enables all
regulator supplies at the same time.

--
Best,
Chaoyi