2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2010-03-30 21:56:30 +08:00
|
|
|
#
|
|
|
|
# CAIF physical drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
comment "CAIF transport drivers"
|
|
|
|
|
|
|
|
config CAIF_TTY
|
|
|
|
tristate "CAIF TTY transport driver"
|
2013-01-18 14:44:22 +08:00
|
|
|
depends on CAIF && TTY
|
2010-03-30 21:56:30 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The CAIF TTY transport driver is a Line Discipline (ldisc)
|
|
|
|
identified as N_CAIF. When this ldisc is opened from user space
|
|
|
|
it will redirect the TTY's traffic into the CAIF stack.
|
2010-06-29 15:08:21 +08:00
|
|
|
|
|
|
|
config CAIF_SPI_SLAVE
|
|
|
|
tristate "CAIF SPI transport driver for slave interface"
|
2010-08-25 03:21:13 +08:00
|
|
|
depends on CAIF && HAS_DMA
|
2010-06-29 15:08:21 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The CAIF Link layer SPI Protocol driver for Slave SPI interface.
|
|
|
|
This driver implements a platform driver to accommodate for a
|
|
|
|
platform specific SPI device. A sample CAIF SPI Platform device is
|
|
|
|
provided in Documentation/networking/caif/spi_porting.txt
|
|
|
|
|
|
|
|
config CAIF_SPI_SYNC
|
|
|
|
bool "Next command and length in start of frame"
|
|
|
|
depends on CAIF_SPI_SLAVE
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Putting the next command and length in the start of the frame can
|
|
|
|
help to synchronize to the next transfer in case of over or under-runs.
|
|
|
|
This option also needs to be enabled on the modem.
|
2010-10-27 16:34:42 +08:00
|
|
|
|
2011-06-01 11:29:18 +08:00
|
|
|
config CAIF_HSI
|
|
|
|
tristate "CAIF HSI transport driver"
|
|
|
|
depends on CAIF
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The caif low level driver for CAIF over HSI.
|
|
|
|
Be aware that if you enable this then you also need to
|
|
|
|
enable a low-level HSI driver.
|
2013-03-20 11:22:24 +08:00
|
|
|
|
|
|
|
config CAIF_VIRTIO
|
|
|
|
tristate "CAIF virtio transport driver"
|
2013-05-09 19:04:52 +08:00
|
|
|
depends on CAIF && HAS_DMA
|
2013-03-20 11:22:24 +08:00
|
|
|
select VHOST_RING
|
|
|
|
select VIRTIO
|
|
|
|
select GENERIC_ALLOCATOR
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The caif driver for CAIF over Virtio.
|
|
|
|
|
|
|
|
if CAIF_VIRTIO
|
2016-08-02 08:03:35 +08:00
|
|
|
source "drivers/vhost/Kconfig.vringh"
|
2013-03-20 11:22:24 +08:00
|
|
|
endif
|