[PATCH v2 0/6] clk: at91: updates for power management and dvfs

Claudiu.Beznea at microchip.com Claudiu.Beznea at microchip.com
Mon Aug 2 01:36:52 PDT 2021


On 01.04.2021 15:27, Claudiu Beznea wrote:
> Hi,
> 
> This series addresses the power management for SAMA7G5 and also updates
> the master clock prescaller and master clock divider drivers to accommodate
> the requests at [1].
> 
> The power management part is implemented by adding
> save_context()/restore_context() on each clock driver (patch 1/6). Since
> the PM part is necessary only for backup mode (supported on SAMA5D2 and
> SAMA7G5) the pmc.c has been adapted to call the
> save_context()/restore_context() only on switches to/from backup mode
> (patch 2/6).
> 
> Patch 3/6 adds the securam clock on SAMA7G5. This is necessary for
> backup mode of SAMA7G5.
> 
> Patch 4/6 adds registers definitions for the new master clocks (MCK1..4) of
> SAMA7G5 and adapt the clk-master.c. The defines exported in
> include/linux/clk/at91_pmc.h will be also used by platform specific PM
> code.
> 
> Patch 5/6 adpat the master clock divider and master clock prescaller
> to address the requests at [1].
> 
> Patch 6/6 clean up a bit the code in clk-master as suggested by Nicolas.
> 
> Thank you,
> Claudiu Beznea
> 
> [1] https://lore.kernel.org/lkml/20210105104426.4tmgc2l3vyicwedd@vireshk-i7/
> 
> Changes in v2:
> - addressed code review comments
> - collected tags
> 
> Claudiu Beznea (6):
>   clk: at91: re-factor clocks suspend/resume
>   clk: at91: pmc: execute suspend/resume only for backup mode
>   clk: at91: sama7g5: add securam's peripheral clock
>   clk: at91: clk-master: add register definition for sama7g5's master
>     clock
>   
Hi Stephen,

Please ignore the DVFS patch in this series
(clk: at91: clk-master: update for dvfs) as I have some updates to it. I'll
introduce them in the next version.

Thank you,
Claudiu Beznea


More information about the linux-arm-kernel mailing list