diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2017-05-23 16:03:21 +1200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-05-24 18:02:43 +0100 |
commit | b28b9149b37f909a05f1e06e5a8b262a519dbd2b (patch) | |
tree | 4a2b3ec73e6eb564f6cbf0630dea7933f0fce806 /include/linux/serdev.h | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | lwn-b28b9149b37f909a05f1e06e5a8b262a519dbd2b.tar.gz lwn-b28b9149b37f909a05f1e06e5a8b262a519dbd2b.zip |
spi: orion: Handle GPIO chip-selects
Some hardware designs use GPIOs to add (or supplement) the SPI
chip-select so that more than one SPI slave device can be used.
For this to work with the spi-orion driver the SPI_MASTER_GPIO_SS flag
needs to be set (because the other outputs are gated internally by the
CS) and the correct chip-select (in this case CS0) needs to be driven by
the controller.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/serdev.h')
0 files changed, 0 insertions, 0 deletions