OpenCloudOS-Kernel/include/uapi/linux/spi
Boerge Struempfel a45baa079e
spi: add SPI_MOSI_IDLE_LOW mode bit
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.

Signed-off-by: Boerge Struempfel <boerge.struempfel@gmail.com>
Link: https://lore.kernel.org/r/20230530141641.1155691-2-boerge.struempfel@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-05-30 15:20:08 +01:00
..
spi.h spi: add SPI_MOSI_IDLE_LOW mode bit 2023-05-30 15:20:08 +01:00
spidev.h spi: uapi: unify SPI modes into a single spi.h header 2020-12-28 14:21:30 +00:00