mbox series

[GIT,PULL] clk: at91: clk changes for 5.16

Message ID 20211021122248.33261-1-nicolas.ferre@microchip.com (mailing list archive)
State Not Applicable, archived
Headers show
Series [GIT,PULL] clk: at91: clk changes for 5.16 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git tags/clk-at91-5.16

Message

Nicolas Ferre Oct. 21, 2021, 12:22 p.m. UTC
From: Nicolas Ferre <nicolas.ferre@microchip.com>

Stephen,

Here are the clk changes for 5.16. I took the initiative to create a
Pull-Request for it as it's surely more convenient, as I proposed in my
reply to Claudiu's cover letter.
I created it on top of your current clk-at91 branch that contains one patch by
Clément already.

Please pull.

Thanks, best regards,
  Nicolas

The following changes since commit c405f5c15e9f6094f2fa1658e73e56f3058e2122:

  clk: at91: check pmc node status before registering syscore ops (2021-10-07 20:47:47 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git tags/clk-at91-5.16

for you to fetch changes up to 865aea519c06456c30846782be063dd9fcd3f99e:

  clk: use clk_core_get_rate_recalc() in clk_rate_get() (2021-10-21 14:00:59 +0200)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Claudiu Beznea (15):
      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
      clk: at91: clk-master: improve readability by using local variables
      clk: at91: pmc: add sama7g5 to the list of available pmcs
      clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
      clk: at91: clk-master: check if div or pres is zero
      clk: at91: clk-master: mask mckr against layout->mask
      clk: at91: clk-master: fix prescaler logic
      clk: at91: clk-sam9x60-pll: add notifier for div part of PLL
      clk: at91: clk-master: add notifier for divider
      clk: at91: sama7g5: remove prescaler part of master clock
      clk: at91: sama7g5: set low limit for mck0 at 32KHz
      clk: use clk_core_get_rate_recalc() in clk_rate_get()

 drivers/clk/at91/at91rm9200.c       |   2 +-
 drivers/clk/at91/at91sam9260.c      |   2 +-
 drivers/clk/at91/at91sam9g45.c      |   2 +-
 drivers/clk/at91/at91sam9n12.c      |   2 +-
 drivers/clk/at91/at91sam9rl.c       |   2 +-
 drivers/clk/at91/at91sam9x5.c       |   2 +-
 drivers/clk/at91/clk-generated.c    |  46 +++-
 drivers/clk/at91/clk-main.c         |  66 +++++
 drivers/clk/at91/clk-master.c       | 463 ++++++++++++++++++++++++++++-------
 drivers/clk/at91/clk-peripheral.c   |  40 ++-
 drivers/clk/at91/clk-pll.c          |  39 +++
 drivers/clk/at91/clk-programmable.c |  29 ++-
 drivers/clk/at91/clk-sam9x60-pll.c  | 174 ++++++++++---
 drivers/clk/at91/clk-system.c       |  20 ++
 drivers/clk/at91/clk-usb.c          |  27 ++
 drivers/clk/at91/clk-utmi.c         |  39 +++
 drivers/clk/at91/dt-compat.c        |   2 +-
 drivers/clk/at91/pmc.c              | 173 +++----------
 drivers/clk/at91/pmc.h              |  29 ++-
 drivers/clk/at91/sam9x60.c          |   6 +-
 drivers/clk/at91/sama5d2.c          |   2 +-
 drivers/clk/at91/sama5d3.c          |   2 +-
 drivers/clk/at91/sama5d4.c          |   2 +-
 drivers/clk/at91/sama7g5.c          |  29 +--
 drivers/clk/clk.c                   |   2 +-
 25 files changed, 890 insertions(+), 312 deletions(-)

Comments

Stephen Boyd Oct. 27, 2021, 1:29 a.m. UTC | #1
Quoting nicolas.ferre@microchip.com (2021-10-21 05:22:48)
> From: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> Stephen,
> 
> Here are the clk changes for 5.16. I took the initiative to create a
> Pull-Request for it as it's surely more convenient, as I proposed in my
> reply to Claudiu's cover letter.

Thanks. I didn't pick it up this time but I can pick it up next time. I
wanted to take the clk.c patch via a different branch.
Nicolas Ferre Nov. 2, 2021, 10:57 a.m. UTC | #2
Stephen,

On 27/10/2021 at 03:29, Stephen Boyd wrote:
> Quoting nicolas.ferre@microchip.com (2021-10-21 05:22:48)
>> From: Nicolas Ferre <nicolas.ferre@microchip.com>
>>
>> Stephen,
>>
>> Here are the clk changes for 5.16. I took the initiative to create a
>> Pull-Request for it as it's surely more convenient, as I proposed in my
>> reply to Claudiu's cover letter.
> 
> Thanks. I didn't pick it up this time but I can pick it up next time. I
> wanted to take the clk.c patch via a different branch.

Perfect for me. I'll send Pull-Requests for at91 on the model of other 
silicon vendors.
Don't hesitate to tell me if you want special arrangement for some of 
the development cycles.

Best regards,
   Nicolas