mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
driver: net: can: add qti-can driver
Add qti-can driver for CAN device. Change-Id: Ia22e642f78d3b8f99c1468f42918e0c8ccc67b06 Signed-off-by: Zou Shunxiang <shunxian@codeaurora.org>
This commit is contained in:
parent
14bc214f53
commit
d3bcd9dbf3
3 changed files with 1677 additions and 0 deletions
|
|
@ -15,4 +15,14 @@ config CAN_MCP251X
|
|||
Driver for the Microchip MCP251x and MCP25625 SPI CAN
|
||||
controllers.
|
||||
|
||||
config QTI_CAN
|
||||
tristate "Unified driver for QTI CAN controllers"
|
||||
depends on SPI
|
||||
help
|
||||
This adds unified driver for QTI CAN controllers on auto
|
||||
Platform. This driver can support a few SPI controllers
|
||||
being used on automotive paltform. This Driver is based
|
||||
on Calypso MPC5746 MCU ans uses SPI bus for data access.
|
||||
It support most CAN operations including version lookup,
|
||||
firmware upgrade, CAN message filter, etc.
|
||||
endmenu
|
||||
|
|
|
|||
|
|
@ -6,3 +6,4 @@
|
|||
|
||||
obj-$(CONFIG_CAN_HI311X) += hi311x.o
|
||||
obj-$(CONFIG_CAN_MCP251X) += mcp251x.o
|
||||
obj-$(CONFIG_QTI_CAN) += qti-can.o
|
||||
|
|
|
|||
1666
drivers/net/can/spi/qti-can.c
Normal file
1666
drivers/net/can/spi/qti-can.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue