]> www.infradead.org Git - users/hch/misc.git/commitdiff
arm64: dts: rockchip: add pd_npu label for RK3588 power domains
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Mon, 21 Jul 2025 09:17:34 +0000 (11:17 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 11 Aug 2025 07:45:36 +0000 (09:45 +0200)
The NPU of the RK3588 has an external supply. This supply also affects
the power domain of the NPU, not just the NPU device nodes themselves.
Since correctly modelled boards will want the power domain to be aware
of the regulator so that it doesn't always have to be on, add a label to
the NPU power domain node so board files can reference it.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Link: https://lore.kernel.org/r/20250721-6-10-rocket-v9-7-77ebd484941e@tomeuvizoso.net
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi

index 70f03e68ba550d6b9142131dcca86e8ded36e2f1..1eddc69fd9c9ed95cdc810ba48d9683e3f82489a 100644 (file)
                        status = "okay";
 
                        /* These power domains are grouped by VD_NPU */
-                       power-domain@RK3588_PD_NPU {
+                       pd_npu: power-domain@RK3588_PD_NPU {
                                reg = <RK3588_PD_NPU>;
                                #power-domain-cells = <0>;
                                #address-cells = <1>;