xref: /openbmc/linux/drivers/net/caif/Kconfig (revision ce746d43)
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_SPI_SLAVE
24	tristate "CAIF SPI transport driver for slave interface"
25	depends on CAIF && HAS_DMA
26	default n
27	help
28	  The CAIF Link layer SPI Protocol driver for Slave SPI interface.
29	  This driver implements a platform driver to accommodate for a
30	  platform specific SPI device. A sample CAIF SPI Platform device is
31	  provided in <file:Documentation/networking/caif/spi_porting.rst>.
32
33config CAIF_SPI_SYNC
34	bool "Next command and length in start of frame"
35	depends on CAIF_SPI_SLAVE
36	default n
37	help
38	  Putting the next command and length in the start of the frame can
39	  help to synchronize to the next transfer in case of over or under-runs.
40	  This option also needs to be enabled on the modem.
41
42config CAIF_HSI
43	tristate "CAIF HSI transport driver"
44	depends on CAIF
45	default n
46	help
47	  The CAIF low level driver for CAIF over HSI.
48	  Be aware that if you enable this then you also need to
49	  enable a low-level HSI driver.
50
51config CAIF_VIRTIO
52	tristate "CAIF virtio transport driver"
53	depends on CAIF && HAS_DMA
54	select VHOST_RING
55	select VIRTIO
56	select GENERIC_ALLOCATOR
57	default n
58	help
59	  The CAIF driver for CAIF over Virtio.
60
61endif # CAIF_DRIVERS
62