xref: /linux/drivers/net/can/spi/mcp251xfd/Kconfig (revision 8f7aa3d3c7323f4ca2768a9e74ebbe359c4f8f88)
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	select GPIOLIB
9	help
10	  Driver for the Microchip MCP251XFD SPI FD-CAN controller
11	  family.
12
13config CAN_MCP251XFD_SANITY
14	depends on CAN_MCP251XFD
15	bool "Additional Sanity Checks"
16	help
17	  This option enables additional sanity checks in the driver,
18	  that compares various internal counters with the in chip
19	  variants. This comes with a runtime overhead.
20	  Disable if unsure.
21