|
@@ -861,6 +861,8 @@ static void of_register_spi_devices(struct spi_master *master)
|
|
|
spi->mode |= SPI_CPOL;
|
|
|
if (of_find_property(nc, "spi-cs-high", NULL))
|
|
|
spi->mode |= SPI_CS_HIGH;
|
|
|
+ if (of_find_property(nc, "spi-3wire", NULL))
|
|
|
+ spi->mode |= SPI_3WIRE;
|
|
|
|
|
|
/* Device speed */
|
|
|
prop = of_get_property(nc, "spi-max-frequency", &len);
|