xref: /openbmc/linux/drivers/net/can/Kconfig (revision 10d8c463)
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
1539549eefSWolfgang Grandeggerconfig CAN_DEV
1639549eefSWolfgang Grandegger	tristate "Platform CAN drivers with Netlink support"
1739549eefSWolfgang Grandegger	depends on CAN
1839549eefSWolfgang Grandegger	default Y
1939549eefSWolfgang Grandegger	---help---
2039549eefSWolfgang Grandegger	  Enables the common framework for platform CAN drivers with Netlink
2139549eefSWolfgang Grandegger	  support. This is the standard library for CAN drivers.
2239549eefSWolfgang Grandegger	  If unsure, say Y.
2339549eefSWolfgang Grandegger
2439549eefSWolfgang Grandeggerconfig CAN_CALC_BITTIMING
2539549eefSWolfgang Grandegger	bool "CAN bit-timing calculation"
2639549eefSWolfgang Grandegger	depends on CAN_DEV
2739549eefSWolfgang Grandegger	default Y
2839549eefSWolfgang Grandegger	---help---
2939549eefSWolfgang Grandegger	  If enabled, CAN bit-timing parameters will be calculated for the
3039549eefSWolfgang Grandegger	  bit-rate specified via Netlink argument "bitrate" when the device
3139549eefSWolfgang Grandegger	  get started. This works fine for the most common CAN controllers
3239549eefSWolfgang Grandegger	  with standard bit-rates but may fail for exotic bit-rates or CAN
3339549eefSWolfgang Grandegger	  source clock frequencies. Disabling saves some space, but then the
3439549eefSWolfgang Grandegger	  bit-timing parameters must be specified directly using the Netlink
3539549eefSWolfgang Grandegger	  arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
3639549eefSWolfgang Grandegger	  If unsure, say Y.
3739549eefSWolfgang Grandegger
3868f40152SMarc Kleine-Buddeconfig CAN_AT91
3968f40152SMarc Kleine-Budde	tristate "Atmel AT91 onchip CAN controller"
40b93cf3f0SOliver Hartkopp	depends on CAN_DEV && ARCH_AT91SAM9263
4168f40152SMarc Kleine-Budde	---help---
4268f40152SMarc Kleine-Budde	  This is a driver for the SoC CAN controller in Atmel's AT91SAM9263.
4368f40152SMarc Kleine-Budde
443758bf25SAnant Goleconfig CAN_TI_HECC
453758bf25SAnant Gole	depends on CAN_DEV && ARCH_OMAP3
463758bf25SAnant Gole	tristate "TI High End CAN Controller"
473758bf25SAnant Gole	---help---
483758bf25SAnant Gole	  Driver for TI HECC (High End CAN Controller) module found on many
493758bf25SAnant Gole	  TI devices. The device specifications are available from www.ti.com
503758bf25SAnant Gole
51e0000163SChristian Pellegrinconfig CAN_MCP251X
52e0000163SChristian Pellegrin	tristate "Microchip MCP251x SPI CAN controllers"
53231d52a7SGeert Uytterhoeven	depends on CAN_DEV && SPI && HAS_DMA
54e0000163SChristian Pellegrin	---help---
55e0000163SChristian Pellegrin	  Driver for the Microchip MCP251x SPI CAN controllers.
56e0000163SChristian Pellegrin
57bbb84619SBarry Songconfig CAN_BFIN
58bbb84619SBarry Song	depends on CAN_DEV && (BF534 || BF536 || BF537 || BF538 || BF539 || BF54x)
59bbb84619SBarry Song	tristate "Analog Devices Blackfin on-chip CAN"
60bbb84619SBarry Song	---help---
61bbb84619SBarry Song	  Driver for the Analog Devices Blackfin on-chip CAN controllers
62bbb84619SBarry Song
63bbb84619SBarry Song	  To compile this driver as a module, choose M here: the
64bbb84619SBarry Song	  module will be called bfin_can.
65bbb84619SBarry Song
66631eb227SIra W. Snyderconfig CAN_JANZ_ICAN3
67631eb227SIra W. Snyder	tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
68631eb227SIra W. Snyder	depends on CAN_DEV && MFD_JANZ_CMODIO
69631eb227SIra W. Snyder	---help---
70631eb227SIra W. Snyder	  Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
71631eb227SIra W. Snyder	  connects to a MODULbus carrier board.
72631eb227SIra W. Snyder
73631eb227SIra W. Snyder	  This driver can also be built as a module. If so, the module will be
74631eb227SIra W. Snyder	  called janz-ican3.ko.
75631eb227SIra W. Snyder
76e955ceadSMarc Kleine-Buddeconfig HAVE_CAN_FLEXCAN
77e955ceadSMarc Kleine-Budde	bool
78e955ceadSMarc Kleine-Budde
79e955ceadSMarc Kleine-Buddeconfig CAN_FLEXCAN
80e955ceadSMarc Kleine-Budde	tristate "Support for Freescale FLEXCAN based chips"
81e955ceadSMarc Kleine-Budde	depends on CAN_DEV && HAVE_CAN_FLEXCAN
82e955ceadSMarc Kleine-Budde	---help---
83e955ceadSMarc Kleine-Budde	  Say Y here if you want to support for Freescale FlexCAN.
84e955ceadSMarc Kleine-Budde
85b21d18b5SMasayuki Ohtakeconfig PCH_CAN
86b21d18b5SMasayuki Ohtake	tristate "PCH CAN"
8710d8c463SRandy Dunlap	depends on CAN_DEV && PCI
88b21d18b5SMasayuki Ohtake	---help---
89b21d18b5SMasayuki Ohtake	  This driver is for PCH CAN of Topcliff which is an IOH for x86
90b21d18b5SMasayuki Ohtake	  embedded processor.
91b21d18b5SMasayuki Ohtake	  This driver can access CAN bus.
92b21d18b5SMasayuki Ohtake
9324cfbcbaSWolfram Sangsource "drivers/net/can/mscan/Kconfig"
94afa17a50SWolfram Sang
95b93cf3f0SOliver Hartkoppsource "drivers/net/can/sja1000/Kconfig"
96b93cf3f0SOliver Hartkopp
97b93cf3f0SOliver Hartkoppsource "drivers/net/can/usb/Kconfig"
98b93cf3f0SOliver Hartkopp
99ccb29637SOliver Hartkoppconfig CAN_DEBUG_DEVICES
100ccb29637SOliver Hartkopp	bool "CAN devices debugging messages"
101ccb29637SOliver Hartkopp	depends on CAN
102ccb29637SOliver Hartkopp	default N
103ccb29637SOliver Hartkopp	---help---
104ccb29637SOliver Hartkopp	  Say Y here if you want the CAN device drivers to produce a bunch of
105ccb29637SOliver Hartkopp	  debug messages to the system log.  Select this if you are having
106ccb29637SOliver Hartkopp	  a problem with CAN support and want to see more of what is going
107ccb29637SOliver Hartkopp	  on.
108ccb29637SOliver Hartkopp
109ccb29637SOliver Hartkoppendmenu
110