[PATCH 2/4] rockchip: rk3399-rockpro64: Hook sysreset gpio to enable full reset

Quentin Schulz quentin.schulz at cherry.de
Tue Nov 5 16:38:08 CET 2024


Hi Paul,

On 9/26/24 8:31 PM, Paul Kocialkowski wrote:
> From: Paul Kocialkowski <contact at paulk.fr>
> 
> The reset mechanism used by Linux to reset the SoC is known to only
> partially reset the logic. A mechanism is implemented in
> rk3399_force_power_on_reset to use a GPIO connected to the PMIC's
> over-temperature (OTP) reset pin, which fully resets all logic.
> 
> Hook the associated GPIO where the function expects it to enable this
> reset mechanism and avoid any possible side-effect of partially-reset
> units.
> 
> Signed-off-by: Paul Kocialkowski <contact at paulk.fr>

Since patches 3 and 4 seems to be a bit controversial, maybe send 
patches 1 and 2 in a different patch series so those can be merged 
separately?

You may want to have a look at 
https://lore.kernel.org/u-boot/20241105-rk3399-sysreset-gpio-tpl-v1-0-12caff07a4e4@cherry.de/T/#t 
too BTW.

Cheers,
Quentin


More information about the U-Boot mailing list