public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [GIT PULL] ARM: microchip: clk for 6.18 #1
@ 2025-09-16  8:05 nicolas.ferre
  2025-09-16 13:19 ` Nicolas Ferre
  2025-09-17 18:21 ` [GIT PULL v2] " nicolas.ferre
  0 siblings, 2 replies; 6+ messages in thread
From: nicolas.ferre @ 2025-09-16  8:05 UTC (permalink / raw)
  To: sboyd, mturquette, linux-clk
  Cc: Nicolas Ferre, Linux Kernel list, linux-arm-kernel,
	Alexandre Belloni, Conor Dooley, Claudiu Beznea

From: Nicolas Ferre <nicolas.ferre@microchip.com>

Dear clock maintainers,

Here are the first clk changes for 6.18.
I don't think they have conflict with changes for the deprecated round_rate()
to determine_rate() topic.
They are in linux-next for a couple of days.

Please pull. Thanks, best regards,
  Nicolas

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

  Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

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

for you to fetch changes up to e3130c2a9a0c8e549e044e659be6f762a1b1f725:

  ARM: at91: remove default values for PMC_PLL_ACR (2025-09-15 16:24:25 +0200)

----------------------------------------------------------------
Microchip clock updates for v6.18

This update includes:
- add one clock for sam9x75
- new meaning for MCR register field in clk-master
- use force-write to PLL update register to ensure
  reliable programming sequence
- update Analog Control Register (ACR) management to accommodate
  differences across SoCs

----------------------------------------------------------------
Balamanikandan Gunasundar (1):
      clk: at91: sam9x7: Add peripheral clock id for pmecc

Cristian Birsan (2):
      clk: at91: add ACR in all PLL settings
      ARM: at91: remove default values for PMC_PLL_ACR

Nicolas Ferre (1):
      clk: at91: clk-sam9x60-pll: force write to PLL_UPDT register

Ryan Wanner (1):
      clk: at91: clk-master: Add check for divide by 3

 drivers/clk/at91/clk-master.c      |  3 ++
 drivers/clk/at91/clk-sam9x60-pll.c | 82 +++++++++++++++++------------------
 drivers/clk/at91/pmc.h             |  1 +
 drivers/clk/at91/sam9x60.c         |  2 +
 drivers/clk/at91/sam9x7.c          |  6 +++
 drivers/clk/at91/sama7d65.c        |  4 ++
 drivers/clk/at91/sama7g5.c         |  2 +
 include/linux/clk/at91_pmc.h       |  2 -
 8 files changed, 59 insertions(+), 43 deletions(-)

-- 
Nicolas Ferre


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] ARM: microchip: clk for 6.18 #1
  2025-09-16  8:05 [GIT PULL] ARM: microchip: clk for 6.18 #1 nicolas.ferre
