All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] stm32mp: add minimal RCC support for STM32MP13
@ 2022-05-10  7:51 Patrick Delaunay
  2022-05-10  7:51 ` [PATCH 1/4] clk: Add directory for STM32 clock drivers Patrick Delaunay
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Patrick Delaunay @ 2022-05-10  7:51 UTC (permalink / raw)
  To: u-boot
  Cc: Gabriel FERNANDEZ, Patrick Delaunay, Lukasz Majewski,
	Patrice Chotard, Sean Anderson, Tom Rini, U-Boot STM32


Add a minimal support for STM32MP13 RCC, the reset and clock controller
- update of the RCC MISC driver to bind the correct clock and reset driver
- reset driver, same than STM32MP15x = drivers/reset/stm32-reset.c
- clock driver, add a empty driver for STM32MP13x =
  drivers/clk/stm32/clk-stm32mp13.c
- Add RCC node in SOC device tree with u-boot,dm-pre-reloc property

This serie is only a preliminary step for STM32MP13 clock and reset support
in U-Boot, based on Linux kernel binding introduced by [1] and it prepares
the next device tree alignment with Linux kernel.

The functional STMP13 clock driver based on CCF and on SCMI clocks
provided by OP-TEE and the clock and reset references in SOC device tree
will be pushed when the associated patches in [1] will be accepted.

[1] Introduction of STM32MP13 RCC driver (Reset Clock Controller)
    https://lore.kernel.org/linux-arm-kernel/20220316131000.9874-1-gabriel.fernandez@foss.st.com/



Patrick Delaunay (4):
  clk: Add directory for STM32 clock drivers
  clk: stm32mp13: add a STM32MP13 RCC clock driver
  misc: stm32mp13: introduce STM32MP13 RCC driver
  ARM: dts: stm32: add rcc node for STM32MP13

 MAINTAINERS                            |  2 +-
 arch/arm/dts/stm32mp13-u-boot.dtsi     |  4 ++++
 arch/arm/dts/stm32mp131.dtsi           |  7 ++++++
 drivers/clk/Kconfig                    | 17 +-------------
 drivers/clk/Makefile                   |  5 ++---
 drivers/clk/stm32/Kconfig              | 31 ++++++++++++++++++++++++++
 drivers/clk/stm32/Makefile             |  8 +++++++
 drivers/clk/stm32/clk-stm32mp13.c      | 21 +++++++++++++++++
 drivers/clk/{ => stm32}/clk_stm32f.c   |  0
 drivers/clk/{ => stm32}/clk_stm32h7.c  |  0
 drivers/clk/{ => stm32}/clk_stm32mp1.c |  0
 drivers/misc/stm32_rcc.c               |  6 +++++
 12 files changed, 81 insertions(+), 20 deletions(-)
 create mode 100644 drivers/clk/stm32/Kconfig
 create mode 100644 drivers/clk/stm32/Makefile
 create mode 100644 drivers/clk/stm32/clk-stm32mp13.c
 rename drivers/clk/{ => stm32}/clk_stm32f.c (100%)
 rename drivers/clk/{ => stm32}/clk_stm32h7.c (100%)
 rename drivers/clk/{ => stm32}/clk_stm32mp1.c (100%)

-- 
2.25.1


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

end of thread, other threads:[~2022-05-19 13:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10  7:51 [PATCH 0/4] stm32mp: add minimal RCC support for STM32MP13 Patrick Delaunay
2022-05-10  7:51 ` [PATCH 1/4] clk: Add directory for STM32 clock drivers Patrick Delaunay
2022-05-11 16:40   ` Sean Anderson
2022-05-10  7:51 ` [PATCH 2/4] clk: stm32mp13: add a STM32MP13 RCC clock driver Patrick Delaunay
2022-05-10 12:18   ` [Uboot-stm32] " Grzegorz Szymaszek
2022-05-10  7:51 ` [PATCH 3/4] misc: stm32mp13: introduce STM32MP13 RCC driver Patrick Delaunay
2022-05-10  7:51 ` [PATCH 4/4] ARM: dts: stm32: add rcc node for STM32MP13 Patrick Delaunay
2022-05-11 16:44 ` [PATCH 0/4] stm32mp: add minimal RCC support " Sean Anderson
2022-05-17  8:12   ` Patrick DELAUNAY
2022-05-19 13:42     ` Sean Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.