[9610] chub: update chub reset sequence
authorBoojin Kim <boojin.kim@samsung.com>
Mon, 22 Oct 2018 09:42:55 +0000 (18:42 +0900)
committerDongsik Son <dongsik.son@samsung.com>
Wed, 24 Oct 2018 12:52:40 +0000 (21:52 +0900)
commitb8e1574691390a1b9baa1d4a9b333e901c5a18a5
tree946831dac1dd50d52cf9ee8109591d3d97f9316f
parenta5db5cee5ce6c74a49755860757ff1caa3573476
[9610] chub: update chub reset sequence

Itmon error occured during chub reset because AP access CHUB-GRP before tzpc setting.
Orignal sequence is below.
1.PMUCAL:assert ->  2.PMUCAL:release_config -> 3.FW download -> 4. tzpc(for baaw) + PMUCAL:release(reset)
New sequence moves the tzpc setting from 2th to 4th as following.
1.PMUCAL:assert ->  2.PMUCAL:release_config + tzpc(for baaw) -> 3.FW download -> 4. PMUCAL:release(reset)

Change-Id: I6b4c306d9692874e5a72d85ea500861eab63e296
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
drivers/staging/nanohub/chub.c
drivers/staging/nanohub/chub.h
drivers/staging/nanohub/chub_dbg.c
drivers/staging/nanohub/chub_log.c