summaryrefslogtreecommitdiffstats
path: root/drivers/sysreset/sysreset_rk3188.c
Commit message (Collapse)AuthorAgeFilesLines
* rockchip: sysreset: merge into one common driverKever Yang2017-11-211-62/+0
| | | | | | | | | | Use a common driver for all Rockchip SOC instead of one for each SoC. Use driver_data for reg offset. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
* rockchip: sysreset: rk3188: Make sure remap is off on warm-resetsHeiko Stübner2017-04-151-0/+15
| | | | | | | | | | | | | The warm-reset of rk3188 socs keeps the remap setting as it was, so if it was enabled, the cpu would start from address 0x0 of the sram instead of address 0x0 of the bootrom, thus making the reset hang. Therefore make sure the remap is disabled before attempting a warm reset. Cold reset is not affected by this at all. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org>
* rockchip: rk3188: Add sysreset driverHeiko Stübner2017-03-161-0/+47
Driver for the sysreset of Rockchip rk3188 socs. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Kever Yang <kever.yang@rock-chips.com>