]> git.ipfire.org Git - people/ms/u-boot.git/commit
rockchip: rk3399-puma: add code to allow forcing a power-on reset
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 28 Nov 2017 16:56:11 +0000 (17:56 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 30 Nov 2017 21:59:54 +0000 (22:59 +0100)
commitae0d33a7291a164a11ae034bcf4f71226b2bef48
treeca5dce9df7b6e2a81999401df15c940e88587cf5
parent884ad05d34c49ac6c8e21346a63a627c6c9d4c52
rockchip: rk3399-puma: add code to allow forcing a power-on reset

The reset circuitry in the RK3399 only resets 'almost all logic' when
a software reset is performed.  To make our software maintenance
easier in the future, we want to have the option (controlled by a DTS
property) to force all reset causes other than a power-on reset to
trigger a power-on reset via a GPIO trigger.

This adds the necessary support to the rk3399-puma (i.e. RK3399-Q7)
board-support and the documentation for the new property
(sysreset-gpio) within the /config-node.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
board/theobroma-systems/puma_rk3399/puma-rk3399.c
doc/device-tree-bindings/config.txt