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

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Tue Jun 18 08:51:44 UTC 2019


From: Tudor Ambarus <tudor.ambarus at microchip.com>

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

-- 
2.9.5



More information about the U-Boot mailing list