AT91 clk driver changes for 5.16:

- Clock power management for new SAMA7G5 SoC;
- Updates to the master clock driver and sam9x60-pll to be able to use
  cpufreq-dt driver and avoid overclocking of CPU and MCK0 domains while
  changing the frequency via DVFS;
- Power management refinement with the use of save_context()/restore_context()
  on each clock driver to specify their use in case of Backup mode only.
clk: use clk_core_get_rate_recalc() in clk_rate_get()

In case clock flags contains CLK_GET_RATE_NOCACHE the clk_rate_get()
will return the cached rate. Thus, use clk_core_get_rate_recalc() which
takes proper action when clock flags contains CLK_GET_RATE_NOCACHE.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20211011112719.3951784-16-claudiu.beznea@microchip.com
1 file changed