[U-Boot] [PATCH v3 02/10] spi: Add Atmel QuadSPI driver
Tudor.Ambarus at microchip.com
Tudor.Ambarus at microchip.com
Tue May 14 16:35:35 UTC 2019
On 05/14/2019 01:26 PM, Tudor Ambarus - M18064 wrote:
> 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.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus at microchip.com>
> ---
> v3: no change
> v2: no change
>
> drivers/spi/Kconfig | 7 +
> drivers/spi/Makefile | 1 +
> drivers/spi/atmel-quadspi.c | 535 ++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 543 insertions(+)
> create mode 100644 drivers/spi/atmel-quadspi.c
>
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index dc3e23f353aa..69c2f92c7826 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -49,6 +49,13 @@ config ATH79_SPI
> uses driver model and requires a device tree binding to operate.
> please refer to doc/device-tree-bindings/spi/spi-ath79.txt.
>
> +config ATMEL_QSPI
> + bool "Atmel QSPI driver"
"Atmel Quad SPI Controller"
> + depends on ARCH_AT91
> + help
> + Enable the Ateml Quad-SPI (QSPI) driver. This driver can only be
> + used to access SPI NOR flashes.
The description is wrong, I'll submit a new version if everything else looks ok.
This should have been:
This enables support for the Quad SPI controller in master mode.
This driver does not support generic SPI. The implementation only
supports spi-mem interface.
More information about the U-Boot
mailing list