[U-Boot] [PATCH 0/6] Add DM timer support for STM32 SoCs family
patrice.chotard at st.com
patrice.chotard at st.com
Wed Feb 7 09:44:44 UTC 2018
From: Patrice Chotard <patrice.chotard at st.com>
Add DM timer support for all STM32F7/F4/H7 SoCs family.
Clock driver for STM32F4/F7 and H7 need to updated to get timer clock rate.
Remove all defines or files previously used for timer usage in
arch/arm/include/asm/arch-stm32fx and in arch/arm/mach-stm32/stm32fx.
Patrice Chotard (6):
timer: stm32: Add timer support for STM32 SoCs family
clk: clk_stm32f: Fix stm32_clk_get_rate() for timer
clk: clk_stm32h7: Fix stm32_clk_get_rate() for timer
clk: clk_stm32h7: Fix prescaler for Domain 3
ARM: dts: stm32: Add timer support for STM32F7
board: stm32: switch to DM STM32 timer
arch/arm/dts/stm32f7-u-boot.dtsi | 8 ++
arch/arm/dts/stm32f746.dtsi | 7 ++
arch/arm/include/asm/arch-stm32f4/stm32.h | 3 -
arch/arm/include/asm/arch-stm32f4/stm32_defs.h | 15 ---
arch/arm/include/asm/arch-stm32f7/gpt.h | 53 ---------
arch/arm/include/asm/arch-stm32f7/stm32.h | 5 -
arch/arm/include/asm/arch-stm32f7/stm32_defs.h | 15 ---
arch/arm/include/asm/arch-stm32f7/stm32_periph.h | 4 -
arch/arm/mach-stm32/Kconfig | 7 ++
arch/arm/mach-stm32/Makefile | 2 -
arch/arm/mach-stm32/stm32f4/Makefile | 11 --
arch/arm/mach-stm32/stm32f4/timer.c | 115 -------------------
arch/arm/mach-stm32/stm32f7/Makefile | 8 --
arch/arm/mach-stm32/stm32f7/timer.c | 113 -------------------
board/st/stm32f746-disco/stm32f746-disco.c | 1 -
drivers/clk/clk_stm32f.c | 131 +++++++++++++++------
drivers/clk/clk_stm32h7.c | 109 +++++++++++++++---
drivers/spi/stm32_qspi.c | 1 -
drivers/timer/Kconfig | 7 ++
drivers/timer/Makefile | 1 +
drivers/timer/stm32_timer.c | 138 +++++++++++++++++++++++
include/configs/stm32h743-disco.h | 3 +-
include/configs/stm32h743-eval.h | 3 +-
include/stm32_rcc.h | 5 +
24 files changed, 368 insertions(+), 397 deletions(-)
delete mode 100644 arch/arm/include/asm/arch-stm32f4/stm32_defs.h
delete mode 100644 arch/arm/include/asm/arch-stm32f7/gpt.h
delete mode 100644 arch/arm/include/asm/arch-stm32f7/stm32_defs.h
delete mode 100644 arch/arm/mach-stm32/stm32f4/Makefile
delete mode 100644 arch/arm/mach-stm32/stm32f4/timer.c
delete mode 100644 arch/arm/mach-stm32/stm32f7/Makefile
delete mode 100644 arch/arm/mach-stm32/stm32f7/timer.c
create mode 100644 drivers/timer/stm32_timer.c
--
1.9.1
More information about the U-Boot
mailing list