Root/target/linux/lantiq/patches-3.3/0008-spi-support.patch

1From 8fd28bca39e31be5a05cb9cf89335a207e8b031f Mon Sep 17 00:00:00 2001
2From: John Crispin <blogic@openwrt.org>
3Date: Fri, 3 Aug 2012 09:53:54 +0200
4Subject: [PATCH 08/25] spi support
5
6---
7 drivers/spi/Kconfig | 17 +++++++++++++++++
8 drivers/spi/Makefile | 3 +++
9 2 files changed, 20 insertions(+), 0 deletions(-)
10
11diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
12index f62424f..7e8146e 100644
13--- a/drivers/spi/Kconfig
14+++ b/drivers/spi/Kconfig
15@@ -188,6 +188,10 @@ config SPI_MPC52xx
16       This drivers supports the MPC52xx SPI controller in master SPI
17       mode.
18 
19+config SPI_FALCON
20+ tristate "Falcon SPI controller support"
21+ depends on SOC_FALCON
22+
23 config SPI_MPC52xx_PSC
24     tristate "Freescale MPC52xx PSC SPI controller"
25     depends on PPC_MPC52xx && EXPERIMENTAL
26@@ -362,6 +366,11 @@ config SPI_TOPCLIFF_PCH
27       This driver also supports the ML7213/ML7223/ML7831, a companion chip
28       for the Atom E6xx series and compatible with the Intel EG20T PCH.
29 
30+config SPI_SVIP
31+ tristate "SVIP SPI controller"
32+ depends on SOC_SVIP
33+ default y
34+
35 config SPI_TXX9
36     tristate "Toshiba TXx9 SPI controller"
37     depends on GENERIC_GPIO && CPU_TX49XX
38@@ -387,6 +396,14 @@ config SPI_NUC900
39     help
40       SPI driver for Nuvoton NUC900 series ARM SoCs
41 
42+config SPI_XWAY
43+ tristate "Lantiq XWAY SPI controller"
44+ depends on LANTIQ && SOC_TYPE_XWAY
45+ select SPI_BITBANG
46+ help
47+ This driver supports the Lantiq SoC SPI controller in master
48+ mode.
49+
50 #
51 # Add new SPI master controllers in alphabetical order above this line
52 #
53diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile
54index 1514c1d..71e7655 100644
55--- a/drivers/spi/Makefile
56+++ b/drivers/spi/Makefile
57@@ -25,6 +25,7 @@ obj-$(CONFIG_SPI_DW_MMIO) += spi-dw-mmio.o
58 obj-$(CONFIG_SPI_DW_PCI) += spi-dw-midpci.o
59 spi-dw-midpci-objs := spi-dw-pci.o spi-dw-mid.o
60 obj-$(CONFIG_SPI_EP93XX) += spi-ep93xx.o
61+obj-$(CONFIG_SPI_FALCON) += spi-falcon.o
62 obj-$(CONFIG_SPI_FSL_LIB) += spi-fsl-lib.o
63 obj-$(CONFIG_SPI_FSL_ESPI) += spi-fsl-espi.o
64 obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o
65@@ -59,4 +60,6 @@ obj-$(CONFIG_SPI_TLE62X0) += spi-tle62x0.o
66 obj-$(CONFIG_SPI_TOPCLIFF_PCH) += spi-topcliff-pch.o
67 obj-$(CONFIG_SPI_TXX9) += spi-txx9.o
68 obj-$(CONFIG_SPI_XILINX) += spi-xilinx.o
69+obj-$(CONFIG_SPI_XWAY) += spi-xway.o
70+obj-$(CONFIG_SPI_SVIP) += spi_svip.o
71 
72--
731.7.9.1
74
75

Archive Download this file



interactive