Message ID | 1343731360-31691-6-git-send-email-rajeshwari.s@samsung.com |
---|---|
State | New |
Headers | show |
On Tuesday 31 July 2012 06:42:37 Rajeshwari Shinde wrote: > This patch adds a new SPI mode flags for SPI slave mode. It enables > slave mode in a SPI interface, and is set/clear in spi_setup_slave() > from the mode parameter. there is no such functionality in the current SPI API. if you want to propose that, you should start a dedicated patch series for it. so NAK this for now. -mike
diff --git a/include/spi.h b/include/spi.h index 60e85db..733c395 100644 --- a/include/spi.h +++ b/include/spi.h @@ -37,6 +37,7 @@ #define SPI_LSB_FIRST 0x08 /* per-word bits-on-wire */ #define SPI_3WIRE 0x10 /* SI/SO signals shared */ #define SPI_LOOP 0x20 /* loopback mode */ +#define SPI_SLAVE 0x40 /* slave mode */ /* SPI transfer flags */ #define SPI_XFER_BEGIN 0x01 /* Assert CS before transfer */