|
@@ -1234,6 +1234,8 @@ static void of_register_spi_devices(struct spi_master *master)
|
|
|
spi->mode |= SPI_CS_HIGH;
|
|
|
if (of_find_property(nc, "spi-3wire", NULL))
|
|
|
spi->mode |= SPI_3WIRE;
|
|
|
+ if (of_find_property(nc, "spi-lsb-first", NULL))
|
|
|
+ spi->mode |= SPI_LSB_FIRST;
|
|
|
|
|
|
/* Device DUAL/QUAD mode */
|
|
|
if (!of_property_read_u32(nc, "spi-tx-bus-width", &value)) {
|