]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: stm32mp1: Unconditionally enable ASR
authorMarek Vasut <marex@denx.de>
Fri, 25 Feb 2022 01:15:58 +0000 (02:15 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 15 Mar 2022 08:16:55 +0000 (09:16 +0100)
commit0d44ad8bb4ee2e03f8e6b6f1cdd9f49c79d3dd65
tree94d3b0147dc8a08162d47ff4f67fdec663b4f143
parent9a8996df050dc20ef6954df077186400cb62622e
ram: stm32mp1: Unconditionally enable ASR

Enable DRAM ASR, auto self-refresh, unconditionally. This saves non-trivial
amount of power both at runtime and in suspend (on 2x W632GU6NB-15 ~150mW).

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Cc: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/ram/stm32mp1/stm32mp1_ddr.c
drivers/ram/stm32mp1/stm32mp1_ddr_regs.h