]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: spi_amd: Enable dual and quad I/O modes
authorRaju Rangoju <Raju.Rangoju@amd.com>
Wed, 25 Sep 2024 13:36:38 +0000 (19:06 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:11:51 +0000 (01:11 +0200)
commit769c16fa86f135542e08610e94015ed0f10afae4
treef57d2af457b8dacbe4431ac00a30c5f15ccecc74
parentd6dc8b7534d5c9dec80fdd7d4af20fd71602d7cb
spi: spi_amd: Enable dual and quad I/O modes

The current spi_amd driver only supports single I/O mode, despite the AMD
SPI controller's capability for dual and quad I/O modes for read
operations. And AMD SPI0 controller has limited support for quad mode
write operations. Update the SPI-MEM support function to reflect these
hardware capabilities.

Co-developed-by: Krishnamoorthi M <krishnamoorthi.m@amd.com>
Signed-off-by: Krishnamoorthi M <krishnamoorthi.m@amd.com>
Co-developed-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Akshata MukundShetty <akshata.mukundshetty@amd.com>
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Link: https://patch.msgid.link/20240925133644.2922359-3-Raju.Rangoju@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-amd.c