Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# CONFIG_CAIF physical drivers
#

comment "CAIF transport drivers"

config CONFIG_CAIF_TTY
	tristate "CAIF TTY transport driver"
	depends on CONFIG_CAIF && CONFIG_TTY
	default n
	---help---
	The CONFIG_CAIF CONFIG_TTY transport driver is a Line Discipline (ldisc)
	identified as N_CAIF. When this ldisc is opened from user space
	it will redirect the CONFIG_TTY's traffic into the CONFIG_CAIF stack.

config CONFIG_CAIF_SPI_SLAVE
	tristate "CAIF SPI transport driver for slave interface"
	depends on CONFIG_CAIF && CONFIG_HAS_DMA
	default n
	---help---
	The CONFIG_CAIF Link layer CONFIG_SPI Protocol driver for Slave CONFIG_SPI interface.
	This driver implements a platform driver to accommodate for a
	platform specific CONFIG_SPI device. CONFIG_A sample CONFIG_CAIF CONFIG_SPI Platform device is
	provided in Documentation/networking/caif/spi_porting.txt

config CONFIG_CAIF_SPI_SYNC
	bool "Next command and length in start of frame"
	depends on CONFIG_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.

config CONFIG_CAIF_HSI
       tristate "CAIF HSI transport driver"
       depends on CONFIG_CAIF
       default n
       ---help---
       The caif low level driver for CONFIG_CAIF over CONFIG_HSI.
       Be aware that if you enable this then you also need to
       enable a low-level CONFIG_HSI driver.

config CONFIG_CAIF_VIRTIO
	tristate "CAIF virtio transport driver"
	depends on CONFIG_CAIF && CONFIG_HAS_DMA
	select CONFIG_VHOST_RING
	select CONFIG_VIRTIO
	select CONFIG_GENERIC_ALLOCATOR
	default n
	---help---
	The caif driver for CONFIG_CAIF over Virtio.

if CONFIG_CAIF_VIRTIO
source "drivers/vhost/Kconfig.vringh"
endif