From: Jiaxing Hu <gahing@gahingwoo.com>
To: ulf.hansson@oss.qualcomm.com, ulfh@kernel.org, heiko@sntech.de
Cc: finley.xiao@rock-chips.com, shawn.lin@rock-chips.com,
sebastian.reichel@collabora.com, vlwwwwww@gmail.com,
leonard@lausen.nl, abel.vesa@oss.qualcomm.com,
tomeu@tomeuvizoso.net, linux-pm@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v17 0/3] pmdomain: rockchip: RK3576 NPU domain supply and settle delay
Date: Sat, 14 Nov 2026 16:04:58 +1300 [thread overview]
Message-ID: <cover.1794615323.git.gahing@gahingwoo.com> (raw)
This series fixes how the Rockchip power-domain driver initializes
domains that need a regulator, adds proper regulator handling for the
RK3576 NPU power domain, and adds a settle wait after power-on for some
RK3576 power domains.
These are the pmdomain patches of the RK3576 NPU series, split out and
rebased on Ulf's next, as Ulf asked after dropping v15 7, 9 and 10:
https://lore.kernel.org/all/CAPx+jO-KKvgRS0br-3QGh6Jt4efWJ+A6YoRZKFV_bcfB+8sm6w@mail.gmail.com/
The accel/rocket and DT patches follow as their own v17:
https://lore.kernel.org/all/cover.1794615324.git.gahing@gahingwoo.com/
Based on: Ulf's next (844a13010b0b)
Changes in v17:
- Reorganized the series as Ulf asked, and split the fix for regulator
domain initialization from the RK3576 NPU regulator handling.
- Following Finley Xiao's (Rockchip) review of v16, the RK3576 delay is
now 15 us on NPUTOP and VOP only.
- Fixed the subdomains of a regulator domain being left in the wrong
state at probe, reported by Vladimir Bely (1/3).
- The RK3576 NPU power domain uses DOMAIN_RK3576_R, the same macro
Leonard Lausen's GPU patch added (2/3).
Testing:
Tested on a Radxa ROCK 4D, with these patches and the rest of v17
backported to Armbian's 7.3 kernel:
- With the NPU disabled in the DT, NPUTOP, NPU0 and NPU1 are switched
off and idled at probe on every boot (16 boots). Without 1/3, all 14
boots left them on, and one of them hung.
- With the NPU enabled, 30 NPU power-ups after a warm reboot and 30
after a cold power-on, with identical output and no SError.
Logs: https://github.com/gahingwoo/linux-rk3576-npu/tree/main/board-logs
Tag changes:
- 3/3 changes the delay values of the v16 patch and is organized
differently, so I've dropped Abel's and Heiko's Reviewed-by. Abel,
Heiko, could you take another look?
Jiaxing Hu (3):
pmdomain: rockchip: switch off the subdomains of a regulator domain at
probe
pmdomain: rockchip: manage the RK3576 NPU domain supply
pmdomain: rockchip: settle RK3576 NPUTOP and VOP after power-on
drivers/pmdomain/rockchip/pm-domains.c | 115 ++++++++++++++++++++++++---------
1 file changed, 85 insertions(+), 30 deletions(-)
base-commit: 844a13010b0b93f8561ef2c088f843647d5e552d
--
2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: Jiaxing Hu <gahing@gahingwoo.com>
To: ulf.hansson@oss.qualcomm.com, ulfh@kernel.org, heiko@sntech.de
Cc: finley.xiao@rock-chips.com, shawn.lin@rock-chips.com,
sebastian.reichel@collabora.com, vlwwwwww@gmail.com,
leonard@lausen.nl, abel.vesa@oss.qualcomm.com,
tomeu@tomeuvizoso.net, linux-pm@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v17 0/3] pmdomain: rockchip: RK3576 NPU domain supply and settle delay
Date: Sat, 14 Nov 2026 16:04:58 +1300 [thread overview]
Message-ID: <cover.1794615323.git.gahing@gahingwoo.com> (raw)
This series fixes how the Rockchip power-domain driver initializes
domains that need a regulator, adds proper regulator handling for the
RK3576 NPU power domain, and adds a settle wait after power-on for some
RK3576 power domains.
These are the pmdomain patches of the RK3576 NPU series, split out and
rebased on Ulf's next, as Ulf asked after dropping v15 7, 9 and 10:
https://lore.kernel.org/all/CAPx+jO-KKvgRS0br-3QGh6Jt4efWJ+A6YoRZKFV_bcfB+8sm6w@mail.gmail.com/
The accel/rocket and DT patches follow as their own v17:
https://lore.kernel.org/all/cover.1794615324.git.gahing@gahingwoo.com/
Based on: Ulf's next (844a13010b0b)
Changes in v17:
- Reorganized the series as Ulf asked, and split the fix for regulator
domain initialization from the RK3576 NPU regulator handling.
- Following Finley Xiao's (Rockchip) review of v16, the RK3576 delay is
now 15 us on NPUTOP and VOP only.
- Fixed the subdomains of a regulator domain being left in the wrong
state at probe, reported by Vladimir Bely (1/3).
- The RK3576 NPU power domain uses DOMAIN_RK3576_R, the same macro
Leonard Lausen's GPU patch added (2/3).
Testing:
Tested on a Radxa ROCK 4D, with these patches and the rest of v17
backported to Armbian's 7.3 kernel:
- With the NPU disabled in the DT, NPUTOP, NPU0 and NPU1 are switched
off and idled at probe on every boot (16 boots). Without 1/3, all 14
boots left them on, and one of them hung.
- With the NPU enabled, 30 NPU power-ups after a warm reboot and 30
after a cold power-on, with identical output and no SError.
Logs: https://github.com/gahingwoo/linux-rk3576-npu/tree/main/board-logs
Tag changes:
- 3/3 changes the delay values of the v16 patch and is organized
differently, so I've dropped Abel's and Heiko's Reviewed-by. Abel,
Heiko, could you take another look?
Jiaxing Hu (3):
pmdomain: rockchip: switch off the subdomains of a regulator domain at
probe
pmdomain: rockchip: manage the RK3576 NPU domain supply
pmdomain: rockchip: settle RK3576 NPUTOP and VOP after power-on
drivers/pmdomain/rockchip/pm-domains.c | 115 ++++++++++++++++++++++++---------
1 file changed, 85 insertions(+), 30 deletions(-)
base-commit: 844a13010b0b93f8561ef2c088f843647d5e552d
--
2.43.0
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next reply other threads:[~2026-11-14 3:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 3:04 Jiaxing Hu [this message]
2026-11-14 3:04 ` [PATCH v17 0/3] pmdomain: rockchip: RK3576 NPU domain supply and settle delay Jiaxing Hu
2026-11-14 3:04 ` [PATCH v17 1/3] pmdomain: rockchip: switch off the subdomains of a regulator domain at probe Jiaxing Hu
2026-11-14 3:04 ` Jiaxing Hu
2026-11-14 3:05 ` [PATCH v17 2/3] pmdomain: rockchip: manage the RK3576 NPU domain supply Jiaxing Hu
2026-11-14 3:05 ` Jiaxing Hu
2026-11-14 3:05 ` [PATCH v17 3/3] pmdomain: rockchip: settle RK3576 NPUTOP and VOP after power-on Jiaxing Hu
2026-11-14 3:05 ` Jiaxing Hu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1794615323.git.gahing@gahingwoo.com \
--to=gahing@gahingwoo.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=finley.xiao@rock-chips.com \
--cc=heiko@sntech.de \
--cc=leonard@lausen.nl \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=sebastian.reichel@collabora.com \
--cc=shawn.lin@rock-chips.com \
--cc=tomeu@tomeuvizoso.net \
--cc=ulf.hansson@oss.qualcomm.com \
--cc=ulfh@kernel.org \
--cc=vlwwwwww@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.