2019-05-19 15:07:45 +03:00
# SPDX-License-Identifier: GPL-2.0-only
2010-03-30 17:56:30 +04:00
#
# CAIF physical drivers
#
2019-10-02 02:04:00 +03: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 17:56:30 +04:00
config CAIF_TTY
tristate "CAIF TTY transport driver"
2013-01-18 10:44:22 +04:00
depends on CAIF && TTY
2010-03-30 17:56:30 +04:00
default n
2020-06-13 19:50:22 +03:00
help
2019-11-21 16:28:28 +03:00
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 11:08:21 +04:00
config CAIF_SPI_SLAVE
tristate "CAIF SPI transport driver for slave interface"
2010-08-24 23:21:13 +04:00
depends on CAIF && HAS_DMA
2010-06-29 11:08:21 +04:00
default n
2020-06-13 19:50:22 +03:00
help
2019-11-21 16:28:28 +03:00
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
2020-04-28 01:01:16 +03:00
provided in <file:Documentation/networking/caif/spi_porting.rst>.
2010-06-29 11:08:21 +04:00
config CAIF_SPI_SYNC
bool "Next command and length in start of frame"
depends on CAIF_SPI_SLAVE
default n
2020-06-13 19:50:22 +03:00
help
2019-11-21 16:28:28 +03:00
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 12:34:42 +04:00
2011-06-01 07:29:18 +04:00
config CAIF_HSI
2019-11-21 16:28:28 +03:00
tristate "CAIF HSI transport driver"
depends on CAIF
default n
2020-06-13 19:50:22 +03:00
help
2019-11-21 16:28:28 +03:00
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 07:22:24 +04:00
config CAIF_VIRTIO
tristate "CAIF virtio transport driver"
2020-04-23 15:36:57 +03:00
depends on CAIF && HAS_DMA
2013-03-20 07:22:24 +04:00
select VHOST_RING
select VIRTIO
select GENERIC_ALLOCATOR
default n
2020-06-13 19:50:22 +03:00
help
2019-11-21 16:28:28 +03:00
The CAIF driver for CAIF over Virtio.
2013-03-20 07:22:24 +04:00
2019-10-02 02:04:00 +03:00
endif # CAIF_DRIVERS