public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver
@ 2017-11-15 12:14 patrice.chotard at st.com
  2017-11-15 12:14 ` [U-Boot] [PATCH 01/11] ARM: DTS: stm32: add pwrcfg node for stm32f746 patrice.chotard at st.com
                   ` (11 more replies)
  0 siblings, 12 replies; 24+ messages in thread
From: patrice.chotard at st.com @ 2017-11-15 12:14 UTC (permalink / raw)
  To: u-boot

From: Patrice Chotard <patrice.chotard@st.com>

It's the second step to prepare STM32F4 conversion to driver model and 
device tree support. STM32F4 and STM32F7 RCC IPs are similar, differences
between these 2 SoCs can be managed with different compatible string and
allows to use a common clock driver. 

This series update the clk_stm32f7 driver :
	_ retrieve PWR IP base address from DT instead of using hardcoded value.
	_ update compatible string to manage differences between STM32F4 and
	  STM32F7
	_ introduce STM32F4 support.
	_ enable RCC MFD support which allows reset support for STM32F7/F4.
	_ add MMC clock configuration for MMC usag for STM32F4/F7.
	_ migrate some defines/struct to common include/stm32_rcc.h to 
	  factorize code between STM32F4/F7.

Patrice Chotard (11):
  ARM: DTS: stm32: add pwrcfg node for stm32f746
  clk: stm32f7: retrieve PWR base address from DT
  clk: stm32f7: add dedicated STM32F7 compatible string
  ARM: DTS: stm32: update rcc compatible for STM32F746
  clk: stm32f7: add STM32F4 support
  clk: stm32f7: rename clk_stm32f7.c to clk_stm32f.c
  clk: stm32fx: migrate define from rcc.h to driver
  configs: stm32f746-disco: enable MISC/DM_RESET/STM32_RESET and
    STM32_RCC
  dm: misc: bind STM32F4/F7 clock from rcc MFD driver
  clk: clk_stm32fx: add clock configuration for mmc usage
  stm32: migrate clock structs in include/stm32_rcc.h

 arch/arm/dts/stm32f7-u-boot.dtsi                   |   4 +
 arch/arm/dts/stm32f746.dtsi                        |   9 +-
 arch/arm/include/asm/arch-stm32f4/stm32.h          |  35 ---
 arch/arm/include/asm/arch-stm32f4/stm32_pwr.h      |  23 ++
 arch/arm/include/asm/arch-stm32f7/rcc.h            |  31 ---
 arch/arm/include/asm/arch-stm32f7/stm32.h          |  41 ----
 arch/arm/include/asm/arch-stm32f7/stm32_pwr.h      |  25 ++
 arch/arm/mach-stm32/stm32f4/clock.c                |  27 +-
 arch/arm/mach-stm32/stm32f4/timer.c                |   1 +
 arch/arm/mach-stm32/stm32f7/timer.c                |   1 +
 board/st/stm32f429-discovery/stm32f429-discovery.c |   1 +
 configs/stm32f746-disco_defconfig                  |   4 +
 drivers/clk/Kconfig                                |   8 +
 drivers/clk/Makefile                               |   2 +-
 drivers/clk/{clk_stm32f7.c => clk_stm32f.c}        | 272 +++++++++++++++------
 drivers/misc/stm32_rcc.c                           |  42 +++-
 include/dt-bindings/mfd/stm32f7-rcc.h              |   1 +
 include/stm32_rcc.h                                |  91 +++++++
 18 files changed, 401 insertions(+), 217 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-stm32f4/stm32_pwr.h
 delete mode 100644 arch/arm/include/asm/arch-stm32f7/rcc.h
 create mode 100644 arch/arm/include/asm/arch-stm32f7/stm32_pwr.h
 rename drivers/clk/{clk_stm32f7.c => clk_stm32f.c} (56%)
 create mode 100644 include/stm32_rcc.h

-- 
1.9.1

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

end of thread, other threads:[~2017-11-30 15:34 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 12:14 [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver patrice.chotard at st.com
2017-11-15 12:14 ` [U-Boot] [PATCH 01/11] ARM: DTS: stm32: add pwrcfg node for stm32f746 patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 02/11] clk: stm32f7: retrieve PWR base address from DT patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 03/11] clk: stm32f7: add dedicated STM32F7 compatible string patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 04/11] ARM: DTS: stm32: update rcc compatible for STM32F746 patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 05/11] clk: stm32f7: add STM32F4 support patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot,05/11] " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 06/11] clk: stm32f7: rename clk_stm32f7.c to clk_stm32f.c patrice.chotard at st.com
2017-11-30 15:33   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 07/11] clk: stm32fx: migrate define from rcc.h to driver patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 08/11] configs: stm32f746-disco: enable MISC/DM_RESET/STM32_RESET and STM32_RCC patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 09/11] dm: misc: bind STM32F4/F7 clock from rcc MFD driver patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 10/11] clk: clk_stm32fx: add clock configuration for mmc usage patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 12:14 ` [U-Boot] [PATCH 11/11] stm32: migrate clock structs in include/stm32_rcc.h patrice.chotard at st.com
2017-11-30 15:34   ` [U-Boot] [U-Boot, " Tom Rini
2017-11-15 17:35 ` [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver Vikas Manocha

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