]> git.baikalelectronics.ru Git - uboot.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)
commitd1d63fcb4b8e8b2ecbfe32fb911eaa7747596e92
treec25208b6aa462654f33af41bbccbef603f90784c
parentcf23f48a7941887e186581eb01158ea0e624a2f3
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