[U-Boot] [RESEND PATCH 00/14] Convert STM3F4 to DT and driver model

patrice.chotard at st.com patrice.chotard at st.com
Tue Dec 12 08:49:31 UTC 2017


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

Resend series send on 30/11/2017, due to an unknow issue, only patch 1 of 
this series was visible on patchwork.

This is the final step to convert STM32F4 to device tree and driver model:
  _ add stm32f429-discovery device tree files from kernel v4.15-rc1.
  _ switch to DM driver (pinctrl, serial, gpio, clock, reset, sdram) 
    and clean-up stm32f429-discovery.c board file.
  _ update STM32 sdram driver needed for stm32f469-disco board.
  _ add support for new stm32f469-disco board.
  _ update stm32f469-discovery device tree to enable MMC support.

Patrice Chotard (14):
  ARM: DTS: stm32: add STM32F429 SoC and its Discovery board support
  ARM: DTS: stm32: add stm32f429-disco-u-boot dts file
  board: stm32f429-discovery: switch to DM STM32 sdram driver
  pinctrl: stm32: add stm32f4 pinctrl compatible strings
  configs: stm32f429-disco: enable MISC,STM32_RCC,DM_RESET and
    STM32_RESET
  board: stm32f429-disco: switch to DM STM32 serial driver
  mach-stm32: stmf32f4: timer: remove clock_get() call
  board: stm32f429-disco: switch to DM STM32 clock driver
  board: stm32f429-disco: switch to DM STM32 pinctrl and gpio driver
  ram: stm32: add memory mapping selection support
  ARM: DTS: add STM32F469 Discovery board support
  ARM: DTS: stm32: add stm32f469-disco-u-boot dts file
  board: stm32: add stm32f469-discovery board support
  ARM: DTS: stm32: add SDIO controller support for stm32f469-disco

 arch/arm/dts/Makefile                              |   3 +
 arch/arm/dts/stm32f4-pinctrl.dtsi                  | 375 +++++++++++
 arch/arm/dts/stm32f429-disco-u-boot.dtsi           | 204 ++++++
 arch/arm/dts/stm32f429-disco.dts                   | 124 ++++
 arch/arm/dts/stm32f429-pinctrl.dtsi                |  96 +++
 arch/arm/dts/stm32f429.dtsi                        | 711 +++++++++++++++++++++
 arch/arm/dts/stm32f469-disco-u-boot.dtsi           | 230 +++++++
 arch/arm/dts/stm32f469-disco.dts                   | 145 +++++
 arch/arm/dts/stm32f469-pinctrl.dtsi                |  97 +++
 arch/arm/include/asm/arch-stm32f4/gpio.h           |  20 +-
 arch/arm/include/asm/arch-stm32f4/stm32.h          |  35 -
 arch/arm/mach-stm32/stm32f4/Kconfig                |   4 +
 arch/arm/mach-stm32/stm32f4/Makefile               |   2 +-
 arch/arm/mach-stm32/stm32f4/clock.c                | 258 --------
 arch/arm/mach-stm32/stm32f4/timer.c                |   8 +-
 board/st/stm32f429-discovery/stm32f429-discovery.c | 277 +-------
 board/st/stm32f469-discovery/Kconfig               |  19 +
 board/st/stm32f469-discovery/MAINTAINERS           |   6 +
 board/st/stm32f469-discovery/Makefile              |   8 +
 board/st/stm32f469-discovery/stm32f469-discovery.c |  74 +++
 configs/stm32f429-discovery_defconfig              |  16 +-
 configs/stm32f469-discovery_defconfig              |  42 ++
 drivers/clk/clk_stm32f.c                           |   7 +-
 drivers/gpio/Makefile                              |   1 -
 drivers/gpio/stm32_gpio.c                          | 182 ------
 drivers/pinctrl/pinctrl_stm32.c                    |   2 +
 drivers/ram/stm32_sdram.c                          |  25 +
 drivers/serial/serial_stm32.c                      | 117 ----
 include/configs/stm32f429-discovery.h              |   3 -
 include/configs/stm32f469-discovery.h              |  68 ++
 include/dt-bindings/memory/stm32-sdram.h           |   2 +
 include/dt-bindings/mfd/stm32f4-rcc.h              | 108 ++++
 include/dt-bindings/pinctrl/stm32-pinfunc.h        |  30 +
 33 files changed, 2426 insertions(+), 873 deletions(-)
 create mode 100644 arch/arm/dts/stm32f4-pinctrl.dtsi
 create mode 100644 arch/arm/dts/stm32f429-disco-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32f429-disco.dts
 create mode 100644 arch/arm/dts/stm32f429-pinctrl.dtsi
 create mode 100644 arch/arm/dts/stm32f429.dtsi
 create mode 100644 arch/arm/dts/stm32f469-disco-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32f469-disco.dts
 create mode 100644 arch/arm/dts/stm32f469-pinctrl.dtsi
 delete mode 100644 arch/arm/mach-stm32/stm32f4/clock.c
 create mode 100644 board/st/stm32f469-discovery/Kconfig
 create mode 100644 board/st/stm32f469-discovery/MAINTAINERS
 create mode 100644 board/st/stm32f469-discovery/Makefile
 create mode 100644 board/st/stm32f469-discovery/stm32f469-discovery.c
 create mode 100644 configs/stm32f469-discovery_defconfig
 delete mode 100644 drivers/gpio/stm32_gpio.c
 delete mode 100644 drivers/serial/serial_stm32.c
 create mode 100644 include/configs/stm32f469-discovery.h
 create mode 100644 include/dt-bindings/mfd/stm32f4-rcc.h
 create mode 100644 include/dt-bindings/pinctrl/stm32-pinfunc.h

-- 
1.9.1



More information about the U-Boot mailing list