[PATCH 1/2] spi: bcm2835: add spi-bcm2835aux driver for the auxiliar spi1 and spi2
noralf at tronnes.org
Mon Jun 22 07:08:06 PDT 2015
Den 22.06.2015 15:40, skrev kernel at martin.sperl.org:
> From: Martin Sperl <kernel at martin.sperl.org>
> This driver does NOT make use of native chip-selects but uses the
> generic cs-gpios facilities provided by the framework allowing for
> more than 3 chip-selects.
> Signed-off-by: Martin Sperl <kernel at martin.sperl.org>
> drivers/spi/Kconfig | 10 +
> drivers/spi/Makefile | 1 +
> drivers/spi/spi-bcm2835aux.c | 549 ++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 560 insertions(+)
> create mode 100644 drivers/spi/spi-bcm2835aux.c
> Only tested spi1, as no Compute Module is available to me to test spi2.
> Also note that the driver currently implements locking of the auxiliar
> device enable bits inside the driver. This is shared with the uart1,
> for which we have so far no driver. Ideally this should get moved out
> as soon as we get the uart1 driver enabled.
> Uart1 is also only accessible on the Compute Module.
Uart1 is available on the uart0 pins (alt5) and the 8250 driver can be
used (ns16550 compatible).
More information about the linux-rpi-kernel