Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Sjur Braendeland | 9b27105 | 2010-03-30 13:56:30 +0000 | [diff] [blame] | 2 | # |
| 3 | # CAIF physical drivers |
| 4 | # |
| 5 | |
Sjur Braendeland | 9b27105 | 2010-03-30 13:56:30 +0000 | [diff] [blame] | 6 | comment "CAIF transport drivers" |
| 7 | |
| 8 | config CAIF_TTY |
| 9 | tristate "CAIF TTY transport driver" |
Joe Millenbach | 4f73bc4 | 2013-01-17 22:44:22 -0800 | [diff] [blame] | 10 | depends on CAIF && TTY |
Sjur Braendeland | 9b27105 | 2010-03-30 13:56:30 +0000 | [diff] [blame] | 11 | default n |
| 12 | ---help--- |
| 13 | The CAIF TTY transport driver is a Line Discipline (ldisc) |
| 14 | identified as N_CAIF. When this ldisc is opened from user space |
| 15 | it will redirect the TTY's traffic into the CAIF stack. |
Sjur Braendeland | 529d6da | 2010-06-29 00:08:21 -0700 | [diff] [blame] | 16 | |
| 17 | config CAIF_SPI_SLAVE |
| 18 | tristate "CAIF SPI transport driver for slave interface" |
Heiko Carstens | 9dc002d | 2010-08-24 12:21:13 -0700 | [diff] [blame] | 19 | depends on CAIF && HAS_DMA |
Sjur Braendeland | 529d6da | 2010-06-29 00:08:21 -0700 | [diff] [blame] | 20 | default n |
| 21 | ---help--- |
| 22 | The CAIF Link layer SPI Protocol driver for Slave SPI interface. |
| 23 | This driver implements a platform driver to accommodate for a |
| 24 | platform specific SPI device. A sample CAIF SPI Platform device is |
| 25 | provided in Documentation/networking/caif/spi_porting.txt |
| 26 | |
| 27 | config CAIF_SPI_SYNC |
| 28 | bool "Next command and length in start of frame" |
| 29 | depends on CAIF_SPI_SLAVE |
| 30 | default n |
| 31 | ---help--- |
| 32 | Putting the next command and length in the start of the frame can |
| 33 | help to synchronize to the next transfer in case of over or under-runs. |
| 34 | This option also needs to be enabled on the modem. |
Amarnath Revanna | 1933f0c | 2010-10-27 08:34:42 +0000 | [diff] [blame] | 35 | |
Dmitry.Tarnyagin | 40d6904 | 2011-06-01 03:29:18 +0000 | [diff] [blame] | 36 | config CAIF_HSI |
| 37 | tristate "CAIF HSI transport driver" |
| 38 | depends on CAIF |
| 39 | default n |
| 40 | ---help--- |
| 41 | The caif low level driver for CAIF over HSI. |
| 42 | Be aware that if you enable this then you also need to |
| 43 | enable a low-level HSI driver. |
Erwan Yvin | 0d2e1a2 | 2013-03-20 13:52:24 +1030 | [diff] [blame] | 44 | |
| 45 | config CAIF_VIRTIO |
| 46 | tristate "CAIF virtio transport driver" |
Geert Uytterhoeven | 79e0c19 | 2013-05-09 11:04:52 +0000 | [diff] [blame] | 47 | depends on CAIF && HAS_DMA |
Erwan Yvin | 0d2e1a2 | 2013-03-20 13:52:24 +1030 | [diff] [blame] | 48 | select VHOST_RING |
| 49 | select VIRTIO |
| 50 | select GENERIC_ALLOCATOR |
| 51 | default n |
| 52 | ---help--- |
| 53 | The caif driver for CAIF over Virtio. |
| 54 | |
| 55 | if CAIF_VIRTIO |
Michael S. Tsirkin | 4d938245 | 2016-08-02 03:03:35 +0300 | [diff] [blame] | 56 | source "drivers/vhost/Kconfig.vringh" |
Erwan Yvin | 0d2e1a2 | 2013-03-20 13:52:24 +1030 | [diff] [blame] | 57 | endif |