leon: R.I.P.
[openwrt/svn-archive/archive.git] / target / linux / coldfire / patches / 030-Add-SPI-device-configuration-for-FXS-and-FXO-on-MCF5.patch
1 From 2a73218ebe0bdca04cc9299da50d7f079ca46a7d Mon Sep 17 00:00:00 2001
2 From: Alison Wang <b18965@freescale.com>
3 Date: Thu, 4 Aug 2011 09:59:47 +0800
4 Subject: [PATCH 30/52] Add SPI device configuration for FXS and FXO on MCF54451 platform
5
6 Add SPI device configuration for FXS and FXO on MCF54451 platform.
7 So FXS and FXO drivers can use SPI subsystem interfaces for the SPI
8 read and write operations. So as to fix the confliction between FXO/FXS
9 with other SPI devices.
10
11 Signed-off-by: Alison Wang <b18965@freescale.com>
12 ---
13 drivers/spi/Kconfig | 14 ++++++++++++++
14 1 files changed, 14 insertions(+), 0 deletions(-)
15
16 --- a/drivers/spi/Kconfig
17 +++ b/drivers/spi/Kconfig
18 @@ -189,6 +189,20 @@ config SPI_COLDFIRE_DSPI_EDMA
19 help
20 Say "yes" if you want DSPI master driver to use eDMA for transfers.
21
22 +config VOIP_FXS
23 + boolean "Coldfire VoIP FXS driver"
24 + depends on M54451 && SPI_MASTER && SPI_DSPI
25 + default n
26 + help
27 + Say "yes" if you want VoIP FXS driver to use DSPI for transfers.
28 +
29 +config VOIP_FXO
30 + boolean "Coldfire VoIP FXO driver"
31 + depends on M54451 && SPI_MASTER && SPI_DSPI
32 + default n
33 + help
34 + Say "yes" if you want VoIP FXO driver to use DSPI for transfers.
35 +
36 config SPI_IMX_VER_IMX1
37 def_bool y if SOC_IMX1
38