diff options
author | Marcin Wojtas <mw@semihalf.com> | 2020-12-23 13:38:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-28 15:25:31 +0300 |
commit | 22a6d41c871225bdd269a80fe04236071f429e2b (patch) | |
tree | 67c59260068289b685e59aaca186e5be65d93218 /lib/test_strscpy.c | |
parent | e2be70318d7b0ad9446d8a64ed1bc73e3316ee39 (diff) | |
download | linux-22a6d41c871225bdd269a80fe04236071f429e2b.tar.xz |
spi: orion: enable support for switching CS every transferred byte
Some SPI devices, require toggling the CS every transferred byte.
Enable such possibility in the spi-orion driver.
Note that in order to use it, in the driver of a secondary device
attached to this controller, the SPI bus 'mode' field must be
updated with SPI_CS_WORD flag before calling spi_setup() routine.
In addition to that include a work-around - some devices, such as
certain models of SLIC (Subscriber Line Interface Card),
may require extra delay after CS toggling, so add a minimal
timing relaxation in relevant places.
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Link: https://lore.kernel.org/r/20201223103827.29721-3-kostap@marvell.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/test_strscpy.c')
0 files changed, 0 insertions, 0 deletions