[PATCH 0/5] power: reset: syscon-reboot-mode: Add support for Rockchip RK3576 reboot modes
Shawn Lin
shawn.lin at rock-chips.com
Mon Sep 28 18:39:41 PDT 2026
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 at rock-chips.com>
> Signed-off-by: Alexey Charkov <alchark at 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 at flipper.net>
>
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
>
More information about the Linux-rockchip
mailing list