xref: /openbmc/linux/drivers/net/can/Kconfig (revision 26821162)
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)"
1421eaab6dSLinus Torvalds	depends on TTY
15a1044e36SOliver Hartkopp	---help---
16a1044e36SOliver Hartkopp	  CAN driver for several 'low cost' CAN interfaces that are attached
17a1044e36SOliver Hartkopp	  via serial lines or via USB-to-serial adapters using the LAWICEL
18a1044e36SOliver Hartkopp	  ASCII protocol. The driver implements the tty linediscipline N_SLCAN.
19a1044e36SOliver Hartkopp
20a1044e36SOliver Hartkopp	  As only the sending and receiving of CAN frames is implemented, this
21a1044e36SOliver Hartkopp	  driver should work with the (serial/USB) CAN hardware from:
22c128df73SOliver Hartkopp	  www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
23a1044e36SOliver Hartkopp
24a1044e36SOliver Hartkopp	  Userspace tools to attach the SLCAN line discipline (slcan_attach,
25a1044e36SOliver Hartkopp	  slcand) can be found in the can-utils at the SocketCAN SVN, see
26a1044e36SOliver Hartkopp	  http://developer.berlios.de/projects/socketcan for details.
27a1044e36SOliver Hartkopp
28a1044e36SOliver Hartkopp	  The slcan driver supports up to 10 CAN netdevices by default which
29a1044e36SOliver Hartkopp	  can be changed by the 'maxdev=xx' module option. This driver can
30a1044e36SOliver Hartkopp	  also be built as a module. If so, the module will be called slcan.
31a1044e36SOliver Hartkopp
3239549eefSWolfgang Grandeggerconfig CAN_DEV
3339549eefSWolfgang Grandegger	tristate "Platform CAN drivers with Netlink support"
34a30d5155SMarc Kleine-Budde	default y
3539549eefSWolfgang Grandegger	---help---
3639549eefSWolfgang Grandegger	  Enables the common framework for platform CAN drivers with Netlink
3739549eefSWolfgang Grandegger	  support. This is the standard library for CAN drivers.
3839549eefSWolfgang Grandegger	  If unsure, say Y.
3939549eefSWolfgang Grandegger
406586c5d7SMarc Kleine-Buddeif CAN_DEV
416586c5d7SMarc Kleine-Budde
4239549eefSWolfgang Grandeggerconfig CAN_CALC_BITTIMING
4339549eefSWolfgang Grandegger	bool "CAN bit-timing calculation"
44a30d5155SMarc Kleine-Budde	default y
4539549eefSWolfgang Grandegger	---help---
4639549eefSWolfgang Grandegger	  If enabled, CAN bit-timing parameters will be calculated for the
4739549eefSWolfgang Grandegger	  bit-rate specified via Netlink argument "bitrate" when the device
4839549eefSWolfgang Grandegger	  get started. This works fine for the most common CAN controllers
4939549eefSWolfgang Grandegger	  with standard bit-rates but may fail for exotic bit-rates or CAN
5039549eefSWolfgang Grandegger	  source clock frequencies. Disabling saves some space, but then the
5139549eefSWolfgang Grandegger	  bit-timing parameters must be specified directly using the Netlink
5239549eefSWolfgang Grandegger	  arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
5339549eefSWolfgang Grandegger	  If unsure, say Y.
5439549eefSWolfgang Grandegger
55996a953dSFabio Baltiericonfig CAN_LEDS
56996a953dSFabio Baltieri	bool "Enable LED triggers for Netlink based drivers"
57996a953dSFabio Baltieri	depends on LEDS_CLASS
58996a953dSFabio Baltieri	select LEDS_TRIGGERS
59996a953dSFabio Baltieri	---help---
60996a953dSFabio Baltieri	  This option adds two LED triggers for packet receive and transmit
61996a953dSFabio Baltieri	  events on each supported CAN device.
62996a953dSFabio Baltieri
63996a953dSFabio Baltieri	  Say Y here if you are working on a system with led-class supported
64996a953dSFabio Baltieri	  LEDs and you want to use them as canbus activity indicators.
65996a953dSFabio Baltieri
6668f40152SMarc Kleine-Buddeconfig CAN_AT91
6768f40152SMarc Kleine-Budde	tristate "Atmel AT91 onchip CAN controller"
689dc8be28SChen Gang	depends on (ARCH_AT91 || COMPILE_TEST) && HAS_IOMEM
6968f40152SMarc Kleine-Budde	---help---
70b9e379bcSUwe Kleine-König	  This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
71b9e379bcSUwe Kleine-König	  and AT91SAM9X5 processors.
7268f40152SMarc Kleine-Budde
73bbb84619SBarry Songconfig CAN_BFIN
746586c5d7SMarc Kleine-Budde	depends on BF534 || BF536 || BF537 || BF538 || BF539 || BF54x
75bbb84619SBarry Song	tristate "Analog Devices Blackfin on-chip CAN"
76bbb84619SBarry Song	---help---
77bbb84619SBarry Song	  Driver for the Analog Devices Blackfin on-chip CAN controllers
78bbb84619SBarry Song
79bbb84619SBarry Song	  To compile this driver as a module, choose M here: the
80bbb84619SBarry Song	  module will be called bfin_can.
81bbb84619SBarry Song
8226821162SMarc Kleine-Buddeconfig CAN_FLEXCAN
8326821162SMarc Kleine-Budde	tristate "Support for Freescale FLEXCAN based chips"
8426821162SMarc Kleine-Budde	depends on ARM || PPC
8526821162SMarc Kleine-Budde	---help---
8626821162SMarc Kleine-Budde	  Say Y here if you want to support for Freescale FlexCAN.
8726821162SMarc Kleine-Budde
8826821162SMarc Kleine-Buddeconfig CAN_GRCAN
8926821162SMarc Kleine-Budde	tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices"
9026821162SMarc Kleine-Budde	depends on OF && HAS_DMA
9126821162SMarc Kleine-Budde	---help---
9226821162SMarc Kleine-Budde	  Say Y here if you want to use Aeroflex Gaisler GRCAN or GRHCAN.
9326821162SMarc Kleine-Budde	  Note that the driver supports little endian, even though little
9426821162SMarc Kleine-Budde	  endian syntheses of the cores would need some modifications on
9526821162SMarc Kleine-Budde	  the hardware level to work.
9626821162SMarc Kleine-Budde
97631eb227SIra W. Snyderconfig CAN_JANZ_ICAN3
98631eb227SIra W. Snyder	tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
996586c5d7SMarc Kleine-Budde	depends on MFD_JANZ_CMODIO
100631eb227SIra W. Snyder	---help---
101631eb227SIra W. Snyder	  Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
102631eb227SIra W. Snyder	  connects to a MODULbus carrier board.
103631eb227SIra W. Snyder
104631eb227SIra W. Snyder	  This driver can also be built as a module. If so, the module will be
105631eb227SIra W. Snyder	  called janz-ican3.ko.
106631eb227SIra W. Snyder
107fd115931SSergei Shtylyovconfig CAN_RCAR
108fd115931SSergei Shtylyov	tristate "Renesas R-Car CAN controller"
109fd115931SSergei Shtylyov	depends on ARM
110fd115931SSergei Shtylyov	---help---
111fd115931SSergei Shtylyov	  Say Y here if you want to use CAN controller found on Renesas R-Car
112fd115931SSergei Shtylyov	  SoCs.
113fd115931SSergei Shtylyov
114fd115931SSergei Shtylyov	  To compile this driver as a module, choose M here: the module will
115fd115931SSergei Shtylyov	  be called rcar_can.
116fd115931SSergei Shtylyov
1170738eff1SGerhard Bertelsmannconfig CAN_SUN4I
1180738eff1SGerhard Bertelsmann	tristate "Allwinner A10 CAN controller"
1190738eff1SGerhard Bertelsmann	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
1200738eff1SGerhard Bertelsmann	---help---
1210738eff1SGerhard Bertelsmann	  Say Y here if you want to use CAN controller found on Allwinner
1220738eff1SGerhard Bertelsmann	  A10/A20 SoCs.
1230738eff1SGerhard Bertelsmann
1240738eff1SGerhard Bertelsmann	  To compile this driver as a module, choose M here: the module will
1250738eff1SGerhard Bertelsmann	  be called sun4i_can.
1260738eff1SGerhard Bertelsmann
12726821162SMarc Kleine-Buddeconfig CAN_TI_HECC
12826821162SMarc Kleine-Budde	depends on ARM
12926821162SMarc Kleine-Budde	tristate "TI High End CAN Controller"
13026821162SMarc Kleine-Budde	---help---
13126821162SMarc Kleine-Budde	  Driver for TI HECC (High End CAN Controller) module found on many
13226821162SMarc Kleine-Budde	  TI devices. The device specifications are available from www.ti.com
13326821162SMarc Kleine-Budde
134b1201e44SKedareswara rao Appanaconfig CAN_XILINXCAN
135b1201e44SKedareswara rao Appana	tristate "Xilinx CAN"
136963a822bSMichal Simek	depends on ARCH_ZYNQ || ARM64 || MICROBLAZE || COMPILE_TEST
137b1201e44SKedareswara rao Appana	depends on COMMON_CLK && HAS_IOMEM
138b1201e44SKedareswara rao Appana	---help---
139b1201e44SKedareswara rao Appana	  Xilinx CAN driver. This driver supports both soft AXI CAN IP and
140b1201e44SKedareswara rao Appana	  Zynq CANPS IP.
141b1201e44SKedareswara rao Appana
14226821162SMarc Kleine-Buddeconfig PCH_CAN
14326821162SMarc Kleine-Budde	tristate "Intel EG20T PCH CAN controller"
14426821162SMarc Kleine-Budde	depends on PCI && (X86_32 || COMPILE_TEST)
14526821162SMarc Kleine-Budde	---help---
14626821162SMarc Kleine-Budde	  This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
14726821162SMarc Kleine-Budde	  is an IOH for x86 embedded processor (Intel Atom E6xx series).
14826821162SMarc Kleine-Budde	  This driver can access CAN bus.
149b93cf3f0SOliver Hartkopp
150881ff67aSBhupesh Sharmasource "drivers/net/can/c_can/Kconfig"
1512a367c3aSWolfgang Grandeggersource "drivers/net/can/cc770/Kconfig"
15283407c7fSMarek Vasutsource "drivers/net/can/m_can/Kconfig"
15383407c7fSMarek Vasutsource "drivers/net/can/mscan/Kconfig"
15483407c7fSMarek Vasutsource "drivers/net/can/sja1000/Kconfig"
15503fd3cf5SKurt Van Dijcksource "drivers/net/can/softing/Kconfig"
15683407c7fSMarek Vasutsource "drivers/net/can/spi/Kconfig"
15783407c7fSMarek Vasutsource "drivers/net/can/usb/Kconfig"
15803fd3cf5SKurt Van Dijck
1596586c5d7SMarc Kleine-Buddeendif
1606586c5d7SMarc Kleine-Budde
161ccb29637SOliver Hartkoppconfig CAN_DEBUG_DEVICES
162ccb29637SOliver Hartkopp	bool "CAN devices debugging messages"
163ccb29637SOliver Hartkopp	---help---
164ccb29637SOliver Hartkopp	  Say Y here if you want the CAN device drivers to produce a bunch of
165ccb29637SOliver Hartkopp	  debug messages to the system log.  Select this if you are having
166ccb29637SOliver Hartkopp	  a problem with CAN support and want to see more of what is going
167ccb29637SOliver Hartkopp	  on.
168ccb29637SOliver Hartkopp
169ccb29637SOliver Hartkoppendmenu
170