@ 2025-09-16 13:19 ` Nicolas Ferre
  2025-09-17  4:49   ` Stephen Boyd
  2025-09-17 18:21 ` [GIT PULL v2] " nicolas.ferre
  1 sibling, 1 reply; 6+ messages in thread
From: Nicolas Ferre @ 2025-09-16 13:19 UTC (permalink / raw)
  To: sboyd, mturquette, linux-clk, Arnd Bergmann, SoC Team
  Cc: Linux Kernel list, linux-arm-kernel, Alexandre Belloni,
	Conor Dooley, Claudiu Beznea, oe-kbuild-all, llvm,
	kbuild test robot

On 16/09/2025 at 10:05, nicolas.ferre@microchip.com wrote:
> From: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> Dear clock maintainers,
> 
> Here are the first clk changes for 6.18.
> I don't think they have conflict with changes for the deprecated round_rate()
> to determine_rate() topic.
> They are in linux-next for a couple of days.

But... this series depends on this patch:
https://lore.kernel.org/r/20250827145427.46819-4-nicolas.ferre@microchip.com

Which will be part of a pull-request to-be-sent soon to arm-soc (which 
is part of linux-next, so the build error doesn't appear there).

Once the pull-request is done, do you prefer that I do an immutable 
branch between CLK and ARM, that I queue this at91 PM patch into the clk 
pull-request or that everything goes through arm-soc?

Thanks to the kbuild test bot.
Regards,
   Nicolas

> Please pull. Thanks, best regards,
>    Nicolas
> 
> The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:
> 
>    Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)
> 
> are available in the Git repository at:
> 
>    git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git tags/clk-microchip-6.18
> 
> for you to fetch changes up to e3130c2a9a0c8e549e044e659be6f762a1b1f725:
> 
>    ARM: at91: remove default values for PMC_PLL_ACR (2025-09-15 16:24:25 +0200)
> 
> ----------------------------------------------------------------
> Microchip clock updates for v6.18
> 
> This update includes:
> - add one clock for sam9x75
> - new meaning for MCR register field in clk-master
> - use force-write to PLL update register to ensure
>    reliable programming sequence
> - update Analog Control Register (ACR) management to accommodate
>    differences across SoCs
> 
> ----------------------------------------------------------------
> Balamanikandan Gunasundar (1):
>        clk: at91: sam9x7: Add peripheral clock id for pmecc
> 
> Cristian Birsan (2):
>        clk: at91: add ACR in all PLL settings
>        ARM: at91: remove default values for PMC_PLL_ACR
> 
> Nicolas Ferre (1):
>        clk: at91: clk-sam9x60-pll: force write to PLL_UPDT register
> 
> Ryan Wanner (1):
>        clk: at91: clk-master: Add check for divide by 3
> 
>   drivers/clk/at91/clk-master.c      |  3 ++
>   drivers/clk/at91/clk-sam9x60-pll.c | 82 +++++++++++++++++------------------
>   drivers/clk/at91/pmc.h             |  1 +
>   drivers/clk/at91/sam9x60.c         |  2 +
>   drivers/clk/at91/sam9x7.c          |  6 +++
>   drivers/clk/at91/sama7d65.c        |  4 ++
>   drivers/clk/at91/sama7g5.c         |  2 +
>   include/linux/clk/at91_pmc.h       |  2 -
>   8 files changed, 59 insertions(+), 43 deletions(-)
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] ARM: microchip: clk for 6.18 #1
  2025-09-16 13:19 ` Nicolas Ferre
@ 2025-09-17  4:49   ` Stephen Boyd
  2025-09-17 18:23     ` Nicolas Ferre
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Boyd @ 2025-09-17  4:49 UTC (permalink / raw)
  To: Arnd Bergmann, Nicolas Ferre, SoC Team, linux-clk, mturquette
  Cc: Linux Kernel list, linux-arm-kernel, Alexandre Belloni,
	Conor Dooley, Claudiu Beznea, oe-kbuild-all, llvm,
	kbuild test robot

