Kconfig 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. menu "CAN Device Drivers"
  2. config CAN_VCAN
  3. tristate "Virtual Local CAN Interface (vcan)"
  4. ---help---
  5. Similar to the network loopback devices, vcan offers a
  6. virtual local CAN interface.
  7. This driver can also be built as a module. If so, the module
  8. will be called vcan.
  9. config CAN_SLCAN
  10. tristate "Serial / USB serial CAN Adaptors (slcan)"
  11. depends on TTY
  12. ---help---
  13. CAN driver for several 'low cost' CAN interfaces that are attached
  14. via serial lines or via USB-to-serial adapters using the LAWICEL
  15. ASCII protocol. The driver implements the tty linediscipline N_SLCAN.
  16. As only the sending and receiving of CAN frames is implemented, this
  17. driver should work with the (serial/USB) CAN hardware from:
  18. www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
  19. Userspace tools to attach the SLCAN line discipline (slcan_attach,
  20. slcand) can be found in the can-utils at the SocketCAN SVN, see
  21. http://developer.berlios.de/projects/socketcan for details.
  22. The slcan driver supports up to 10 CAN netdevices by default which
  23. can be changed by the 'maxdev=xx' module option. This driver can
  24. also be built as a module. If so, the module will be called slcan.
  25. config CAN_DEV
  26. tristate "Platform CAN drivers with Netlink support"
  27. default y
  28. ---help---
  29. Enables the common framework for platform CAN drivers with Netlink
  30. support. This is the standard library for CAN drivers.
  31. If unsure, say Y.
  32. if CAN_DEV
  33. config CAN_CALC_BITTIMING
  34. bool "CAN bit-timing calculation"
  35. default y
  36. ---help---
  37. If enabled, CAN bit-timing parameters will be calculated for the
  38. bit-rate specified via Netlink argument "bitrate" when the device
  39. get started. This works fine for the most common CAN controllers
  40. with standard bit-rates but may fail for exotic bit-rates or CAN
  41. source clock frequencies. Disabling saves some space, but then the
  42. bit-timing parameters must be specified directly using the Netlink
  43. arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
  44. If unsure, say Y.
  45. config CAN_LEDS
  46. bool "Enable LED triggers for Netlink based drivers"
  47. depends on LEDS_CLASS
  48. select LEDS_TRIGGERS
  49. ---help---
  50. This option adds two LED triggers for packet receive and transmit
  51. events on each supported CAN device.
  52. Say Y here if you are working on a system with led-class supported
  53. LEDs and you want to use them as canbus activity indicators.
  54. config CAN_AT91
  55. tristate "Atmel AT91 onchip CAN controller"
  56. depends on (ARCH_AT91 || COMPILE_TEST) && HAS_IOMEM
  57. ---help---
  58. This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
  59. and AT91SAM9X5 processors.
  60. config CAN_BFIN
  61. depends on BF534 || BF536 || BF537 || BF538 || BF539 || BF54x
  62. tristate "Analog Devices Blackfin on-chip CAN"
  63. ---help---
  64. Driver for the Analog Devices Blackfin on-chip CAN controllers
  65. To compile this driver as a module, choose M here: the
  66. module will be called bfin_can.
  67. config CAN_FLEXCAN
  68. tristate "Support for Freescale FLEXCAN based chips"
  69. depends on ARM || PPC
  70. ---help---
  71. Say Y here if you want to support for Freescale FlexCAN.
  72. config CAN_GRCAN
  73. tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices"
  74. depends on OF && HAS_DMA
  75. ---help---
  76. Say Y here if you want to use Aeroflex Gaisler GRCAN or GRHCAN.
  77. Note that the driver supports little endian, even though little
  78. endian syntheses of the cores would need some modifications on
  79. the hardware level to work.
  80. config CAN_JANZ_ICAN3
  81. tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
  82. depends on MFD_JANZ_CMODIO
  83. ---help---
  84. Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
  85. connects to a MODULbus carrier board.
  86. This driver can also be built as a module. If so, the module will be
  87. called janz-ican3.ko.
  88. config CAN_SUN4I
  89. tristate "Allwinner A10 CAN controller"
  90. depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
  91. ---help---
  92. Say Y here if you want to use CAN controller found on Allwinner
  93. A10/A20 SoCs.
  94. To compile this driver as a module, choose M here: the module will
  95. be called sun4i_can.
  96. config CAN_TI_HECC
  97. depends on ARM
  98. tristate "TI High End CAN Controller"
  99. ---help---
  100. Driver for TI HECC (High End CAN Controller) module found on many
  101. TI devices. The device specifications are available from www.ti.com
  102. config CAN_XILINXCAN
  103. tristate "Xilinx CAN"
  104. depends on ARCH_ZYNQ || ARM64 || MICROBLAZE || COMPILE_TEST
  105. depends on COMMON_CLK && HAS_IOMEM
  106. ---help---
  107. Xilinx CAN driver. This driver supports both soft AXI CAN IP and
  108. Zynq CANPS IP.
  109. config PCH_CAN
  110. tristate "Intel EG20T PCH CAN controller"
  111. depends on PCI && (X86_32 || COMPILE_TEST)
  112. ---help---
  113. This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
  114. is an IOH for x86 embedded processor (Intel Atom E6xx series).
  115. This driver can access CAN bus.
  116. source "drivers/net/can/c_can/Kconfig"
  117. source "drivers/net/can/cc770/Kconfig"
  118. source "drivers/net/can/ifi_canfd/Kconfig"
  119. source "drivers/net/can/m_can/Kconfig"
  120. source "drivers/net/can/mscan/Kconfig"
  121. source "drivers/net/can/rcar/Kconfig"
  122. source "drivers/net/can/sja1000/Kconfig"
  123. source "drivers/net/can/softing/Kconfig"
  124. source "drivers/net/can/spi/Kconfig"
  125. source "drivers/net/can/usb/Kconfig"
  126. endif
  127. config CAN_DEBUG_DEVICES
  128. bool "CAN devices debugging messages"
  129. ---help---
  130. Say Y here if you want the CAN device drivers to produce a bunch of
  131. debug messages to the system log. Select this if you are having
  132. a problem with CAN support and want to see more of what is going
  133. on.
  134. endmenu