arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 13 Aug 2025 14:07:41 +0000 (16:07 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 30 Aug 2025 15:28:20 +0000 (23:28 +0800)
commit8df0eba814f666e92056909f59fd70b8e0af812d
tree5fd58a3d6356c5aaad4d2809ef09b20f7d658098
parent289083811724327844e69f21e6785d8cd3f358fe
arm64: dts: rockchip: force PMIC reset behavior to restart PMU on RK3588 Jaguar

The bootloader for RK3588 Jaguar currently forces the PMIC reset
behavior (stored in RST_FUN bitfield in register SYS_CFG3 of the PMIC)
to 0b1X which is incorrect for our devices.

It is required to restart the PMU as otherwise the companion
microcontroller cannot detect the PMIC (and by extension the full
product and main SoC) being rebooted which is an issue as that is used
to reset a few things like the PWM beeper and watchdogs.

Let's add the new rockchip,reset-mode property to make sure the PMIC
reset behavior is the expected one.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20250627-rk8xx-rst-fun-v4-4-ce05d041b45f@cherry.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
[ upstream commit: ee907113430aa02a8202c91bb574c385ecc28aa2 ]

(cherry picked from commit 8bd14566b75f9409de703a0d2f9a0704b71a7ebe)
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
dts/upstream/src/arm64/rockchip/rk3588-jaguar.dts