Re: [PATCH 1/2] spi: bcm2835: add spi-bcm2835aux driver for the auxiliar spi1 and spi2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Den 22.06.2015 15:40, skrev kernel@xxxxxxxxxxxxxxxx:
From: Martin Sperl <kernel@xxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxx>

---
  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).
See: https://github.com/raspberrypi/linux/pull/1008

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux