From 1dc61a3c90525c87b56e7e0078506836b58942ba Mon Sep 17 00:00:00 2001 From: yi jaeuk Date: Tue, 3 Jul 2018 15:23:08 +0900 Subject: [PATCH] [9610] soc: samsung: cal-if: Updated PMUCAL guide. (0703) add save_restore seq in G3D for EMA Change-Id: Ib6a840571f9bdf5e6a425b6a02c4b07311f8888f Signed-off-by: yi jaeuk --- .../soc/samsung/cal-if/exynos9610/pmucal_local_exynos9610.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/soc/samsung/cal-if/exynos9610/pmucal_local_exynos9610.h b/drivers/soc/samsung/cal-if/exynos9610/pmucal_local_exynos9610.h index bb0fe87c8a5c..cd90741b51ac 100644 --- a/drivers/soc/samsung/cal-if/exynos9610/pmucal_local_exynos9610.h +++ b/drivers/soc/samsung/cal-if/exynos9610/pmucal_local_exynos9610.h @@ -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), -- 2.20.1