diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2024-09-26 20:31:08 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-10 18:56:15 -0600 |
commit | d7882f556efb11f00fbb93ce13ef2df297b6b1c7 (patch) | |
tree | ac2d1359cb89dc92e9e92e962caf04a08a716d2b /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | c99039867468468dbd27cd594be6ef66c37be56c (diff) |
rockchip: rk3399-roc-pc: Hook sysreset gpio to enable full reset
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.
Without this patch, reading from the micro sd slot fails after a reset.
With this mechanism, U-Boot is able to boot from it reliably.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions