]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: versal: Add versal specific cadence ospi driver
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Thu, 12 May 2022 10:05:32 +0000 (04:05 -0600)
committerMichal Simek <michal.simek@amd.com>
Wed, 29 Jun 2022 13:58:48 +0000 (15:58 +0200)
commitcf553bf20e51951110f88501577c7fe8bbf68386
treec25208b6aa462654f33af41bbccbef603f90784c
parent1e2b8139d95ea924d645886b323be7748579a6d1
arm64: versal: Add versal specific cadence ospi driver

Add support for cadence ospi driver for Versal platform. This driver
provides support for DMA read operation which utilizes cadence qspi
driver.
If "cdns,is-dma" DT property is specified use dma for read operation
from cadence_qspi driver. As cadence_qspi_apb_dma_read() is defined in
cadence_ospi_versal driver add a weak function defination in
cadence_qspi driver.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/20220512100535.16364-3-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
MAINTAINERS
configs/xilinx_versal_virt_defconfig
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/cadence_ospi_versal.c [new file with mode: 0644]
drivers/spi/cadence_qspi.c
drivers/spi/cadence_qspi.h
drivers/spi/cadence_qspi_apb.c