xref: /openbmc/linux/drivers/net/caif/Kconfig (revision 0f04f8ea)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
29b27105bSSjur Braendeland#
39b27105bSSjur Braendeland# CAIF physical drivers
49b27105bSSjur Braendeland#
59b27105bSSjur Braendeland
621d54976Srd.dunlab@gmail.commenuconfig CAIF_DRIVERS
721d54976Srd.dunlab@gmail.com	bool "CAIF transport drivers"
821d54976Srd.dunlab@gmail.com	depends on CAIF
921d54976Srd.dunlab@gmail.com	help
1021d54976Srd.dunlab@gmail.com	  Enable this to see CAIF physical drivers.
1121d54976Srd.dunlab@gmail.com
1221d54976Srd.dunlab@gmail.comif CAIF_DRIVERS
139b27105bSSjur Braendeland
149b27105bSSjur Braendelandconfig CAIF_TTY
159b27105bSSjur Braendeland	tristate "CAIF TTY transport driver"
164f73bc4dSJoe Millenbach	depends on CAIF && TTY
179b27105bSSjur Braendeland	default n
189b27105bSSjur Braendeland	---help---
199b27105bSSjur Braendeland	The CAIF TTY transport driver is a Line Discipline (ldisc)
209b27105bSSjur Braendeland	identified as N_CAIF. When this ldisc is opened from user space
219b27105bSSjur Braendeland	it will redirect the TTY's traffic into the CAIF stack.
22529d6dadSSjur Braendeland
23529d6dadSSjur Braendelandconfig CAIF_SPI_SLAVE
24529d6dadSSjur Braendeland	tristate "CAIF SPI transport driver for slave interface"
259dc002d8SHeiko Carstens	depends on CAIF && HAS_DMA
26529d6dadSSjur Braendeland	default n
27529d6dadSSjur Braendeland	---help---
28529d6dadSSjur Braendeland	The CAIF Link layer SPI Protocol driver for Slave SPI interface.
29529d6dadSSjur Braendeland	This driver implements a platform driver to accommodate for a
30529d6dadSSjur Braendeland	platform specific SPI device. A sample CAIF SPI Platform device is
310f04f8eaSrd.dunlab@gmail.com	provided in <file:Documentation/networking/caif/spi_porting.txt>.
32529d6dadSSjur Braendeland
33529d6dadSSjur Braendelandconfig CAIF_SPI_SYNC
34529d6dadSSjur Braendeland	bool "Next command and length in start of frame"
35529d6dadSSjur Braendeland	depends on CAIF_SPI_SLAVE
36529d6dadSSjur Braendeland	default n
37529d6dadSSjur Braendeland	---help---
38529d6dadSSjur Braendeland	Putting the next command and length in the start of the frame can
39529d6dadSSjur Braendeland	help to synchronize to the next transfer in case of over or under-runs.
40529d6dadSSjur Braendeland	This option also needs to be enabled on the modem.
411933f0c0SAmarnath Revanna
4240d69043SDmitry.Tarnyaginconfig CAIF_HSI
4340d69043SDmitry.Tarnyagin       tristate "CAIF HSI transport driver"
4440d69043SDmitry.Tarnyagin       depends on CAIF
4540d69043SDmitry.Tarnyagin       default n
4640d69043SDmitry.Tarnyagin       ---help---
470f04f8eaSrd.dunlab@gmail.com       The CAIF low level driver for CAIF over HSI.
4840d69043SDmitry.Tarnyagin       Be aware that if you enable this then you also need to
4940d69043SDmitry.Tarnyagin       enable a low-level HSI driver.
500d2e1a29SErwan Yvin
510d2e1a29SErwan Yvinconfig CAIF_VIRTIO
520d2e1a29SErwan Yvin	tristate "CAIF virtio transport driver"
5379e0c19eSGeert Uytterhoeven	depends on CAIF && HAS_DMA
540d2e1a29SErwan Yvin	select VHOST_RING
550d2e1a29SErwan Yvin	select VIRTIO
560d2e1a29SErwan Yvin	select GENERIC_ALLOCATOR
570d2e1a29SErwan Yvin	default n
580d2e1a29SErwan Yvin	---help---
590f04f8eaSrd.dunlab@gmail.com	The CAIF driver for CAIF over Virtio.
600d2e1a29SErwan Yvin
610d2e1a29SErwan Yvinif CAIF_VIRTIO
624d938245SMichael S. Tsirkinsource "drivers/vhost/Kconfig.vringh"
630d2e1a29SErwan Yvinendif
6421d54976Srd.dunlab@gmail.com
6521d54976Srd.dunlab@gmail.comendif # CAIF_DRIVERS
66