blob: 2b9a2f117113e612dec23851334cb48650452fac [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Sjur Braendeland9b271052010-03-30 13:56:30 +00002#
3# CAIF physical drivers
4#
5
Sjur Braendeland9b271052010-03-30 13:56:30 +00006comment "CAIF transport drivers"
7
8config CAIF_TTY
9 tristate "CAIF TTY transport driver"
Joe Millenbach4f73bc42013-01-17 22:44:22 -080010 depends on CAIF && TTY
Sjur Braendeland9b271052010-03-30 13:56:30 +000011 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 Braendeland529d6da2010-06-29 00:08:21 -070016
17config CAIF_SPI_SLAVE
18 tristate "CAIF SPI transport driver for slave interface"
Heiko Carstens9dc002d2010-08-24 12:21:13 -070019 depends on CAIF && HAS_DMA
Sjur Braendeland529d6da2010-06-29 00:08:21 -070020 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
27config 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 Revanna1933f0c2010-10-27 08:34:42 +000035
Dmitry.Tarnyagin40d69042011-06-01 03:29:18 +000036config 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 Yvin0d2e1a22013-03-20 13:52:24 +103044
45config CAIF_VIRTIO
46 tristate "CAIF virtio transport driver"
Geert Uytterhoeven79e0c192013-05-09 11:04:52 +000047 depends on CAIF && HAS_DMA
Erwan Yvin0d2e1a22013-03-20 13:52:24 +103048 select VHOST_RING
49 select VIRTIO
50 select GENERIC_ALLOCATOR
51 default n
52 ---help---
53 The caif driver for CAIF over Virtio.
54
55if CAIF_VIRTIO
Michael S. Tsirkin4d9382452016-08-02 03:03:35 +030056source "drivers/vhost/Kconfig.vringh"
Erwan Yvin0d2e1a22013-03-20 13:52:24 +103057endif