[PATCH V2 2/8] memory: emif: setup LP settings on freq update
Lokesh Vutla
lokeshvutla at ti.com
Sat Mar 16 02:16:42 EDT 2013
From: Ambresh K <ambresh at ti.com>
Program the power management shadow register on freq update
Else the concept of threshold frequencies dont really matter
as the system always uses the performance mode timing for LP
which is programmed in at init time.
Signed-off-by: Nishanth Menon <nm at ti.com>
Signed-off-by: Ambresh K <ambresh at ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
---
Changes since V1: No changes
drivers/memory/emif.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c
index 508763c..5f3b7ed 100644
--- a/drivers/memory/emif.c
+++ b/drivers/memory/emif.c
@@ -819,6 +819,8 @@ static void setup_registers(struct emif_data *emif, struct emif_regs *regs)
writel(regs->sdram_tim2_shdw, base + EMIF_SDRAM_TIMING_2_SHDW);
writel(regs->phy_ctrl_1_shdw, base + EMIF_DDR_PHY_CTRL_1_SHDW);
+ writel(regs->pwr_mgmt_ctrl_shdw,
+ base + EMIF_POWER_MANAGEMENT_CTRL_SHDW);
/* Settings specific for EMIF4D5 */
if (emif->plat_data->ip_rev != EMIF_4D5)
--
1.7.9.5
More information about the linux-arm-kernel
mailing list