spi/tegra114: add spi driver
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 22 Feb 2013 12:37:39 +0000 (18:07 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 7 Apr 2013 09:08:00 +0000 (10:08 +0100)
commitf333a331adfacf8c7a9dbf7e5f72b10a0356156b
tree4631a77e500b9bba86f809307a3d83190f789254
parent5e49035e26abf557737c1281439548f33b41578e
spi/tegra114: add spi driver

Add SPI driver for NVIDIA's Tegra114 SPI controller. This controller
is different than the older SoCs SPI controller in internal design as
well as register interface.

This driver supports the:
- non DMA based transfer for smaller transfer i.e. less than FIFO depth.
- APB DMA based transfer for larger transfer i.e. more than FIFO depth.
- Clock gating through runtime PM callbacks.
- registration through DT only.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt [new file with mode: 0644]
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-tegra114.c [new file with mode: 0644]