mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 22:24:09 +08:00
can: hi311x: Add Holt HI-311x CAN driver
This patch adds support for the Holt HI-311x CAN controller. The HI311x CAN controller is capable of transmitting and receiving standard data frames, extended data frames and remote frames. The HI311x interfaces with the host over SPI. Datasheet: www.holtic.com/documents/371-hi-3110_v-rev-jpdf.do Signed-off-by: Akshay Bhat <nodeax@gmail.com> Acked-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
20a1e35511
commit
57e83fb9b7
@ -1,6 +1,12 @@
|
||||
menu "CAN SPI interfaces"
|
||||
depends on SPI
|
||||
|
||||
config CAN_HI311X
|
||||
tristate "Holt HI311x SPI CAN controllers"
|
||||
depends on CAN_DEV && SPI && HAS_DMA
|
||||
---help---
|
||||
Driver for the Holt HI311x SPI CAN controllers.
|
||||
|
||||
config CAN_MCP251X
|
||||
tristate "Microchip MCP251x SPI CAN controllers"
|
||||
depends on HAS_DMA
|
||||
|
@ -3,4 +3,5 @@
|
||||
#
|
||||
|
||||
|
||||
obj-$(CONFIG_CAN_HI311X) += hi311x.o
|
||||
obj-$(CONFIG_CAN_MCP251X) += mcp251x.o
|
||||
|
1076
drivers/net/can/spi/hi311x.c
Normal file
1076
drivers/net/can/spi/hi311x.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user