summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-mxs.c
diff options
context:
space:
mode:
authorBoerge Struempfel <boerge.struempfel@gmail.com>2023-05-30 17:16:38 +0300
committerMark Brown <broonie@kernel.org>2023-05-30 17:20:09 +0300
commit6a983ff5102ff0d859df05ca3f5cf2f6a17c0fad (patch)
treeab1cb0d6f66f3272d565d1f555c64d50863a73e0 /drivers/gpio/gpio-mxs.c
parenta45baa079e2a6b7a5516354c6ff08702232384f5 (diff)
downloadlinux-6a983ff5102ff0d859df05ca3f5cf2f6a17c0fad.tar.xz
spi: spi-imx: add support for SPI_MOSI_IDLE_LOW mode bit
By default, the spi-imx controller pulls the mosi line high, whenever it is idle. This behaviour can be inverted per CS by setting the corresponding DATA_CTL bit in the config register of the controller. Also, since the controller mode-bits have to be touched anyways, the SPI_CPOL and SPI_CPHA are replaced by the combined SPI_MODE_X_MASK flag. Signed-off-by: Boerge Struempfel <boerge.struempfel@gmail.com> Link: https://lore.kernel.org/r/20230530141641.1155691-3-boerge.struempfel@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-mxs.c')
0 files changed, 0 insertions, 0 deletions