You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
can: tcan4x5x: Add tcan4x5x driver to the kernel
Add the TCAN4x5x SPI CAN driver. This device uses the Bosch MCAN IP core along with a SPI interface map. Register to the MCAN common core code to manage the MCAN IP. This device has a special method to indicate a write/read operation on the data payload. Acked-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
committed by
Marc Kleine-Budde
parent
4edd396a19
commit
5443c226ba
@@ -13,3 +13,12 @@ config CAN_M_CAN_PLATFORM
|
||||
Say Y here if you want support for IO Mapped Bosch M_CAN controller.
|
||||
This support is for devices that have the Bosch M_CAN controller
|
||||
IP embedded into the device and the IP is IO Mapped to the processor.
|
||||
|
||||
config CAN_M_CAN_TCAN4X5X
|
||||
depends on CAN_M_CAN
|
||||
depends on REGMAP_SPI
|
||||
tristate "TCAN4X5X M_CAN device"
|
||||
---help---
|
||||
Say Y here if you want support for Texas Instruments TCAN4x5x
|
||||
M_CAN controller. This device is a peripherial device that uses the
|
||||
SPI bus for communication.
|
||||
|
||||
@@ -5,3 +5,4 @@
|
||||
|
||||
obj-$(CONFIG_CAN_M_CAN) += m_can.o
|
||||
obj-$(CONFIG_CAN_M_CAN_PLATFORM) += m_can_platform.o
|
||||
obj-$(CONFIG_CAN_M_CAN_TCAN4X5X) += tcan4x5x.o
|
||||
|
||||
532
drivers/net/can/m_can/tcan4x5x.c
Normal file
532
drivers/net/can/m_can/tcan4x5x.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user