Skip to content

Commit 9ea03de

Browse files
Ambreshgregkh
authored andcommitted
memory: emif: setup LP settings on freq update
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@ti.com> Signed-off-by: Ambresh K <ambresh@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0a5f19c commit 9ea03de

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/memory/emif.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,8 @@ static void setup_registers(struct emif_data *emif, struct emif_regs *regs)
819819

820820
writel(regs->sdram_tim2_shdw, base + EMIF_SDRAM_TIMING_2_SHDW);
821821
writel(regs->phy_ctrl_1_shdw, base + EMIF_DDR_PHY_CTRL_1_SHDW);
822+
writel(regs->pwr_mgmt_ctrl_shdw,
823+
base + EMIF_POWER_MANAGEMENT_CTRL_SHDW);
822824

823825
/* Settings specific for EMIF4D5 */
824826
if (emif->plat_data->ip_rev != EMIF_4D5)

0 commit comments

Comments
 (0)