[PATCH v15 09/15] pmdomain: rockchip: add optional per-domain power-on settle delay

Heiko Stübner heiko at sntech.de
Tue Nov 3 14:34:12 PST 2026


Am Sonntag, 1. November 2026, 09:23:01 Mitteleuropäische Normalzeit schrieb Jiaxing Hu:
> The RK3576 NPU domains need a short settle time after the idle request is
> released before the registers behind the domain answer. Without it the QoS
> writes that rockchip_pmu_restore_qos() issues land while the domain is
> still coming up, and the NPU throws an async SError on the first cold
> power-on.
> 
> Give rockchip_domain_info an optional delay_us and wait for it between
> releasing idle and restoring QoS. Rename DOMAIN_M_O_R_G to
> DOMAIN_M_O_R_G_W for the settle delay it now carries; RK3576 is its only
> user, so the old spelling is not kept around.
> 
> The macro also takes the regulator argument DOMAIN_M_O_R and DOMAIN_M_R
> already have, and RK3576_PD_NPU passes true, so
> rockchip_pm_add_one_domain() powers that domain off at probe and the delay
> runs on the first power-on even when a bootloader left the NPU up.
> 
> Signed-off-by: Jiaxing Hu <gahing at gahingwoo.com>
> Reviewed-by: Abel Vesa <abel.vesa at oss.qualcomm.com>


Reviewed-by: Heiko Stuebner <heiko at sntech.de>





More information about the Linux-rockchip mailing list