mbox series

[0/4] clk: lan966x: add support for lan969x SoC clock driver

Message ID 20240916-lan969x-clock-v1-0-0e150336074d@microchip.com (mailing list archive)
Headers show
Series clk: lan966x: add support for lan969x SoC clock driver | expand

Message

Daniel Machon Sept. 16, 2024, 9:49 a.m. UTC
Add support for the lan969x SoC clock driver in the existing lan966x
driver. The lan969x clock controller contains 3 PLLs - cpu_clk, ddr_clk
and sys_clk which generates and supplies the clock to various
peripherals within the SoC.

Patch #1 adds compatible strings for lan969x SKU's in the dt-bindings

Patch #2 makes the clk_names var const char * const

Patch #3 prepares the lan966x driver for lan969x, by adding private
         match data.

Patch #4 adds support for lan969x

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>

Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
---
Daniel Machon (4):
      dt-bindings: clock: add support for lan969x
      clk: lan966x: make clk_names const char * const
      clk: lan966x: prepare driver for lan969x support
      clk: lan966x: add support for lan969x SoC clock driver

 .../bindings/clock/microchip,lan966x-gck.yaml      | 13 +++-
 drivers/clk/clk-lan966x.c                          | 79 +++++++++++++++++-----
 2 files changed, 75 insertions(+), 17 deletions(-)
---
base-commit: 3cfb5aa10cb78571e214e48a3a6e42c11d5288a1
change-id: 20240912-lan969x-clock-ac4bc920869c

Best regards,

Comments

Stephen Boyd Oct. 17, 2024, 10:59 p.m. UTC | #1
Quoting Daniel Machon (2024-09-16 02:49:18)
> Add support for the lan969x SoC clock driver in the existing lan966x
> driver. The lan969x clock controller contains 3 PLLs - cpu_clk, ddr_clk
> and sys_clk which generates and supplies the clock to various
> peripherals within the SoC.
> 
> Patch #1 adds compatible strings for lan969x SKU's in the dt-bindings
> 
> Patch #2 makes the clk_names var const char * const
> 
> Patch #3 prepares the lan966x driver for lan969x, by adding private
>          match data.
> 
> Patch #4 adds support for lan969x
> 
> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
> 
> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>

Am I supposed to pick up microchip clk patches myself this time?
Claudiu Beznea Oct. 18, 2024, 8:34 a.m. UTC | #2
On 18.10.2024 01:59, Stephen Boyd wrote:
> Quoting Daniel Machon (2024-09-16 02:49:18)
>> Add support for the lan969x SoC clock driver in the existing lan966x
>> driver. The lan969x clock controller contains 3 PLLs - cpu_clk, ddr_clk
>> and sys_clk which generates and supplies the clock to various
>> peripherals within the SoC.
>>
>> Patch #1 adds compatible strings for lan969x SKU's in the dt-bindings
>>
>> Patch #2 makes the clk_names var const char * const
>>
>> Patch #3 prepares the lan966x driver for lan969x, by adding private
>>          match data.
>>
>> Patch #4 adds support for lan969x
>>
>> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
>>
>> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
> 
> Am I supposed to pick up microchip clk patches myself this time?

It's on my track. I already have it on my local queue for a while. Sorry
for not mentioning it yet. I need to run some tests.

Thank you,
Claudiu

>
Stephen Boyd Oct. 19, 2024, 6:01 a.m. UTC | #3
Quoting claudiu beznea (2024-10-18 01:34:16)
> 
> 
> On 18.10.2024 01:59, Stephen Boyd wrote:
> > Quoting Daniel Machon (2024-09-16 02:49:18)
> >> Add support for the lan969x SoC clock driver in the existing lan966x
> >> driver. The lan969x clock controller contains 3 PLLs - cpu_clk, ddr_clk
> >> and sys_clk which generates and supplies the clock to various
> >> peripherals within the SoC.
> >>
> >> Patch #1 adds compatible strings for lan969x SKU's in the dt-bindings
> >>
> >> Patch #2 makes the clk_names var const char * const
> >>
> >> Patch #3 prepares the lan966x driver for lan969x, by adding private
> >>          match data.
> >>
> >> Patch #4 adds support for lan969x
> >>
> >> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
> >>
> >> Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
> > 
> > Am I supposed to pick up microchip clk patches myself this time?
> 
> It's on my track. I already have it on my local queue for a while. Sorry
> for not mentioning it yet. I need to run some tests.
> 

Cool. Thanks for taking care of it!
Claudiu Beznea Oct. 20, 2024, 3:39 p.m. UTC | #4
On 16.09.2024 12:49, Daniel Machon wrote:
> Daniel Machon (4):
>       dt-bindings: clock: add support for lan969x
>       clk: lan966x: make clk_names const char * const
>       clk: lan966x: prepare driver for lan969x support
>       clk: lan966x: add support for lan969x SoC clock driver

Applied to clk-microchip, thanks!