Skip to content

spi: Add Atmel QuadSPI driver

Tudor.Ambarus at microchip.com u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest10 patches 0 repliesNew
  2. v42 of 10 patches 0 repliesSuperseded
  3. v310 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v210 patches0 repliesSuperseded
v15 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10dt-bindings: spi: add bindings for Atmel QSPI driverdoc/device-tree-bindings/spi/atmel-quadspi.txt+37 -01 reply
2/10spi: Add Atmel QuadSPI driverdrivers/spi/Kconfig drivers/spi/Makefile drivers/spi/atmel-quadspi.c+545 -01 reply
3/10configs: sama5d2_xplained: enable qspi controller and flashesconfigs/sama5d2_xplained_emmc_defconfig configs/sama5d2_xplained_mmc_defconfig configs/sama5d2_xplained_spiflash_defconfig+15 -01 reply
4/10configs: sama5d27_som1_ek: enable qspi controller and flashesconfigs/sama5d27_som1_ek_mmc1_defconfig configs/sama5d27_som1_ek_mmc_defconfig+4 -01 reply
5/10ARM: dts: at91: sama5d2_xplained: fix QSPI0 nodearch/arm/dts/at91-sama5d2_xplained.dts+17 -191 reply
6/10ARM: at91: sama5: add common environment for QSPIinclude/configs/at91-sama5_common.h+8 -00 replies
7/10configs: sama5d2_xplained: add qspiflash_defconfigboard/atmel/sama5d2_xplained/MAINTAINERS configs/sama5d2_xplained_qspiflash_defconfig+102 -01 reply
8/10configs: sama5d27_som1_ek: add qspiflash_defconfigboard/atmel/sama5d27_som1_ek/MAINTAINERS configs/sama5d27_som1_ek_qspiflash_defconfig+102 -01 reply
9/10configs: sama5d27_som1_ek: qspi: use common memory layoutinclude/configs/sama5d27_som1_ek.h+0 -70 replies
10/10configs: sama5d2_xplained: add support QSPI flash bootinclude/configs/sama5d2_xplained.h+11 -00 replies

Reviews trailers per patch

5 of 10 patches have a Reviewed-by or Acked-by.

PatchJagan Teki
1/10
2/10R-b
3/10R-b
4/10R-b
5/10
6/10
7/10R-b
8/10R-b
9/10
10/10

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

Read the v5 thread

Cover letter [U-Boot] [PATCH v5 00/10] spi: Add Atmel QuadSPI driver

From: Tudor Ambarus <[email protected]>

Backport the driver from linux v5.1-rc5 and adapt it for u-boot. Tested on sama5d2_xplained Rev B with mx25l25635e spi-nor flash, and on sama5d27_som1_ek with sst26vf064b spi-nor flash.

V5: drop struct platform_device *pdev; linux leftover, add 2 new blank lines

v4: Update Kconfig description

v3: fix following config warnings reported by travis:
./tools/genboardscfg.py
WARNING: no status info for 'sama5d2_xplained_qspiflash'
WARNING: no maintainers for 'sama5d2_xplained_qspiflash'
WARNING: no status info for 'sama5d27_som1_ek_qspiflash'
WARNING: no maintainers for 'sama5d27_som1_ek_qspiflash'

v2: update/add configs and update sama5d2_xplained dts

Cyrille Pitchen (2):
ARM: dts: at91: sama5d2_xplained: fix QSPI0 node
ARM: at91: sama5: add common environment for QSPI

Eugen Hristev (1):
configs: sama5d2_xplained: add support QSPI flash boot

Tudor Ambarus (7):
dt-bindings: spi: add bindings for Atmel QSPI driver
spi: Add Atmel QuadSPI driver
configs: sama5d2_xplained: enable qspi controller and flashes
configs: sama5d27_som1_ek: enable qspi controller and flashes
configs: sama5d2_xplained: add qspiflash_defconfig
configs: sama5d27_som1_ek: add qspiflash_defconfig
configs: sama5d27_som1_ek: qspi: use common memory layout

 arch/arm/dts/at91-sama5d2_xplained.dts         |  36 +-
 board/atmel/sama5d27_som1_ek/MAINTAINERS       |   1 +
 board/atmel/sama5d2_xplained/MAINTAINERS       |   1 +
 configs/sama5d27_som1_ek_mmc1_defconfig        |   2 +
 configs/sama5d27_som1_ek_mmc_defconfig         |   2 +
 configs/sama5d27_som1_ek_qspiflash_defconfig   | 101 +++++
 configs/sama5d2_xplained_emmc_defconfig        |   5 +
 configs/sama5d2_xplained_mmc_defconfig         |   5 +
 configs/sama5d2_xplained_qspiflash_defconfig   | 101 +++++
 configs/sama5d2_xplained_spiflash_defconfig    |   5 +
 doc/device-tree-bindings/spi/atmel-quadspi.txt |  37 ++
 drivers/spi/Kconfig                            |   8 +
 drivers/spi/Makefile                           |   1 +
 drivers/spi/atmel-quadspi.c                    | 536 +++++++++++++++++++++++++
 include/configs/at91-sama5_common.h            |   8 +
 include/configs/sama5d27_som1_ek.h             |   7 -
 include/configs/sama5d2_xplained.h             |  11 +
 17 files changed, 841 insertions(+), 26 deletions(-)
 create mode 100644 configs/sama5d27_som1_ek_qspiflash_defconfig
 create mode 100644 configs/sama5d2_xplained_qspiflash_defconfig
 create mode 100644 doc/device-tree-bindings/spi/atmel-quadspi.txt
 create mode 100644 drivers/spi/atmel-quadspi.c
Signature · 1 line
2.9.5