Linux Audio

Check our new training course

Linux debugging, profiling, tracing and performance analysis training

Mar 24-27, 2025, special US time zones
Register
Loading...
v6.8
 1# SPDX-License-Identifier: GPL-2.0-only
 2#
 3# CAIF physical drivers
 4#
 5
 6menuconfig CAIF_DRIVERS
 7	bool "CAIF transport drivers"
 8	depends on CAIF
 9	help
10	  Enable this to see CAIF physical drivers.
11
12if CAIF_DRIVERS
13
14config CAIF_TTY
15	tristate "CAIF TTY transport driver"
16	depends on CAIF && TTY
17	default n
18	help
19	  The CAIF TTY transport driver is a Line Discipline (ldisc)
20	  identified as N_CAIF. When this ldisc is opened from user space
21	  it will redirect the TTY's traffic into the CAIF stack.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
23config CAIF_VIRTIO
24	tristate "CAIF virtio transport driver"
25	depends on CAIF && HAS_DMA
26	select VHOST_RING
27	select VIRTIO
28	select GENERIC_ALLOCATOR
29	default n
30	help
31	  The CAIF driver for CAIF over Virtio.
32
33endif # CAIF_DRIVERS
 
 
v5.4
 1# SPDX-License-Identifier: GPL-2.0-only
 2#
 3# CAIF physical drivers
 4#
 5
 6comment "CAIF transport drivers"
 
 
 
 
 
 
 7
 8config CAIF_TTY
 9	tristate "CAIF TTY transport driver"
10	depends on CAIF && TTY
11	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.
16
17config CAIF_SPI_SLAVE
18	tristate "CAIF SPI transport driver for slave interface"
19	depends on CAIF && HAS_DMA
20	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.
35
36config 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.
44
45config CAIF_VIRTIO
46	tristate "CAIF virtio transport driver"
47	depends on CAIF && HAS_DMA
48	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
56source "drivers/vhost/Kconfig.vringh"
57endif