mbox series

[v2,00/13] Introduction of STM32MP13 RCC driver (Reset Clock Controller)

Message ID 20220225133137.813919-1-gabriel.fernandez@foss.st.com (mailing list archive)
Headers show
Series Introduction of STM32MP13 RCC driver (Reset Clock Controller) | expand

Message

Gabriel FERNANDEZ Feb. 25, 2022, 1:31 p.m. UTC
From: Gabriel Fernandez <gabriel.fernandez@foss.st.com>

This patchset introduce the reset and clock driver of STM32MP13 SoC.
It uses a clk-stm32-core module to manage stm32 gate, mux and divider
for STM32MP13 and for new future STMP32 SoC.

v2:
  - Resend because patch 9,10,12,13 has not been sent
  - add Reviewed by Krzysztof Kozlowski for patch 1

Gabriel Fernandez (13):
  dt-bindings: rcc: stm32: add new compatible for STM32MP13 SoC
  clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)
  clk: stm32mp13: add stm32_mux clock management
  clk: stm32mp13: add stm32_gate management
  clk: stm32mp13: add stm32 divider clock
  clk: stm32mp13: add composite clock
  clk: stm32mp13: manage secured clocks
  clk: stm32mp13: add all STM32MP13 peripheral clocks
  clk: stm32mp13: add all STM32MP13 kernel clocks
  clk: stm32mp13: add multi mux function
  clk: stm32mp13: add safe mux management
  ARM: dts: stm32: enable optee firmware and SCMI support on STM32MP13
  ARM: dts: stm32: add RCC on STM32MP13x SoC family

 .../bindings/clock/st,stm32mp1-rcc.yaml       |    2 +
 arch/arm/boot/dts/stm32mp131.dtsi             |  128 +-
 arch/arm/boot/dts/stm32mp133.dtsi             |    4 +-
 arch/arm/boot/dts/stm32mp13xf.dtsi            |    3 +-
 drivers/clk/Kconfig                           |    5 +
 drivers/clk/Makefile                          |    1 +
 drivers/clk/stm32/Makefile                    |    1 +
 drivers/clk/stm32/clk-stm32-core.c            |  707 +++++++
 drivers/clk/stm32/clk-stm32-core.h            |  239 +++
 drivers/clk/stm32/clk-stm32mp13.c             | 1580 +++++++++++++++
 drivers/clk/stm32/reset-stm32.c               |  122 ++
 drivers/clk/stm32/reset-stm32.h               |    8 +
 drivers/clk/stm32/stm32mp13_rcc.h             | 1748 +++++++++++++++++
 include/dt-bindings/clock/stm32mp13-clks.h    |  229 +++
 include/dt-bindings/reset/stm32mp13-resets.h  |  100 +
 15 files changed, 4817 insertions(+), 60 deletions(-)
 create mode 100644 drivers/clk/stm32/Makefile
 create mode 100644 drivers/clk/stm32/clk-stm32-core.c
 create mode 100644 drivers/clk/stm32/clk-stm32-core.h
 create mode 100644 drivers/clk/stm32/clk-stm32mp13.c
 create mode 100644 drivers/clk/stm32/reset-stm32.c
 create mode 100644 drivers/clk/stm32/reset-stm32.h
 create mode 100644 drivers/clk/stm32/stm32mp13_rcc.h
 create mode 100644 include/dt-bindings/clock/stm32mp13-clks.h
 create mode 100644 include/dt-bindings/reset/stm32mp13-resets.h

Comments

Ahmad Fatoum Feb. 25, 2022, 3:28 p.m. UTC | #1
On 25.02.22 14:31, gabriel.fernandez@foss.st.com wrote:
> From: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
> 
> This patchset introduce the reset and clock driver of STM32MP13 SoC.
> It uses a clk-stm32-core module to manage stm32 gate, mux and divider
> for STM32MP13 and for new future STMP32 SoC.
> 
> v2:
>   - Resend because patch 9,10,12,13 has not been sent
>   - add Reviewed by Krzysztof Kozlowski for patch 1
> 
> Gabriel Fernandez (13):
>   dt-bindings: rcc: stm32: add new compatible for STM32MP13 SoC
>   clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)

This patch seems to not have reached linux-stm32. It's not in my inbox
and https://st-md-mailman.stormreply.com/pipermail/linux-stm32/2022-February/014533.html
doesn't list it either. It's indexed by lore.kernel.org though.

Cheers,
Ahmad
Gabriel FERNANDEZ Feb. 25, 2022, 3:43 p.m. UTC | #2
Hi Ahmad,

many thanks for your review.

I'll check linux-stm32 mailing list issue.

Best Regards

Gabriel

On 2/25/22 16:28, Ahmad Fatoum wrote:
> On 25.02.22 14:31, gabriel.fernandez@foss.st.com wrote:
>> From: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
>>
>> This patchset introduce the reset and clock driver of STM32MP13 SoC.
>> It uses a clk-stm32-core module to manage stm32 gate, mux and divider
>> for STM32MP13 and for new future STMP32 SoC.
>>
>> v2:
>>    - Resend because patch 9,10,12,13 has not been sent
>>    - add Reviewed by Krzysztof Kozlowski for patch 1
>>
>> Gabriel Fernandez (13):
>>    dt-bindings: rcc: stm32: add new compatible for STM32MP13 SoC
>>    clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)
> This patch seems to not have reached linux-stm32. It's not in my inbox
> and https://st-md-mailman.stormreply.com/pipermail/linux-stm32/2022-February/014533.html
> doesn't list it either. It's indexed by lore.kernel.org though.
>
> Cheers,
> Ahmad
>
>