aboutsummaryrefslogtreecommitdiff
path: root/Documentation/driver-api/fpga/fpga-programming.rst
diff options
context:
space:
mode:
authorAndreas Färber <[email protected]>2022-02-19 14:15:48 +0100
committerMark Brown <[email protected]>2022-02-22 11:56:41 +0000
commit1847e3046c528bd85bd51e2860f4139bd9052d6c (patch)
treeb5384060b3dec3f43071d118d36185cf6f3fe9e5 /Documentation/driver-api/fpga/fpga-programming.rst
parent5741150c808b2bbeb1017609f3029daf6651b7d5 (diff)
spi: gpio: Implement LSB First bitbang support
Add support for slave DT property spi-lsb-first, i.e., SPI_LSB_FIRST mode. Duplicate the inline helpers bitbang_txrx_be_cpha{0,1} as LE versions. Conditionally call them from all the spi-gpio txrx_word callbacks. Some alternatives to this implementation approach were discussed back then [0], but eventually it was considered reasonable. [0] https://lore.kernel.org/linux-arm-kernel/[email protected]/ Signed-off-by: Andreas Färber <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Tested-by: Christian Hewitt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'Documentation/driver-api/fpga/fpga-programming.rst')
0 files changed, 0 insertions, 0 deletions