spi: xilinx_spi: Add support for spi memory operations
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Sat, 16 Jul 2022 06:58:46 +0000 (12:28 +0530)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Jul 2022 07:34:21 +0000 (09:34 +0200)
commitf2dd6599df65dd307d7170f1b2fc0d38eb44ad75
tree3e12c755e92262161d4c0ba9343989a591a23979
parentb524f8fb1e94a8e649ba06a7cb87e6dcaa96ebc3
spi: xilinx_spi: Add support for spi memory operations

Add support for spi memory operations for xilinx AXI qspi driver.
This provides an high-level interface to execute SPI memory
operations by the controller.

Remove existing spi transfer based implementation and use
spi memory based exec_op() implementation for qspi IO operations.

Simplified existing startup_block implementation.

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/1657954727-31972-2-git-send-email-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/spi/xilinx_spi.c