Skip to content

Commit 0738eff

Browse files
GBertmarckleinebudde
authored andcommitted
can: Allwinner A10/A20 CAN Controller support - Kernel module
Kernel module for Allwinner A10/A20 CAN controller. Signed-off-by: Gerhard Bertelsmann <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent 4366bd4 commit 0738eff

File tree

3 files changed

+868
-0
lines changed

3 files changed

+868
-0
lines changed

drivers/net/can/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,16 @@ config CAN_RCAR
129129
To compile this driver as a module, choose M here: the module will
130130
be called rcar_can.
131131

132+
config CAN_SUN4I
133+
tristate "Allwinner A10 CAN controller"
134+
depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
135+
---help---
136+
Say Y here if you want to use CAN controller found on Allwinner
137+
A10/A20 SoCs.
138+
139+
To compile this driver as a module, choose M here: the module will
140+
be called sun4i_can.
141+
132142
config CAN_XILINXCAN
133143
tristate "Xilinx CAN"
134144
depends on ARCH_ZYNQ || ARM64 || MICROBLAZE || COMPILE_TEST

drivers/net/can/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ obj-$(CONFIG_CAN_FLEXCAN) += flexcan.o
2727
obj-$(CONFIG_PCH_CAN) += pch_can.o
2828
obj-$(CONFIG_CAN_GRCAN) += grcan.o
2929
obj-$(CONFIG_CAN_RCAR) += rcar_can.o
30+
obj-$(CONFIG_CAN_SUN4I) += sun4i_can.o
3031
obj-$(CONFIG_CAN_XILINXCAN) += xilinx_can.o
3132

3233
subdir-ccflags-y += -D__CHECK_ENDIAN__

0 commit comments

Comments
 (0)