spi: tegra114: add spi driver
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 19 Feb 2013 12:21:36 +0000 (17:21 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 08:13:11 +0000 (01:13 -0700)
commit2686d090e54a4d142098ab82b93f271a0b55731e
tree83d022db4e2ea5a2e0601b2b1617f6a2bb6e0d35
parent1a34360579cffb41f08465b7e158841d8228dfaf
spi: tegra114: add spi driver

Add spi driver for NVIDIA's Tegra114 spi controller. This controller
is different than the older SoCs spi controller and there is a change
in register interface also.

This driver supports the:
- non DMA based transfer for smaller transfer i.e. less than FIFO depth.
- APB DMA based transfer for lager transfer i.e. more than FIFO depth.
- Runtime PM for clock gating.
- registration through DT and platform board files.

Change-Id: I30ab59a29d80b191843878994227945261ae8e17
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/202032
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
(cherry picked from commit 8b21af40fc68e280a1e7f0168928d1b97b61b6ba)
Documentation/devicetree/bindings/spi/nvidia,spi-tegra114.txt [new file with mode: 0644]
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-tegra114.c [new file with mode: 0644]
include/linux/spi/spi-tegra.h