driver: can: spi: add mcp25xxfd driver

mcp25xxfd is a CAN bus controller with SPI interface,
which support CAN FD and CAN classic format CAN frame.

Change-Id: I9d6cdc2521beb2fff8ccb063c9dddefa09e5a641
Signed-off-by: Meng Jiang <mengjian@codeaurora.org>
This commit is contained in:
Meng Jiang
2020-01-09 16:47:55 +08:00
committed by Gerrit - the friendly Code Review server
parent dd22fab72f
commit ba7313eb14
5 changed files with 4532 additions and 0 deletions

View File

@@ -326,6 +326,12 @@ F: drivers/pci/*acpi*
F: drivers/pci/*/*acpi*
F: tools/power/acpi/
commit 6f40c42105d5c913cf855320ba7cfbc418314e29
Author: Meng Jiang <mengjian@codeaurora.org>
Date: Mon Jan 13 18:20:15 2020 -0400
MAINTAINERS: add MCP25xxFD driver to support SPI to CAN
Signed-off-by: Meng Jiang <mengjian@codeaurora.org>
ACPI APEI
M: "Rafael J. Wysocki" <rjw@rjwysocki.net>
M: Len Brown <lenb@kernel.org>

View File

@@ -264,6 +264,8 @@ CONFIG_QRTR=y
CONFIG_QRTR_SMD=y
CONFIG_QRTR_MHI=y
CONFIG_SOCKEV_NLMCAST=y
CONFIG_CAN=y
CONFIG_CAN_MCP25XXFD=y
CONFIG_BT=y
CONFIG_MSM_BT_POWER=y
CONFIG_BT_SLIM_QCA6390=y

View File

@@ -14,4 +14,14 @@ config CAN_MCP251X
Driver for the Microchip MCP251x and MCP25625 SPI CAN
controllers.
config CAN_MCP25XXFD
tristate "Microchip MCP25xxFD SPI CAN controllers"
depends on HAS_DMA
help
The driver for the Microchip MCP25XXFD SPI FD-CAN
controller family.
Say yes here to build support for SPI to CAN devices
mcp25xxfd. To compilethis driver as a module, choose
M here: the module will be called mcp25xxfd.
endmenu

View File

@@ -5,3 +5,4 @@
obj-$(CONFIG_CAN_HI311X) += hi311x.o
obj-$(CONFIG_CAN_MCP251X) += mcp251x.o
obj-$(CONFIG_CAN_MCP25XXFD) += mcp25xxfd.o

File diff suppressed because it is too large Load Diff