xref: /openbmc/linux/drivers/net/can/spi/mcp251xfd/Kconfig (revision 29e1c1ad3ff7f345d80c7b81b08175f5a8c84122)
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