2019-05-19 19:07:45 +07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2010-03-30 20:56:30 +07:00
|
|
|
#
|
|
|
|
# CAIF physical drivers
|
|
|
|
#
|
|
|
|
|
2019-10-02 06:04:00 +07:00
|
|
|
menuconfig CAIF_DRIVERS
|
|
|
|
bool "CAIF transport drivers"
|
|
|
|
depends on CAIF
|
|
|
|
help
|
|
|
|
Enable this to see CAIF physical drivers.
|
|
|
|
|
|
|
|
if CAIF_DRIVERS
|
2010-03-30 20:56:30 +07:00
|
|
|
|
|
|
|
config CAIF_TTY
|
|
|
|
tristate "CAIF TTY transport driver"
|
2013-01-18 13:44:22 +07:00
|
|
|
depends on CAIF && TTY
|
2010-03-30 20:56:30 +07: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 14:08:21 +07:00
|
|
|
|
|
|
|
config CAIF_SPI_SLAVE
|
|
|
|
tristate "CAIF SPI transport driver for slave interface"
|
2010-08-25 02:21:13 +07:00
|
|
|
depends on CAIF && HAS_DMA
|
2010-06-29 14:08:21 +07: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
|
2019-10-02 06:04:01 +07:00
|
|
|
provided in <file:Documentation/networking/caif/spi_porting.txt>.
|
2010-06-29 14:08:21 +07:00
|
|
|
|
|
|
|
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 15:34:42 +07:00
|
|
|
|
2011-06-01 10:29:18 +07:00
|
|
|
config CAIF_HSI
|
|
|
|
tristate "CAIF HSI transport driver"
|
|
|
|
depends on CAIF
|
|
|
|
default n
|
|
|
|
---help---
|
2019-10-02 06:04:01 +07:00
|
|
|
The CAIF low level driver for CAIF over HSI.
|
2011-06-01 10:29:18 +07:00
|
|
|
Be aware that if you enable this then you also need to
|
|
|
|
enable a low-level HSI driver.
|
2013-03-20 10:22:24 +07:00
|
|
|
|
|
|
|
config CAIF_VIRTIO
|
|
|
|
tristate "CAIF virtio transport driver"
|
2013-05-09 18:04:52 +07:00
|
|
|
depends on CAIF && HAS_DMA
|
2013-03-20 10:22:24 +07:00
|
|
|
select VHOST_RING
|
|
|
|
select VIRTIO
|
|
|
|
select GENERIC_ALLOCATOR
|
|
|
|
default n
|
|
|
|
---help---
|
2019-10-02 06:04:01 +07:00
|
|
|
The CAIF driver for CAIF over Virtio.
|
2013-03-20 10:22:24 +07:00
|
|
|
|
|
|
|
if CAIF_VIRTIO
|
2016-08-02 07:03:35 +07:00
|
|
|
source "drivers/vhost/Kconfig.vringh"
|
2013-03-20 10:22:24 +07:00
|
|
|
endif
|
2019-10-02 06:04:00 +07:00
|
|
|
|
|
|
|
endif # CAIF_DRIVERS
|