Skip to content

ARM: stm32: add network and qspi driver support to stm32f746-disco board

Michael Kurz u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest9 patches 0 repliesNew
  2. v39 patches 0 repliesSuperseded
  3. v27 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches0 repliesSuperseded

Changes in v4 from the cover letter

- 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

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ARM: DTS: stm32: add stm32f746 device tree pin control filesinclude/dt-bindings/pinctrl/stm32f746-pinfunc.h+1324 -01 reply
2/9ARM: DTS: stm32: add stm32f746-disco device tree filesarch/arm/dts/Makefile arch/arm/dts/armv7-m.dtsi arch/arm/dts/stm32f746-disco.dts +3 more+242 -01 reply
3/9ARM: stm32: cleanup stm32f7 filesarch/arm/include/asm/arch-stm32f7/fmc.h arch/arm/include/asm/arch-stm32f7/gpt.h arch/arm/include/asm/arch-stm32f7/rcc.h +3 more+111 -1242 replies
4/9ARM: stm32: fix stm32f7 sdram fmc base addressarch/arm/include/asm/arch-stm32f7/fmc.h arch/arm/include/asm/arch-stm32f7/stm32.h+2 -31 reply
5/9ARM: stm32: use clock setup function defined in clock.carch/arm/include/asm/arch-stm32f7/rcc.h arch/arm/include/asm/arch-stm32f7/stm32_periph.h arch/arm/mach-stm32/stm32f7/clock.c +2 more+15 -301 reply
6/9net: stm32: add designware mac glue code for stm32arch/arm/include/asm/arch-stm32f7/stm32_periph.h arch/arm/include/asm/arch-stm32f7/syscfg.h arch/arm/mach-stm32/stm32f7/clock.c +4 more+122 -31 reply
7/9net: phy: add SMSC LAN8742 phydrivers/net/phy/smsc.c+12 -01 reply
8/9ARM: stm32: enable support for smsc phy on stm32f746-disco boardinclude/configs/stm32f746-disco.h+1 -01 reply
9/9ARM: SPI: stm32: add stm32f746 qspi driverarch/arm/include/asm/arch-stm32f7/rcc.h arch/arm/include/asm/arch-stm32f7/stm32_periph.h arch/arm/mach-stm32/stm32f7/clock.c +5 more+712 -21 reply

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchVikas MANOCHAJoe Hershberger
1/9A-b
2/9A-b
3/9A-b
4/9A-b
5/9R-b R-b
6/9A-b
7/9A-b
8/9A-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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
Signature · 1 line
2.1.4