xref: /linux/drivers/net/can/spi/mcp251xfd/Kconfig (revision a1944676767e855869b6af8e1c7e185372feaf31)
1# SPDX-License-Identifier: GPL-2.0-only
2
3config CAN_MCP251XFD
4	tristate "Microchip MCP251xFD SPI CAN controllers"
5	select CAN_RX_OFFLOAD
6	select REGMAP
7	select WANT_DEV_COREDUMP
8	help
9	  Driver for the Microchip MCP251XFD SPI FD-CAN controller
10	  family.
11
12config CAN_MCP251XFD_SANITY
13	depends on CAN_MCP251XFD
14	bool "Additional Sanity Checks"
15	help
16	  This option enables additional sanity checks in the driver,
17	  that compares various internal counters with the in chip
18	  variants. This comes with a runtime overhead.
19	  Disable if unsure.
20