Quoting Nicolas Ferre (2025-09-16 06:19:11)
> On 16/09/2025 at 10:05, nicolas.ferre@microchip.com wrote:
> > From: Nicolas Ferre <nicolas.ferre@microchip.com>
> > 
> > Dear clock maintainers,
> > 
> > Here are the first clk changes for 6.18.
> > I don't think they have conflict with changes for the deprecated round_rate()
> > to determine_rate() topic.
> > They are in linux-next for a couple of days.
> 
> But... this series depends on this patch:
> https://lore.kernel.org/r/20250827145427.46819-4-nicolas.ferre@microchip.com
> 
> Which will be part of a pull-request to-be-sent soon to arm-soc (which 
> is part of linux-next, so the build error doesn't appear there).
> 
> Once the pull-request is done, do you prefer that I do an immutable 
> branch between CLK and ARM, that I queue this at91 PM patch into the clk 
> pull-request or that everything goes through arm-soc?

Whatever is required to build the code should be included in the PR. If
the same commit goes into arm-soc tree that's OK, just make sure the
branches aren't broken if you checkout a commit anywhere along the
branch that is sent to clk or arm-soc trees. Broken includes
functionally broken.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL v2] ARM: microchip: clk for 6.18 #1
  2025-09-16  8:05 [GIT PULL] ARM: microchip: clk for 6.18 #1 nicolas.ferre
  2025-09-16 13:19 ` Nicolas Ferre
@ 2025-09-17 18:21 ` nicolas.ferre
  2025-09-21 17:02   ` Stephen Boyd
  1 sibling, 1 reply; 6+ messages in thread
From: nicolas.ferre @ 2025-09-17 18:21 UTC (permalink / raw)
  To: sboyd, mturquette, linux-clk, arm, soc
  Cc: Nicolas Ferre, Linux Kernel list, linux-arm-kernel,
	Alexandre Belloni, Conor Dooley, Claudiu Beznea, arnd

From: Nicolas Ferre <nicolas.ferre@microchip.com>

Dear clock maintainers,

Here are the first clk changes for 6.18.
I don't think they have conflict with changes for the deprecated round_rate()
to determine_rate() topic.
In this v2, I address the issue highlighted by 0-day robot: build issue. I
added a patch that is already included as well in an pull-request to arm-soc:
https://lore.kernel.org/linux-arm-kernel/20250916150328.27015-1-nicolas.ferre@microchip.com/

v1 --> v2:
- addition of the patch "ARM: at91: pm: save and restore ACR during PLL
  disable/enable" as the first patch of the series to avoid build error if clk
  tree is merged before arm-soc. Branch bisect-able. Exact same patch
  in both trees.
- a new tag (clk-microchip-6.18-2) is created and deployed for this
  v2 pull-request

Thanks, best regards,
  Nicolas

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

  Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git tags/clk-microchip-6.18-2

for you to fetch changes up to 652b08afba69d5d26fe91098eb832b1bcc0f91c2:

  ARM: at91: remove default values for PMC_PLL_ACR (2025-09-17 19:15:32 +0200)

----------------------------------------------------------------
Microchip clock updates for v6.18

This update includes:
- add one clock for sam9x75
- new meaning for MCR register field in clk-master
- use force-write to PLL update register to ensure
  reliable programming sequence
- update Analog Control Register (ACR) management to accommodate
  differences across SoCs.
- ACR management dependency with one ARM PM patch added beforehand

----------------------------------------------------------------
Balamanikandan Gunasundar (1):
      clk: at91: sam9x7: Add peripheral clock id for pmecc

Cristian Birsan (2):
      clk: at91: add ACR in all PLL settings
      ARM: at91: remove default values for PMC_PLL_ACR

Nicolas Ferre (2):
      ARM: at91: pm: save and restore ACR during PLL disable/enable
      clk: at91: clk-sam9x60-pll: force write to PLL_UPDT register

Ryan Wanner (1):
      clk: at91: clk-master: Add check for divide by 3

 arch/arm/mach-at91/pm_suspend.S    |  8 +++-
 drivers/clk/at91/clk-master.c      |  3 ++
 drivers/clk/at91/clk-sam9x60-pll.c | 82 +++++++++++++++++------------------
 drivers/clk/at91/pmc.h             |  1 +
 drivers/clk/at91/sam9x60.c         |  2 +
 drivers/clk/at91/sam9x7.c          |  6 +++
 drivers/clk/at91/sama7d65.c        |  4 ++
 drivers/clk/at91/sama7g5.c         |  2 +
 include/linux/clk/at91_pmc.h       |  2 -
 9 files changed, 66 insertions(+), 44 deletions(-)

-- 
Nicolas Ferre


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL] ARM: microchip: clk for 6.18 #1
  2025-09-17  4:49   ` Stephen Boyd
