0001 # SPDX-License-Identifier: GPL-2.0-only
0002
0003 config CAN_MCP251XFD
0004 tristate "Microchip MCP251xFD SPI CAN controllers"
0005 select CAN_RX_OFFLOAD
0006 select REGMAP
0007 select WANT_DEV_COREDUMP
0008 help
0009 Driver for the Microchip MCP251XFD SPI FD-CAN controller
0010 family.
0011
0012 config CAN_MCP251XFD_SANITY
0013 depends on CAN_MCP251XFD
0014 bool "Additional Sanity Checks"
0015 help
0016 This option enables additional sanity checks in the driver,
0017 that compares various internal counters with the in chip
0018 variants. This comes with a runtime overhead.
0019 Disable if unsure.