diff options
author | Sjur Braendeland <sjur.brandeland@stericsson.com> | 2010-06-29 03:08:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-29 03:08:21 -0400 |
commit | 529d6dad5bc69de14cdd24831e2a14264e93daa4 (patch) | |
tree | a89d7b8cdd3692e96a64c5d7196bcefc9f1e7f24 /drivers/net/caif/Kconfig | |
parent | 01eebb53a65996dfbfb892bf5eb21ae831fbe3a6 (diff) |
caif-driver: Add CAIF-SPI Protocol driver.
This patch introduces the CAIF SPI Protocol Driver for
CAIF Link Layer.
This driver implements a platform driver to accommodate for a
platform specific SPI device. A general platform driver is not
possible as there are no SPI Slave side Kernel API defined.
A sample CAIF SPI Platform device can be found in
.../Documentation/networking/caif/spi_porting.txt
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/caif/Kconfig')
-rw-r--r-- | drivers/net/caif/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/net/caif/Kconfig b/drivers/net/caif/Kconfig index 6f33ee453f4..631a6242b01 100644 --- a/drivers/net/caif/Kconfig +++ b/drivers/net/caif/Kconfig | |||
@@ -12,3 +12,22 @@ config CAIF_TTY | |||
12 | The CAIF TTY transport driver is a Line Discipline (ldisc) | 12 | The CAIF TTY transport driver is a Line Discipline (ldisc) |
13 | identified as N_CAIF. When this ldisc is opened from user space | 13 | identified as N_CAIF. When this ldisc is opened from user space |
14 | it will redirect the TTY's traffic into the CAIF stack. | 14 | it will redirect the TTY's traffic into the CAIF stack. |
15 | |||
16 | config CAIF_SPI_SLAVE | ||
17 | tristate "CAIF SPI transport driver for slave interface" | ||
18 | depends on CAIF | ||
19 | default n | ||
20 | ---help--- | ||
21 | The CAIF Link layer SPI Protocol driver for Slave SPI interface. | ||
22 | This driver implements a platform driver to accommodate for a | ||
23 | platform specific SPI device. A sample CAIF SPI Platform device is | ||
24 | provided in Documentation/networking/caif/spi_porting.txt | ||
25 | |||
26 | config CAIF_SPI_SYNC | ||
27 | bool "Next command and length in start of frame" | ||
28 | depends on CAIF_SPI_SLAVE | ||
29 | default n | ||
30 | ---help--- | ||
31 | Putting the next command and length in the start of the frame can | ||
32 | help to synchronize to the next transfer in case of over or under-runs. | ||
33 | This option also needs to be enabled on the modem. | ||