Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # CAIF physical drivers
  4. #
  5. comment "CAIF transport drivers"
  6. config CAIF_TTY
  7. tristate "CAIF TTY transport driver"
  8. depends on CAIF && TTY
  9. default n
  10. ---help---
  11. The CAIF TTY transport driver is a Line Discipline (ldisc)
  12. identified as N_CAIF. When this ldisc is opened from user space
  13. it will redirect the TTY's traffic into the CAIF stack.
  14. config CAIF_SPI_SLAVE
  15. tristate "CAIF SPI transport driver for slave interface"
  16. depends on CAIF && HAS_DMA
  17. default n
  18. ---help---
  19. The CAIF Link layer SPI Protocol driver for Slave SPI interface.
  20. This driver implements a platform driver to accommodate for a
  21. platform specific SPI device. A sample CAIF SPI Platform device is
  22. provided in Documentation/networking/caif/spi_porting.txt
  23. config CAIF_SPI_SYNC
  24. bool "Next command and length in start of frame"
  25. depends on CAIF_SPI_SLAVE
  26. default n
  27. ---help---
  28. Putting the next command and length in the start of the frame can
  29. help to synchronize to the next transfer in case of over or under-runs.
  30. This option also needs to be enabled on the modem.
  31. config CAIF_HSI
  32. tristate "CAIF HSI transport driver"
  33. depends on CAIF
  34. default n
  35. ---help---
  36. The caif low level driver for CAIF over HSI.
  37. Be aware that if you enable this then you also need to
  38. enable a low-level HSI driver.
  39. config CAIF_VIRTIO
  40. tristate "CAIF virtio transport driver"
  41. depends on CAIF && HAS_DMA
  42. select VHOST_RING
  43. select VIRTIO
  44. select GENERIC_ALLOCATOR
  45. default n
  46. ---help---
  47. The caif driver for CAIF over Virtio.
  48. if CAIF_VIRTIO
  49. source "drivers/vhost/Kconfig.vringh"
  50. endif