Skip to content
Snippets Groups Projects
Commit 1a961c9b authored by Lukasz Majewski's avatar Lukasz Majewski Committed by Stefano Babic
Browse files

dm: clk: Extend clk_get_parent_rate() to support CLK_GET_RATE_NOCACHE flag


If the CLK_GET_RATE_NOCACHE flag is set - the clk_get_parent_rate()
provides recalculated clock value without considering the cache setting.

This may be necessary for some clocks tightly coupled with power domains
(i.e. imx8), and prevents from reading invalid cached values.

Signed-off-by: default avatarLukasz Majewski <lukma@denx.de>
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 1d7993d1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment