diff options
| author | Raju Rangoju <[email protected]> | 2024-02-29 19:15:44 +0530 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-03-25 20:30:06 +0000 |
| commit | 6defadbe6cbc3a87dc39c119a6748d19bfba0544 (patch) | |
| tree | 860643c24af7502ba1ffb7486b223c551cbca37b /tools/perf/scripts/python/bin | |
| parent | bdeef5dcea6b164f4bd614655821b1ef12ebec9a (diff) | |
spi: spi_amd: Add support for SPI MEM framework
Add support to the SPI controller driver to use SPI MEM framework.
SPI subsystem utilizing the SPI memory operations allows to re-use
SPI controller drivers for both SPI NOR devices, regular SPI devices
as well as SPI NAND devices.
Add below functions of spi_mem_ops to support SPI MEM framework
- exec-op(): to execute the memory operations.
- supports_op(): to check if the memory operation is supported.
- adjust_op_size(): to split data transfers so that they don’t exceed the
max transfer size supported by the controller.
Suggested-by: Sudheesh Mavila <[email protected]>
Co-developed-by: Krishnamoorthi M <[email protected]>
Signed-off-by: Krishnamoorthi M <[email protected]>
Co-developed-by: Akshata MukundShetty <[email protected]>
Signed-off-by: Akshata MukundShetty <[email protected]>
Signed-off-by: Raju Rangoju <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions