xref: /openbmc/linux/drivers/net/can/Kconfig (revision 996a953d)
1ccb29637SOliver Hartkoppmenu "CAN Device Drivers"
2ccb29637SOliver Hartkopp
3ccb29637SOliver Hartkoppconfig CAN_VCAN
4ccb29637SOliver Hartkopp	tristate "Virtual Local CAN Interface (vcan)"
5ccb29637SOliver Hartkopp	---help---
6ccb29637SOliver Hartkopp	  Similar to the network loopback devices, vcan offers a
7ccb29637SOliver Hartkopp	  virtual local CAN interface.
8ccb29637SOliver Hartkopp
9ccb29637SOliver Hartkopp	  This driver can also be built as a module.  If so, the module
10ccb29637SOliver Hartkopp	  will be called vcan.
11ccb29637SOliver Hartkopp
12a1044e36SOliver Hartkoppconfig CAN_SLCAN
13a1044e36SOliver Hartkopp	tristate "Serial / USB serial CAN Adaptors (slcan)"
14a1044e36SOliver Hartkopp	---help---
15a1044e36SOliver Hartkopp	  CAN driver for several 'low cost' CAN interfaces that are attached
16a1044e36SOliver Hartkopp	  via serial lines or via USB-to-serial adapters using the LAWICEL
17a1044e36SOliver Hartkopp	  ASCII protocol. The driver implements the tty linediscipline N_SLCAN.
18a1044e36SOliver Hartkopp
19a1044e36SOliver Hartkopp	  As only the sending and receiving of CAN frames is implemented, this
20a1044e36SOliver Hartkopp	  driver should work with the (serial/USB) CAN hardware from:
21c128df73SOliver Hartkopp	  www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
22a1044e36SOliver Hartkopp
23a1044e36SOliver Hartkopp	  Userspace tools to attach the SLCAN line discipline (slcan_attach,
24a1044e36SOliver Hartkopp	  slcand) can be found in the can-utils at the SocketCAN SVN, see
25a1044e36SOliver Hartkopp	  http://developer.berlios.de/projects/socketcan for details.
26a1044e36SOliver Hartkopp
27a1044e36SOliver Hartkopp	  The slcan driver supports up to 10 CAN netdevices by default which
28a1044e36SOliver Hartkopp	  can be changed by the 'maxdev=xx' module option. This driver can
29a1044e36SOliver Hartkopp	  also be built as a module. If so, the module will be called slcan.
30a1044e36SOliver Hartkopp
3139549eefSWolfgang Grandeggerconfig CAN_DEV
3239549eefSWolfgang Grandegger	tristate "Platform CAN drivers with Netlink support"
33a30d5155SMarc Kleine-Budde	default y
3439549eefSWolfgang Grandegger	---help---
3539549eefSWolfgang Grandegger	  Enables the common framework for platform CAN drivers with Netlink
3639549eefSWolfgang Grandegger	  support. This is the standard library for CAN drivers.
3739549eefSWolfgang Grandegger	  If unsure, say Y.
3839549eefSWolfgang Grandegger
396586c5d7SMarc Kleine-Buddeif CAN_DEV
406586c5d7SMarc Kleine-Budde
4139549eefSWolfgang Grandeggerconfig CAN_CALC_BITTIMING
4239549eefSWolfgang Grandegger	bool "CAN bit-timing calculation"
43a30d5155SMarc Kleine-Budde	default y
4439549eefSWolfgang Grandegger	---help---
4539549eefSWolfgang Grandegger	  If enabled, CAN bit-timing parameters will be calculated for the
4639549eefSWolfgang Grandegger	  bit-rate specified via Netlink argument "bitrate" when the device
4739549eefSWolfgang Grandegger	  get started. This works fine for the most common CAN controllers
4839549eefSWolfgang Grandegger	  with standard bit-rates but may fail for exotic bit-rates or CAN
4939549eefSWolfgang Grandegger	  source clock frequencies. Disabling saves some space, but then the
5039549eefSWolfgang Grandegger	  bit-timing parameters must be specified directly using the Netlink
5139549eefSWolfgang Grandegger	  arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
5239549eefSWolfgang Grandegger	  If unsure, say Y.
5339549eefSWolfgang Grandegger
54*996a953dSFabio Baltiericonfig CAN_LEDS
55*996a953dSFabio Baltieri	bool "Enable LED triggers for Netlink based drivers"
56*996a953dSFabio Baltieri	depends on LEDS_CLASS
57*996a953dSFabio Baltieri	select LEDS_TRIGGERS
58*996a953dSFabio Baltieri	---help---
59*996a953dSFabio Baltieri	  This option adds two LED triggers for packet receive and transmit
60*996a953dSFabio Baltieri	  events on each supported CAN device.
61*996a953dSFabio Baltieri
62*996a953dSFabio Baltieri	  Say Y here if you are working on a system with led-class supported
63*996a953dSFabio Baltieri	  LEDs and you want to use them as canbus activity indicators.
64*996a953dSFabio Baltieri
6568f40152SMarc Kleine-Buddeconfig CAN_AT91
6668f40152SMarc Kleine-Budde	tristate "Atmel AT91 onchip CAN controller"
676586c5d7SMarc Kleine-Budde	depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9X5
6868f40152SMarc Kleine-Budde	---help---
69b9e379bcSUwe Kleine-König	  This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
70b9e379bcSUwe Kleine-König	  and AT91SAM9X5 processors.
7168f40152SMarc Kleine-Budde
723758bf25SAnant Goleconfig CAN_TI_HECC
736586c5d7SMarc Kleine-Budde	depends on ARCH_OMAP3
743758bf25SAnant Gole	tristate "TI High End CAN Controller"
753758bf25SAnant Gole	---help---
763758bf25SAnant Gole	  Driver for TI HECC (High End CAN Controller) module found on many
773758bf25SAnant Gole	  TI devices. The device specifications are available from www.ti.com
783758bf25SAnant Gole
79e0000163SChristian Pellegrinconfig CAN_MCP251X
80e0000163SChristian Pellegrin	tristate "Microchip MCP251x SPI CAN controllers"
816586c5d7SMarc Kleine-Budde	depends on SPI && HAS_DMA
82e0000163SChristian Pellegrin	---help---
83e0000163SChristian Pellegrin	  Driver for the Microchip MCP251x SPI CAN controllers.
84e0000163SChristian Pellegrin
85bbb84619SBarry Songconfig CAN_BFIN
866586c5d7SMarc Kleine-Budde	depends on BF534 || BF536 || BF537 || BF538 || BF539 || BF54x
87bbb84619SBarry Song	tristate "Analog Devices Blackfin on-chip CAN"
88bbb84619SBarry Song	---help---
89bbb84619SBarry Song	  Driver for the Analog Devices Blackfin on-chip CAN controllers
90bbb84619SBarry Song
91bbb84619SBarry Song	  To compile this driver as a module, choose M here: the
92bbb84619SBarry Song	  module will be called bfin_can.
93bbb84619SBarry Song
94631eb227SIra W. Snyderconfig CAN_JANZ_ICAN3
95631eb227SIra W. Snyder	tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
966586c5d7SMarc Kleine-Budde	depends on MFD_JANZ_CMODIO
97631eb227SIra W. Snyder	---help---
98631eb227SIra W. Snyder	  Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
99631eb227SIra W. Snyder	  connects to a MODULbus carrier board.
100631eb227SIra W. Snyder
101631eb227SIra W. Snyder	  This driver can also be built as a module. If so, the module will be
102631eb227SIra W. Snyder	  called janz-ican3.ko.
103631eb227SIra W. Snyder
104e955ceadSMarc Kleine-Buddeconfig HAVE_CAN_FLEXCAN
105e955ceadSMarc Kleine-Budde	bool
106e955ceadSMarc Kleine-Budde
107e955ceadSMarc Kleine-Buddeconfig CAN_FLEXCAN
108e955ceadSMarc Kleine-Budde	tristate "Support for Freescale FLEXCAN based chips"
1096586c5d7SMarc Kleine-Budde	depends on HAVE_CAN_FLEXCAN
110e955ceadSMarc Kleine-Budde	---help---
111e955ceadSMarc Kleine-Budde	  Say Y here if you want to support for Freescale FlexCAN.
112e955ceadSMarc Kleine-Budde
113b21d18b5SMasayuki Ohtakeconfig PCH_CAN
11403c49daaSTomoya MORINAGA	tristate "Intel EG20T PCH CAN controller"
1156586c5d7SMarc Kleine-Budde	depends on PCI
116b21d18b5SMasayuki Ohtake	---help---
11703c49daaSTomoya MORINAGA	  This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
11803c49daaSTomoya MORINAGA	  is an IOH for x86 embedded processor (Intel Atom E6xx series).
119b21d18b5SMasayuki Ohtake	  This driver can access CAN bus.
120b21d18b5SMasayuki Ohtake
1216cec9b07SAndreas Larssonconfig CAN_GRCAN
1226cec9b07SAndreas Larsson	tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices"
1236586c5d7SMarc Kleine-Budde	depends on OF
1246cec9b07SAndreas Larsson	---help---
1256cec9b07SAndreas Larsson	  Say Y here if you want to use Aeroflex Gaisler GRCAN or GRHCAN.
1266cec9b07SAndreas Larsson	  Note that the driver supports little endian, even though little
1276cec9b07SAndreas Larsson	  endian syntheses of the cores would need some modifications on
1286cec9b07SAndreas Larsson	  the hardware level to work.
1296cec9b07SAndreas Larsson
13024cfbcbaSWolfram Sangsource "drivers/net/can/mscan/Kconfig"
131afa17a50SWolfram Sang
132b93cf3f0SOliver Hartkoppsource "drivers/net/can/sja1000/Kconfig"
133b93cf3f0SOliver Hartkopp
134881ff67aSBhupesh Sharmasource "drivers/net/can/c_can/Kconfig"
135881ff67aSBhupesh Sharma
1362a367c3aSWolfgang Grandeggersource "drivers/net/can/cc770/Kconfig"
1372a367c3aSWolfgang Grandegger
138b93cf3f0SOliver Hartkoppsource "drivers/net/can/usb/Kconfig"
139b93cf3f0SOliver Hartkopp
14003fd3cf5SKurt Van Dijcksource "drivers/net/can/softing/Kconfig"
14103fd3cf5SKurt Van Dijck
1426586c5d7SMarc Kleine-Buddeendif
1436586c5d7SMarc Kleine-Budde
144ccb29637SOliver Hartkoppconfig CAN_DEBUG_DEVICES
145ccb29637SOliver Hartkopp	bool "CAN devices debugging messages"
146ccb29637SOliver Hartkopp	---help---
147ccb29637SOliver Hartkopp	  Say Y here if you want the CAN device drivers to produce a bunch of
148ccb29637SOliver Hartkopp	  debug messages to the system log.  Select this if you are having
149ccb29637SOliver Hartkopp	  a problem with CAN support and want to see more of what is going
150ccb29637SOliver Hartkopp	  on.
151ccb29637SOliver Hartkopp
152ccb29637SOliver Hartkoppendmenu
153