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