Sjur Braendeland | 9b27105 | 2010-03-30 13:56:30 +0000 | [diff] [blame] | 1 | # |
| 2 | # CAIF physical drivers |
| 3 | # |
| 4 | |
Sjur Braendeland | 9b27105 | 2010-03-30 13:56:30 +0000 | [diff] [blame] | 5 | comment "CAIF transport drivers" |
| 6 | |
| 7 | config CAIF_TTY |
| 8 | tristate "CAIF TTY transport driver" |
Joe Millenbach | 4f73bc4 | 2013-01-17 22:44:22 -0800 | [diff] [blame] | 9 | depends on CAIF && TTY |
Sjur Braendeland | 9b27105 | 2010-03-30 13:56:30 +0000 | [diff] [blame] | 10 | default n |
| 11 | ---help--- |
| 12 | The CAIF TTY transport driver is a Line Discipline (ldisc) |
| 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. |
Sjur Braendeland | 529d6da | 2010-06-29 00:08:21 -0700 | [diff] [blame] | 15 | |
| 16 | config CAIF_SPI_SLAVE |
| 17 | tristate "CAIF SPI transport driver for slave interface" |
Heiko Carstens | 9dc002d | 2010-08-24 12:21:13 -0700 | [diff] [blame] | 18 | depends on CAIF && HAS_DMA |
Sjur Braendeland | 529d6da | 2010-06-29 00:08:21 -0700 | [diff] [blame] | 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. |
Amarnath Revanna | 1933f0c | 2010-10-27 08:34:42 +0000 | [diff] [blame] | 34 | |
Dmitry.Tarnyagin | 40d6904 | 2011-06-01 03:29:18 +0000 | [diff] [blame] | 35 | config CAIF_HSI |
| 36 | tristate "CAIF HSI transport driver" |
| 37 | depends on CAIF |
| 38 | default n |
| 39 | ---help--- |
| 40 | The caif low level driver for CAIF over HSI. |
| 41 | Be aware that if you enable this then you also need to |
| 42 | enable a low-level HSI driver. |
Erwan Yvin | 0d2e1a2 | 2013-03-20 13:52:24 +1030 | [diff] [blame] | 43 | |
| 44 | config CAIF_VIRTIO |
| 45 | tristate "CAIF virtio transport driver" |
Geert Uytterhoeven | 79e0c19 | 2013-05-09 11:04:52 +0000 | [diff] [blame] | 46 | depends on CAIF && HAS_DMA |
Erwan Yvin | 0d2e1a2 | 2013-03-20 13:52:24 +1030 | [diff] [blame] | 47 | select VHOST_RING |
| 48 | select VIRTIO |
| 49 | select GENERIC_ALLOCATOR |
| 50 | default n |
| 51 | ---help--- |
| 52 | The caif driver for CAIF over Virtio. |
| 53 | |
| 54 | if CAIF_VIRTIO |
| 55 | source "drivers/vhost/Kconfig" |
| 56 | endif |