diff options
author | Martin Sperl <kernel@martin.sperl.org> | 2015-04-06 20:16:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-10 21:50:52 +0300 |
commit | a30a555d7435a440fab06fe5960cf3448d8cedd3 (patch) | |
tree | 119afa8a1ede43f405397e2227e5ce4c69686f1b /arch/arm/mach-s3c24xx/regs-dsc.h | |
parent | e3a2be3030e2fec27a2577d3c52203da090a4366 (diff) | |
download | linux-a30a555d7435a440fab06fe5960cf3448d8cedd3.tar.xz |
spi: bcm2835: transform native-cs to gpio-cs on first spi_setup
Transforms the bcm-2835 native SPI-chip select to their gpio-cs equivalent.
This allows for some support of some optimizations that are not
possible due to HW-gliches on the CS line - especially filling
the FIFO before enabling SPI interrupts (by writing to CS register)
while the transfer is already in progress (See commit: e3a2be3030e2)
This patch also works arround some issues in bcm2835-pinctrl which does not
set the value when setting the GPIO as output - it just sets up output and
(typically) leaves the GPIO as low. When a fix for this is merged then this
gpio_set_value can get removed from bcm2835_spi_setup.
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/regs-dsc.h')
0 files changed, 0 insertions, 0 deletions