xref: /openbmc/linux/drivers/net/caif/Kconfig (revision 79e0c19e)
19b27105bSSjur Braendeland#
29b27105bSSjur Braendeland# CAIF physical drivers
39b27105bSSjur Braendeland#
49b27105bSSjur Braendeland
59b27105bSSjur Braendelandcomment "CAIF transport drivers"
69b27105bSSjur Braendeland
79b27105bSSjur Braendelandconfig CAIF_TTY
89b27105bSSjur Braendeland	tristate "CAIF TTY transport driver"
94f73bc4dSJoe Millenbach	depends on CAIF && TTY
109b27105bSSjur Braendeland	default n
119b27105bSSjur Braendeland	---help---
129b27105bSSjur Braendeland	The CAIF TTY transport driver is a Line Discipline (ldisc)
139b27105bSSjur Braendeland	identified as N_CAIF. When this ldisc is opened from user space
149b27105bSSjur Braendeland	it will redirect the TTY's traffic into the CAIF stack.
15529d6dadSSjur Braendeland
16529d6dadSSjur Braendelandconfig CAIF_SPI_SLAVE
17529d6dadSSjur Braendeland	tristate "CAIF SPI transport driver for slave interface"
189dc002d8SHeiko Carstens	depends on CAIF && HAS_DMA
19529d6dadSSjur Braendeland	default n
20529d6dadSSjur Braendeland	---help---
21529d6dadSSjur Braendeland	The CAIF Link layer SPI Protocol driver for Slave SPI interface.
22529d6dadSSjur Braendeland	This driver implements a platform driver to accommodate for a
23529d6dadSSjur Braendeland	platform specific SPI device. A sample CAIF SPI Platform device is
24529d6dadSSjur Braendeland	provided in Documentation/networking/caif/spi_porting.txt
25529d6dadSSjur Braendeland
26529d6dadSSjur Braendelandconfig CAIF_SPI_SYNC
27529d6dadSSjur Braendeland	bool "Next command and length in start of frame"
28529d6dadSSjur Braendeland	depends on CAIF_SPI_SLAVE
29529d6dadSSjur Braendeland	default n
30529d6dadSSjur Braendeland	---help---
31529d6dadSSjur Braendeland	Putting the next command and length in the start of the frame can
32529d6dadSSjur Braendeland	help to synchronize to the next transfer in case of over or under-runs.
33529d6dadSSjur Braendeland	This option also needs to be enabled on the modem.
341933f0c0SAmarnath Revanna
3540d69043SDmitry.Tarnyaginconfig CAIF_HSI
3640d69043SDmitry.Tarnyagin       tristate "CAIF HSI transport driver"
3740d69043SDmitry.Tarnyagin       depends on CAIF
3840d69043SDmitry.Tarnyagin       default n
3940d69043SDmitry.Tarnyagin       ---help---
4040d69043SDmitry.Tarnyagin       The caif low level driver for CAIF over HSI.
4140d69043SDmitry.Tarnyagin       Be aware that if you enable this then you also need to
4240d69043SDmitry.Tarnyagin       enable a low-level HSI driver.
430d2e1a29SErwan Yvin
440d2e1a29SErwan Yvinconfig CAIF_VIRTIO
450d2e1a29SErwan Yvin	tristate "CAIF virtio transport driver"
4679e0c19eSGeert Uytterhoeven	depends on CAIF && HAS_DMA
470d2e1a29SErwan Yvin	select VHOST_RING
480d2e1a29SErwan Yvin	select VIRTIO
490d2e1a29SErwan Yvin	select GENERIC_ALLOCATOR
500d2e1a29SErwan Yvin	default n
510d2e1a29SErwan Yvin	---help---
520d2e1a29SErwan Yvin	The caif driver for CAIF over Virtio.
530d2e1a29SErwan Yvin
540d2e1a29SErwan Yvinif CAIF_VIRTIO
550d2e1a29SErwan Yvinsource "drivers/vhost/Kconfig"
560d2e1a29SErwan Yvinendif
57