@ 2025-09-17 18:23     ` Nicolas Ferre
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2025-09-17 18:23 UTC (permalink / raw)
  To: Stephen Boyd, Arnd Bergmann, SoC Team, linux-clk, mturquette
  Cc: Linux Kernel list, linux-arm-kernel, Alexandre Belloni,
	Conor Dooley, Claudiu Beznea, oe-kbuild-all, llvm,
	kbuild test robot

Stephen,

On 17/09/2025 at 06:49, Stephen Boyd wrote:
> Quoting Nicolas Ferre (2025-09-16 06:19:11)
>> On 16/09/2025 at 10:05, nicolas.ferre@microchip.com wrote:
>>> From: Nicolas Ferre <nicolas.ferre@microchip.com>
>>>
>>> Dear clock maintainers,
>>>
>>> Here are the first clk changes for 6.18.
>>> I don't think they have conflict with changes for the deprecated round_rate()
>>> to determine_rate() topic.
>>> They are in linux-next for a couple of days.
>>
>> But... this series depends on this patch:
>> https://lore.kernel.org/r/20250827145427.46819-4-nicolas.ferre@microchip.com
>>
>> Which will be part of a pull-request to-be-sent soon to arm-soc (which
>> is part of linux-next, so the build error doesn't appear there).
>>
>> Once the pull-request is done, do you prefer that I do an immutable
>> branch between CLK and ARM, that I queue this at91 PM patch into the clk
>> pull-request or that everything goes through arm-soc?
> 
> Whatever is required to build the code should be included in the PR. If
> the same commit goes into arm-soc tree that's OK, just make sure the
> branches aren't broken if you checkout a commit anywhere along the
> branch that is sent to clk or arm-soc trees. Broken includes
> functionally broken.

Thanks for your quick response Stephen. v2 of the pull-request has just 
been sent.

Best regards,
   Nicolas



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL v2] ARM: microchip: clk for 6.18 #1
  2025-09-17 18:21 ` [GIT PULL v2] " nicolas.ferre
@ 2025-09-21 17:02   ` Stephen Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2025-09-21 17:02 UTC (permalink / raw)
  To: arm, linux-clk, mturquette, nicolas.ferre, soc
  Cc: Nicolas Ferre, Linux Kernel list, linux-arm-kernel,
	Alexandre Belloni, Conor Dooley, Claudiu Beznea, arnd

Quoting nicolas.ferre@microchip.com (2025-09-17 11:21:18)
> From: Nicolas Ferre <nicolas.ferre@microchip.com>
> 
> Dear clock maintainers,
> 
> Here are the first clk changes for 6.18.
> I don't think they have conflict with changes for the deprecated round_rate()
> to determine_rate() topic.
> In this v2, I address the issue highlighted by 0-day robot: build issue. I
> added a patch that is already included as well in an pull-request to arm-soc:
> https://lore.kernel.org/linux-arm-kernel/20250916150328.27015-1-nicolas.ferre@microchip.com/
> 
> v1 --> v2:
> - addition of the patch "ARM: at91: pm: save and restore ACR during PLL
>   disable/enable" as the first patch of the series to avoid build error if clk
>   tree is merged before arm-soc. Branch bisect-able. Exact same patch
>   in both trees.
> - a new tag (clk-microchip-6.18-2) is created and deployed for this
>   v2 pull-request
> 
> Thanks, best regards,
>   Nicolas
> 
> The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:
> 
>   Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git tags/clk-microchip-6.18-2
> 
> for you to fetch changes up to 652b08afba69d5d26fe91098eb832b1bcc0f91c2:
> 
>   ARM: at91: remove default values for PMC_PLL_ACR (2025-09-17 19:15:32 +0200)
> 
> ----------------------------------------------------------------

Thanks. Pulled into clk-next


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-21 17:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16  8:05 [GIT PULL] ARM: microchip: clk for 6.18 #1 nicolas.ferre
2025-09-16 13:19 ` Nicolas Ferre
2025-09-17  4:49   ` Stephen Boyd
2025-09-17 18:23     ` Nicolas Ferre
2025-09-17 18:21 ` [GIT PULL v2] " nicolas.ferre
2025-09-21 17:02   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox