Kconfig 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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_TI_HECC
  61. depends on ARM
  62. tristate "TI High End CAN Controller"
  63. ---help---
  64. Driver for TI HECC (High End CAN Controller) module found on many
  65. TI devices. The device specifications are available from www.ti.com
  66. config CAN_BFIN
  67. depends on BF534 || BF536 || BF537 || BF538 || BF539 || BF54x
  68. tristate "Analog Devices Blackfin on-chip CAN"
  69. ---help---
  70. Driver for the Analog Devices Blackfin on-chip CAN controllers
  71. To compile this driver as a module, choose M here: the
  72. module will be called bfin_can.
  73. config CAN_JANZ_ICAN3
  74. tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
  75. depends on MFD_JANZ_CMODIO
  76. ---help---
  77. Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
  78. connects to a MODULbus carrier board.
  79. This driver can also be built as a module. If so, the module will be
  80. called janz-ican3.ko.
  81. config CAN_FLEXCAN
  82. tristate "Support for Freescale FLEXCAN based chips"
  83. depends on ARM || PPC
  84. ---help---
  85. Say Y here if you want to support for Freescale FlexCAN.
  86. config PCH_CAN
  87. tristate "Intel EG20T PCH CAN controller"
  88. depends on PCI && (X86_32 || COMPILE_TEST)
  89. ---help---
  90. This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
  91. is an IOH for x86 embedded processor (Intel Atom E6xx series).
  92. This driver can access CAN bus.
  93. config CAN_GRCAN
  94. tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices"
  95. depends on OF && HAS_DMA
  96. ---help---
  97. Say Y here if you want to use Aeroflex Gaisler GRCAN or GRHCAN.
  98. Note that the driver supports little endian, even though little
  99. endian syntheses of the cores would need some modifications on
  100. the hardware level to work.
  101. config CAN_RCAR
  102. tristate "Renesas R-Car CAN controller"
  103. depends on ARM
  104. ---help---
  105. Say Y here if you want to use CAN controller found on Renesas R-Car
  106. SoCs.
  107. To compile this driver as a module, choose M here: the module will
  108. be called rcar_can.
  109. config CAN_SUN4I
  110. tristate "Allwinner A10 CAN controller"
  111. depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
  112. ---help---
  113. Say Y here if you want to use CAN controller found on Allwinner
  114. A10/A20 SoCs.
  115. To compile this driver as a module, choose M here: the module will
  116. be called sun4i_can.
  117. config CAN_XILINXCAN
  118. tristate "Xilinx CAN"
  119. depends on ARCH_ZYNQ || ARM64 || MICROBLAZE || COMPILE_TEST
  120. depends on COMMON_CLK && HAS_IOMEM
  121. ---help---
  122. Xilinx CAN driver. This driver supports both soft AXI CAN IP and
  123. Zynq CANPS IP.
  124. source "drivers/net/can/mscan/Kconfig"
  125. source "drivers/net/can/sja1000/Kconfig"
  126. source "drivers/net/can/c_can/Kconfig"
  127. source "drivers/net/can/m_can/Kconfig"
  128. source "drivers/net/can/cc770/Kconfig"
  129. source "drivers/net/can/spi/Kconfig"
  130. source "drivers/net/can/usb/Kconfig"
  131. source "drivers/net/can/softing/Kconfig"
  132. endif
  133. config CAN_DEBUG_DEVICES
  134. bool "CAN devices debugging messages"
  135. ---help---
  136. Say Y here if you want the CAN device drivers to produce a bunch of
  137. debug messages to the system log. Select this if you are having
  138. a problem with CAN support and want to see more of what is going
  139. on.
  140. endmenu