]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: bcm2835aux: add bcm2835 auxiliary spi device driver
authorMartin Sperl <kernel@martin.sperl.org>
Fri, 11 Sep 2015 11:22:04 +0000 (11:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 7 Oct 2015 10:42:57 +0000 (11:42 +0100)
commit1ea29b39f4c812ece2f936065a0a3d6fe44a263e
treed65f3f668362e63fbb729e0eb8e6fff1ba530c46
parent541cf5de027b7e9afe3a8f0ce205d2ccc02ac3fe
spi: bcm2835aux: add bcm2835 auxiliary spi device driver

The bcm2835 has 2 auxiliary spi bus masters spi1 and spi2.

This implements the driver to enable these devices.

The driver does not implement native chip-selects but uses
the aribtrary GPIO-chip-selects provided by the spi-chipselect.

Note that this driver relies on the fact that
the clock is implemented by the clk-bcm2835-aux driver,
which enables/disables the HW block when requesting/releasing
the clock.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-bcm2835aux.c [new file with mode: 0644]