[U-Boot] [PATCH v4 0/9] ARM: stm32: add network and qspi driver support to stm32f746-disco board

Michael Kurz michi.kurz at gmail.com
Sun Jan 22 16:04:21 CET 2017


This series adds support for the network and the qspi devices found on
the stm32f746 controller and enables those devices on the
stm32f746-disco board.

Changes in v4:
- Correct commit message and add linux source file path
- Update to current master
- Fix missing newline at end of file
- Removed currently not used entries from dts file
- Add binding document for qspi driver
- Disable qspi quad interface in dts file here
- Split struct stm32_rcc_regs into two structs (common and stm32f7 specific)
- Reword commit message
- Add Acked-by tag to 'fix stm32f7 sdram fmc base address'
- Add Reviewed-by tag to 'use clock setup function defined in clock.c'
- Remove dts patch as the dts import patch now disables the quad interface

Changes in v3:
- Split pin control files of from device tree patch
- Add Acked-by tag to 'add stm32f746 device tree pin control files'
- Split pin control files of from device tree patch
- Add Acked-by tag to 'add stm32f746-disco device tree files'
- Removed 'prefix all constants with STM32_'
- Reverted move of header into source file (rcc.h -> clock.c)
- Split cleanup patch
- Split clock setup changes of from cleanup patch
- Add Acked-by tag to 'add designware mac glue code for stm32'
- Moved qspi rcc bits into rcc header
- Drop 'add missing flag to micron/stm N25Q128 flash chips' patch

Changes in v2:
- Add cleanup patch
- Replaced bit shifts and masks with BIT() and GENMASK() macro
- Moved STM32_SYSCFG_BASE into stm32.h header
- Add Acked-by tag to 'net: phy: add SMSC LAN8742 phy'
- Replaced bit shifts and masks with BIT() and GENMASK() macro

Michael Kurz (9):
  ARM: DTS: stm32: add stm32f746 device tree pin control files
  ARM: DTS: stm32: add stm32f746-disco device tree files
  ARM: stm32: cleanup stm32f7 files
  ARM: stm32: fix stm32f7 sdram fmc base address
  ARM: stm32: use clock setup function defined in clock.c
  net: stm32: add designware mac glue code for stm32
  net: phy: add SMSC LAN8742 phy
  ARM: stm32: enable support for smsc phy on stm32f746-disco board
  ARM: SPI: stm32: add stm32f746 qspi driver

 arch/arm/dts/Makefile                            |    2 +
 arch/arm/dts/armv7-m.dtsi                        |   25 +
 arch/arm/dts/stm32f746-disco.dts                 |   96 ++
 arch/arm/dts/stm32f746.dtsi                      |   79 ++
 arch/arm/include/asm/arch-stm32f7/fmc.h          |    9 +-
 arch/arm/include/asm/arch-stm32f7/gpt.h          |    6 +-
 arch/arm/include/asm/arch-stm32f7/rcc.h          |   77 +-
 arch/arm/include/asm/arch-stm32f7/stm32.h        |   14 +-
 arch/arm/include/asm/arch-stm32f7/stm32_periph.h |   10 +-
 arch/arm/include/asm/arch-stm32f7/syscfg.h       |   38 +
 arch/arm/mach-stm32/stm32f7/clock.c              |  171 ++-
 arch/arm/mach-stm32/stm32f7/timer.c              |    4 +-
 board/st/stm32f746-disco/stm32f746-disco.c       |  124 +-
 configs/stm32f746-disco_defconfig                |   23 +-
 doc/device-tree-bindings/spi/spi-stm32-qspi.txt  |   39 +
 drivers/net/designware.c                         |    1 +
 drivers/net/phy/smsc.c                           |   12 +
 drivers/spi/Kconfig                              |    8 +
 drivers/spi/Makefile                             |    1 +
 drivers/spi/stm32_qspi.c                         |  628 ++++++++++
 include/configs/stm32f746-disco.h                |   10 +-
 include/dt-bindings/pinctrl/stm32f746-pinfunc.h  | 1324 ++++++++++++++++++++++
 22 files changed, 2540 insertions(+), 161 deletions(-)
 create mode 100644 arch/arm/dts/armv7-m.dtsi
 create mode 100644 arch/arm/dts/stm32f746-disco.dts
 create mode 100644 arch/arm/dts/stm32f746.dtsi
 create mode 100644 arch/arm/include/asm/arch-stm32f7/syscfg.h
 create mode 100644 doc/device-tree-bindings/spi/spi-stm32-qspi.txt
 create mode 100644 drivers/spi/stm32_qspi.c
 create mode 100644 include/dt-bindings/pinctrl/stm32f746-pinfunc.h

-- 
2.1.4



More information about the U-Boot mailing list