[9610] soc: samsung: cal-if: Updated PMUCAL guide. (0703)
authoryi jaeuk <ju.yi@samsung.com>
Tue, 3 Jul 2018 06:23:08 +0000 (15:23 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Tue, 3 Jul 2018 07:01:51 +0000 (16:01 +0900)
add save_restore seq in G3D for EMA

Change-Id: Ib6a840571f9bdf5e6a425b6a02c4b07311f8888f
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
drivers/soc/samsung/cal-if/exynos9610/pmucal_local_exynos9610.h

index bb0fe87c8a5cafd0dfde4201630a70d354642ead..cd90741b51acb03da939abbb5198e59083d3a7a6 100644 (file)
@@ -249,12 +249,15 @@ struct pmucal_seq g3d_on[] = {
 };
 
 struct pmucal_seq g3d_save[] = {
+       PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "LPP_MCS", 0x11410000, 0x0300, (0x7 << 0), 0, 0, 0, 0xffffffff, 0),
+       PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "LPP_MCSW", 0x11410000, 0x0304, (0x7 << 0), 0, 0, 0, 0xffffffff, 0),
+       PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "LPP_MCSRD", 0x11410000, 0x0308, (0x7 << 0), 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "PLL_LOCKTIME_PLL_G3D", 0x11430000, 0x0000, 0xffffffff, 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "PLL_CON1_PLL_G3D", 0x11430000, 0x0124, 0xffffffff, 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "PLL_CON4_PLL_G3D", 0x11430000, 0x0130, 0xffffffff, 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "PLL_CON0_PLL_G3D", 0x11430000, 0x0120, (0x7ffffff << 5) | (0xf << 0), 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_WRITE, "PLL_CON0_PLL_G3D", 0x11430000, 0x0120, (0x1 << 4), (0x0 << 4), 0, 0, 0xffffffff, 0),
-       PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "CLK_CON_DIV_DIV_CLK_G3D_BUSP", 0x11430000, 0x1800, 0xffffffff, 0, 0, 0, 0xffffffff, 0),
+       PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "CLK_CON_DIV_DIV_CLK_G3D_BUSP", 0x11430000, 0x1804, 0xffffffff, 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "CLK_CON_MUX_MUX_CLK_G3D_BUSD", 0x11430000, 0x1004, 0xffffffff, 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_SAVE_RESTORE, "PLL_CON0_MUX_CLKCMU_G3D_SWITCH_USER", 0x11430000, 0x0100, 0xffffffff, 0, 0, 0, 0xffffffff, 0),
        PMUCAL_SEQ_DESC(PMUCAL_WAIT, "PLL_CON0_PLL_G3D", 0x11430000, 0x0120, (0x1 << 29), (0x1 << 29), 0, 0, 0xffffffff, 0),