diff options
author | Boerge Struempfel <boerge.struempfel@gmail.com> | 2023-05-30 16:16:37 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-30 15:20:08 +0100 |
commit | a45baa079e2a6b7a5516354c6ff08702232384f5 (patch) | |
tree | a7e5c86a5032b656ea342004fd3483ef5457e7c3 /drivers/spi | |
parent | 3e39448ad9b29ee1beb409210812b1a3df11de3f (diff) |
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>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions