diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-09-18 19:25:32 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-09-21 10:13:20 +0200 |
commit | 875347fe57563693b29cafe24fdee72f0faf6434 (patch) | |
tree | 0c04a8ca982c314a62878f8619e63dde457f15c2 /drivers/net/can/spi/mcp25xxfd/Kconfig | |
parent | 1b5a78e69c1fdae9aa8a62c45acb820639ccad87 (diff) |
can: mcp25xxfd: add regmap infrastructure
This patch adds the regmap infrastructure for the Microchip MCP25xxFD SPI CAN
controller family. The actual driver is added in the next commit.
Tested-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://lore.kernel.org/r/20200918172536.2074504-3-mkl@pengutronix.de
Diffstat (limited to 'drivers/net/can/spi/mcp25xxfd/Kconfig')
-rw-r--r-- | drivers/net/can/spi/mcp25xxfd/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/can/spi/mcp25xxfd/Kconfig b/drivers/net/can/spi/mcp25xxfd/Kconfig new file mode 100644 index 000000000000..9eb596019a58 --- /dev/null +++ b/drivers/net/can/spi/mcp25xxfd/Kconfig @@ -0,0 +1,17 @@ +# SPDX-License-Identifier: GPL-2.0-only + +config CAN_MCP25XXFD + tristate "Microchip MCP25xxFD SPI CAN controllers" + select REGMAP + help + Driver for the Microchip MCP25XXFD SPI FD-CAN controller + family. + +config CAN_MCP25XXFD_SANITY + depends on CAN_MCP25XXFD + bool "Additional Sanity Checks" + help + This option enables additional sanity checks in the driver, + that compares various internal counters with the in chip + variants. This comes with a runtime overhead. + Disable if unsure. |