mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
net: can: add rockchip CANFD driver
Change-Id: Ie49293531038583e7d0d4b8055dba3e8f026d734 Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
This commit is contained in:
@@ -6,3 +6,12 @@ config CAN_ROCKCHIP
|
||||
|
||||
To compile this driver as a module, choose M here: the module will
|
||||
be called rockchip_can.
|
||||
|
||||
config CANFD_ROCKCHIP
|
||||
tristate "Rockchip CANFD controller"
|
||||
depends on ARCH_ROCKCHIP
|
||||
---help---
|
||||
Say Y here if you want to use CANFD controller found on Rockchip SoCs.
|
||||
|
||||
To compile this driver as a module, choose M here: the module will
|
||||
be called rockchip_canfd.
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
#
|
||||
|
||||
obj-$(CONFIG_CAN_ROCKCHIP) += rockchip_can.o
|
||||
obj-$(CONFIG_CANFD_ROCKCHIP) += rockchip_canfd.o
|
||||
|
||||
1035
drivers/net/can/rockchip/rockchip_canfd.c
Normal file
1035
drivers/net/can/rockchip/rockchip_canfd.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user