xref: /openbmc/linux/drivers/net/can/Kconfig (revision b9e379bc)
1ccb29637SOliver Hartkoppmenu "CAN Device Drivers"
2ccb29637SOliver Hartkopp	depends on CAN
3ccb29637SOliver Hartkopp
4ccb29637SOliver Hartkoppconfig CAN_VCAN
5ccb29637SOliver Hartkopp	tristate "Virtual Local CAN Interface (vcan)"
6ccb29637SOliver Hartkopp	depends on CAN
7ccb29637SOliver Hartkopp	default N
8ccb29637SOliver Hartkopp	---help---
9ccb29637SOliver Hartkopp	  Similar to the network loopback devices, vcan offers a
10ccb29637SOliver Hartkopp	  virtual local CAN interface.
11ccb29637SOliver Hartkopp
12ccb29637SOliver Hartkopp	  This driver can also be built as a module.  If so, the module
13ccb29637SOliver Hartkopp	  will be called vcan.
14ccb29637SOliver Hartkopp
15a1044e36SOliver Hartkoppconfig CAN_SLCAN
16a1044e36SOliver Hartkopp	tristate "Serial / USB serial CAN Adaptors (slcan)"
17a1044e36SOliver Hartkopp	depends on CAN
18a1044e36SOliver Hartkopp	default N
19a1044e36SOliver Hartkopp	---help---
20a1044e36SOliver Hartkopp	  CAN driver for several 'low cost' CAN interfaces that are attached
21a1044e36SOliver Hartkopp	  via serial lines or via USB-to-serial adapters using the LAWICEL
22a1044e36SOliver Hartkopp	  ASCII protocol. The driver implements the tty linediscipline N_SLCAN.
23a1044e36SOliver Hartkopp
24a1044e36SOliver Hartkopp	  As only the sending and receiving of CAN frames is implemented, this
25a1044e36SOliver Hartkopp	  driver should work with the (serial/USB) CAN hardware from:
26c128df73SOliver Hartkopp	  www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
27a1044e36SOliver Hartkopp
28a1044e36SOliver Hartkopp	  Userspace tools to attach the SLCAN line discipline (slcan_attach,
29a1044e36SOliver Hartkopp	  slcand) can be found in the can-utils at the SocketCAN SVN, see
30a1044e36SOliver Hartkopp	  http://developer.berlios.de/projects/socketcan for details.
31a1044e36SOliver Hartkopp
32a1044e36SOliver Hartkopp	  The slcan driver supports up to 10 CAN netdevices by default which
33a1044e36SOliver Hartkopp	  can be changed by the 'maxdev=xx' module option. This driver can
34a1044e36SOliver Hartkopp	  also be built as a module. If so, the module will be called slcan.
35a1044e36SOliver Hartkopp
3639549eefSWolfgang Grandeggerconfig CAN_DEV
3739549eefSWolfgang Grandegger	tristate "Platform CAN drivers with Netlink support"
3839549eefSWolfgang Grandegger	depends on CAN
3939549eefSWolfgang Grandegger	default Y
4039549eefSWolfgang Grandegger	---help---
4139549eefSWolfgang Grandegger	  Enables the common framework for platform CAN drivers with Netlink
4239549eefSWolfgang Grandegger	  support. This is the standard library for CAN drivers.
4339549eefSWolfgang Grandegger	  If unsure, say Y.
4439549eefSWolfgang Grandegger
4539549eefSWolfgang Grandeggerconfig CAN_CALC_BITTIMING
4639549eefSWolfgang Grandegger	bool "CAN bit-timing calculation"
4739549eefSWolfgang Grandegger	depends on CAN_DEV
4839549eefSWolfgang Grandegger	default Y
4939549eefSWolfgang Grandegger	---help---
5039549eefSWolfgang Grandegger	  If enabled, CAN bit-timing parameters will be calculated for the
5139549eefSWolfgang Grandegger	  bit-rate specified via Netlink argument "bitrate" when the device
5239549eefSWolfgang Grandegger	  get started. This works fine for the most common CAN controllers
5339549eefSWolfgang Grandegger	  with standard bit-rates but may fail for exotic bit-rates or CAN
5439549eefSWolfgang Grandegger	  source clock frequencies. Disabling saves some space, but then the
5539549eefSWolfgang Grandegger	  bit-timing parameters must be specified directly using the Netlink
5639549eefSWolfgang Grandegger	  arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
5739549eefSWolfgang Grandegger	  If unsure, say Y.
5839549eefSWolfgang Grandegger
5968f40152SMarc Kleine-Buddeconfig CAN_AT91
6068f40152SMarc Kleine-Budde	tristate "Atmel AT91 onchip CAN controller"
61b9e379bcSUwe Kleine-König	depends on CAN_DEV && (ARCH_AT91SAM9263 || ARCH_AT91SAM9X5)
6268f40152SMarc Kleine-Budde	---help---
63b9e379bcSUwe Kleine-König	  This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
64b9e379bcSUwe Kleine-König	  and AT91SAM9X5 processors.
6568f40152SMarc Kleine-Budde
663758bf25SAnant Goleconfig CAN_TI_HECC
673758bf25SAnant Gole	depends on CAN_DEV && ARCH_OMAP3
683758bf25SAnant Gole	tristate "TI High End CAN Controller"
693758bf25SAnant Gole	---help---
703758bf25SAnant Gole	  Driver for TI HECC (High End CAN Controller) module found on many
713758bf25SAnant Gole	  TI devices. The device specifications are available from www.ti.com
723758bf25SAnant Gole
73e0000163SChristian Pellegrinconfig CAN_MCP251X
74e0000163SChristian Pellegrin	tristate "Microchip MCP251x SPI CAN controllers"
75231d52a7SGeert Uytterhoeven	depends on CAN_DEV && SPI && HAS_DMA
76e0000163SChristian Pellegrin	---help---
77e0000163SChristian Pellegrin	  Driver for the Microchip MCP251x SPI CAN controllers.
78e0000163SChristian Pellegrin
79bbb84619SBarry Songconfig CAN_BFIN
80bbb84619SBarry Song	depends on CAN_DEV && (BF534 || BF536 || BF537 || BF538 || BF539 || BF54x)
81bbb84619SBarry Song	tristate "Analog Devices Blackfin on-chip CAN"
82bbb84619SBarry Song	---help---
83bbb84619SBarry Song	  Driver for the Analog Devices Blackfin on-chip CAN controllers
84bbb84619SBarry Song
85bbb84619SBarry Song	  To compile this driver as a module, choose M here: the
86bbb84619SBarry Song	  module will be called bfin_can.
87bbb84619SBarry Song
88631eb227SIra W. Snyderconfig CAN_JANZ_ICAN3
89631eb227SIra W. Snyder	tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
90631eb227SIra W. Snyder	depends on CAN_DEV && MFD_JANZ_CMODIO
91631eb227SIra W. Snyder	---help---
92631eb227SIra W. Snyder	  Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
93631eb227SIra W. Snyder	  connects to a MODULbus carrier board.
94631eb227SIra W. Snyder
95631eb227SIra W. Snyder	  This driver can also be built as a module. If so, the module will be
96631eb227SIra W. Snyder	  called janz-ican3.ko.
97631eb227SIra W. Snyder
98e955ceadSMarc Kleine-Buddeconfig HAVE_CAN_FLEXCAN
99e955ceadSMarc Kleine-Budde	bool
100e955ceadSMarc Kleine-Budde
101e955ceadSMarc Kleine-Buddeconfig CAN_FLEXCAN
102e955ceadSMarc Kleine-Budde	tristate "Support for Freescale FLEXCAN based chips"
103e955ceadSMarc Kleine-Budde	depends on CAN_DEV && HAVE_CAN_FLEXCAN
104e955ceadSMarc Kleine-Budde	---help---
105e955ceadSMarc Kleine-Budde	  Say Y here if you want to support for Freescale FlexCAN.
106e955ceadSMarc Kleine-Budde
107b21d18b5SMasayuki Ohtakeconfig PCH_CAN
108b21d18b5SMasayuki Ohtake	tristate "PCH CAN"
10910d8c463SRandy Dunlap	depends on CAN_DEV && PCI
110b21d18b5SMasayuki Ohtake	---help---
111b21d18b5SMasayuki Ohtake	  This driver is for PCH CAN of Topcliff which is an IOH for x86
112b21d18b5SMasayuki Ohtake	  embedded processor.
113b21d18b5SMasayuki Ohtake	  This driver can access CAN bus.
114b21d18b5SMasayuki Ohtake
11524cfbcbaSWolfram Sangsource "drivers/net/can/mscan/Kconfig"
116afa17a50SWolfram Sang
117b93cf3f0SOliver Hartkoppsource "drivers/net/can/sja1000/Kconfig"
118b93cf3f0SOliver Hartkopp
119881ff67aSBhupesh Sharmasource "drivers/net/can/c_can/Kconfig"
120881ff67aSBhupesh Sharma
121b93cf3f0SOliver Hartkoppsource "drivers/net/can/usb/Kconfig"
122b93cf3f0SOliver Hartkopp
12303fd3cf5SKurt Van Dijcksource "drivers/net/can/softing/Kconfig"
12403fd3cf5SKurt Van Dijck
125ccb29637SOliver Hartkoppconfig CAN_DEBUG_DEVICES
126ccb29637SOliver Hartkopp	bool "CAN devices debugging messages"
127ccb29637SOliver Hartkopp	depends on CAN
128ccb29637SOliver Hartkopp	default N
129ccb29637SOliver Hartkopp	---help---
130ccb29637SOliver Hartkopp	  Say Y here if you want the CAN device drivers to produce a bunch of
131ccb29637SOliver Hartkopp	  debug messages to the system log.  Select this if you are having
132ccb29637SOliver Hartkopp	  a problem with CAN support and want to see more of what is going
133ccb29637SOliver Hartkopp	  on.
134ccb29637SOliver Hartkopp
135ccb29637SOliver Hartkoppendmenu
136