Thread (23 messages) 23 messages, 6 authors, 2019-12-18

Re: [PATCH v7 1/5] clk: imx8m: Set CLK_GET_RATE_NOCACHE on dram clocks

From: Shawn Guo <shawnguo@kernel.org>
Date: 2019-12-09 01:16:08
Also in: linux-clk, linux-devicetree, linux-pm

On Fri, Nov 22, 2019 at 11:45:00PM +0200, Leonard Crestez wrote:
These clocks are only modified as part of DRAM frequency switches during
which DRAM itself is briefly inaccessible. The switch is performed with
a SMC call to by TF-A which runs from a SRAM area; upon returning to
linux several clocks bits are modified and we need to update them.

For rate bits an easy solution is to just mark with
CLK_GET_RATE_NOCACHE so that new rates are always read back from
registers.

Signed-off-by: Leonard Crestez <redacted>
Reviewed-by: Abel Vesa <redacted>
Applied, thanks.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help