From: Shawn Lin <shawn.lin@rock-chips.com>
To: Alexey Charkov <alchark@flipper.net>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Sebastian Reichel <sre@kernel.org>
Cc: shawn.lin@rock-chips.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH 0/5] power: reset: syscon-reboot-mode: Add support for Rockchip RK3576 reboot modes
Date: Tue, 29 Sep 2026 09:39:41 +0800 [thread overview]
Message-ID: <9d48120b-8206-4c74-8e98-3a1aea2d08bf@rock-chips.com> (raw)
In-Reply-To: <20260928-b4-rk3576-reboot-mode-v1-0-65486b03bd41@flipper.net>
Hi Alexey
在 2026/09/29 星期二 1:18, Alexey Charkov 写道:
> Rockchip RK3576 supports reboots with a specified boot device priority
> mode, allowing one to override the board-defined strapping config and the
> OTP programmed priority setting.
>
> Supporting it requires several changes though:
> - The boot mode request needs to be forwarded via TF-A to the boot ROM
> (upstream since TF-A commit 2a97ba20e901 ("feat(rk3576): forward any
> boot ROM boot mode request on reset"))
> - Some power supplies need to be kept active across the reboot to prevent
> early boot code from running into a synchronous abort
> - The magic values for each of the supported boot modes need to be defined
> for the OS to use
>
> This series enables the above with the RK3576 EVB1 board as the example
> user. Other boards will likely need a close to identical change to make
> use of this functionality, but need testing.
>
Nice work, I did a quick test on my RK3576 EVB1 board, this
series works for me.
Tested-by: Shawn Lin <shawn.lin@rock-chips.com>
> Signed-off-by: Alexey Charkov <alchark@flipper.net>
> ---
> Alexey Charkov (5):
> dt-bindings: soc: rockchip: add boot ROM download boot mode
> dt-bindings: power: reset: syscon-reboot-mode: allow supplies
> power: reset: syscon-reboot-mode: enable supplies for the next stage
> arm64: dts: rockchip: add reboot-mode node to RK3576
> arm64: dts: rockchip: name the reboot mode supplies on RK3576 EVB1
>
> .../bindings/power/reset/syscon-reboot-mode.yaml | 8 +++++
> arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dts | 16 +++++++++
> arch/arm64/boot/dts/rockchip/rk3576.dtsi | 36 ++++++++++++++++++++
> drivers/power/reset/syscon-reboot-mode.c | 39 ++++++++++++++++++++++
> include/dt-bindings/soc/rockchip,boot-mode.h | 2 ++
> 5 files changed, 101 insertions(+)
> ---
> base-commit: 6375e61c01e93e35ee7acd336a689ac1fae4b509
> change-id: 20260928-b4-rk3576-reboot-mode-d3804e39df04
>
> Best regards,
> --
> Alexey Charkov <alchark@flipper.net>
>
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
>
prev parent reply other threads:[~2026-09-29 2:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 17:18 [PATCH 0/5] power: reset: syscon-reboot-mode: Add support for Rockchip RK3576 reboot modes Alexey Charkov
2026-09-28 17:18 ` [PATCH 1/5] dt-bindings: soc: rockchip: add boot ROM download boot mode Alexey Charkov
2026-09-28 17:18 ` [PATCH 2/5] dt-bindings: power: reset: syscon-reboot-mode: allow supplies Alexey Charkov
2026-09-28 17:18 ` [PATCH 3/5] power: reset: syscon-reboot-mode: enable supplies for the next stage Alexey Charkov
2026-09-28 17:30 ` sashiko-bot
2026-09-28 17:18 ` [PATCH 4/5] arm64: dts: rockchip: add reboot-mode node to RK3576 Alexey Charkov
2026-09-28 17:18 ` [PATCH 5/5] arm64: dts: rockchip: name the reboot mode supplies on RK3576 EVB1 Alexey Charkov
2026-09-29 1:39 ` Shawn Lin [this message]
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=9d48120b-8206-4c74-8e98-3a1aea2d08bf@rock-chips.com \
--to=shawn.lin@rock-chips.com \
--cc=alchark@flipper.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--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=robh@kernel.org \
--cc=sre@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).