Skip to content

Commit 57e83fb

Browse files
nodeaxmarckleinebudde
authored andcommitted
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 <[email protected]> Acked-by: Wolfgang Grandegger <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 20a1e35 commit 57e83fb

File tree

3 files changed

+1083
-0
lines changed

3 files changed

+1083
-0
lines changed

drivers/net/can/spi/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
menu "CAN SPI interfaces"
22
depends on SPI
33

4+
config CAN_HI311X
5+
tristate "Holt HI311x SPI CAN controllers"
6+
depends on CAN_DEV && SPI && HAS_DMA
7+
---help---
8+
Driver for the Holt HI311x SPI CAN controllers.
9+
410
config CAN_MCP251X
511
tristate "Microchip MCP251x SPI CAN controllers"
612
depends on HAS_DMA

drivers/net/can/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
#
44

55

6+
obj-$(CONFIG_CAN_HI311X) += hi311x.o
67
obj-$(CONFIG_CAN_MCP251X) += mcp251x.o

0 commit comments

Comments
 (0)