From 2b11a41cefefd8d6236d5d4513ebb91058c545e2 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Mon, 28 Dec 2015 22:55:50 +0530 Subject: [PATCH] spi: Add SPI_TX_DUAL mode Added SPI_TX_DUAL mode flag. Cc: Bin Meng Cc: Mugunthan V N Tested-by: Jagan Teki Signed-off-by: Jagan Teki --- include/spi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/spi.h b/include/spi.h index 85866a27fc..25470e4df2 100644 --- a/include/spi.h +++ b/include/spi.h @@ -24,7 +24,8 @@ #define SPI_SLAVE BIT(6) /* slave mode */ #define SPI_PREAMBLE BIT(7) /* Skip preamble bytes */ #define SPI_TX_BYTE BIT(8) /* transmit with 1 wire byte */ -#define SPI_TX_QUAD BIT(9) /* transmit with 4 wires */ +#define SPI_TX_DUAL BIT(9) /* transmit with 2 wires */ +#define SPI_TX_QUAD BIT(10) /* transmit with 4 wires */ /* SPI mode_rx flags */ #define SPI_RX_SLOW BIT(0) /* receive with 1 wire slow */ -- 2.39.5