linux/arch/arm/mach-rockchip
Chris Zhong 0ea001d3b4 ARM: rockchip: disable dapswjdp during suspend
Reset dapswjdp is controlled by JTAG_TRSTN, if the iomux of this pin is
not "jtag_trstn". the AP would think this pin is always high, so it can
not reset before resume. When system resume, but the dapswjdp is not in
a default state, it may Access some illegal address, it cause system
crash during resume.
Let's disable this jtag function by clear the dapdeviceen bit, it
prohibit the dapswjdp to access memory and registers. This bit would
be enable in MASKROM, so we need clear it in suspend everytime.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2015-04-16 21:15:47 +02:00
..
core.h ARM: rockchip: convert smp bringup to CPU_METHOD_OF_DECLARE 2014-05-26 11:15:53 -07:00
headsmp.S ARM: rockchip: add basic smp support for rk3288 2014-11-05 22:18:40 +01:00
Kconfig ARM: rockchip: force built-in regulator support for PM 2015-02-18 12:20:30 +01:00
Makefile ARM: rockchip: add suspend and resume for RK3288 2014-12-31 16:16:50 +01:00
platsmp.c ARM: rockchip: Constify struct regmap_config and staticize local function 2015-03-11 22:40:56 +01:00
pm.c ARM: rockchip: disable dapswjdp during suspend 2015-04-16 21:15:47 +02:00
pm.h ARM: rockchip: disable dapswjdp during suspend 2015-04-16 21:15:47 +02:00
rockchip.c ARM: SoC platform changes 2015-02-17 09:27:54 -08:00
sleep.S ARM: rockchip: add suspend and resume for RK3288 2014-12-31 16:16:50 +01:00