Extend clk_stm32f7 driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 11 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 11 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/11] Extend clk_stm32f7 driver
LGTM.
Cheers,
Vikas
Quoted 56 lines · patrice.chotard at st.com
From: Patrice Chotard <[email protected]>
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_stm32f7driver :
_ 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 commoninclude/stm32_rcc.hto
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: renameclk_stm32f7.ctoclk_stm32f.c
clk: stm32fx: migrate define fromrcc.hto driver
configs: stm32f746-disco: enable MISC/DM_RESET/STM32_RESET andSTM32_RCCdm: misc: bind STM32F4/F7 clock from rcc MFD driver
clk:clk_stm32fx: add clock configuration for mmc usage
stm32: migrate clock structs ininclude/stm32_rcc.harch/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