spi: add SPI_MOSI_IDLE_LOW mode bit
authorMark Brown <broonie@kernel.org>
Tue, 30 May 2023 16:43:31 +0000 (17:43 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 30 May 2023 16:43:31 +0000 (17:43 +0100)
commitfe73245592fef75a7c41180a3fbb07c9a75f622e
tree2b4964fcd8f518de998ffe57f1dfff63a16cf60f
parent0bbb363f86f2215571741bc945f6b9ec132ea1b8
parentb229a7f530ebea90c8e21b56872f3102e3d54461
spi: add SPI_MOSI_IDLE_LOW mode bit

Merge series from Boerge Struempfel <boerge.struempfel@gmail.com>:

Some spi controller switch the mosi line to high, whenever they are
idle. This may not be desired in all use cases. For example neopixel
leds can get confused and flicker due to misinterpreting the idle state.
Therefore, we introduce a new spi-mode bit, with which the idle behaviour
can be overwritten on a per device basis.