diff mbox series

[v2,2/2] drivers: spi: add commands for micron SPI

Message ID 20200517072412.19416-3-rayagonda.kokatanur@broadcom.com
State New
Headers show
Series add broadcom spi driver | expand

Commit Message

Rayagonda Kokatanur May 17, 2020, 7:24 a.m. UTC
Add commands for dual and quad SPI transfers on Micon SPI.

Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur at broadcom.com>
---
 include/spi.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/spi.h b/include/spi.h
index 2b4929fc79..491f1f805c 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -150,6 +150,8 @@  struct spi_slave {
 #define SPI_XFER_ONCE		(SPI_XFER_BEGIN | SPI_XFER_END)
 #define SPI_XFER_MMAP		BIT(2)	/* Memory Mapped start */
 #define SPI_XFER_MMAP_END	BIT(3)	/* Memory Mapped End */
+#define SPI_XFER_DUAL		BIT(30)
+#define SPI_XFER_QUAD		BIT(31)
 };
 
 /**