can: rockchip_canfd: add driver for Rockchip CAN-FD controller
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 11 Oct 2023 14:02:32 +0000 (16:02 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 4 Sep 2024 12:41:51 +0000 (14:41 +0200)
commitff60bfbaf67f219c634cfe89a52250efe8e600d0
tree38c5b3ac398d66c4ce9a062d276f813040c9baaf
parent8b2f4d01f56c99491f6f107f7a03fedcfb9d2d52
can: rockchip_canfd: add driver for Rockchip CAN-FD controller

Add driver for the Rockchip CAN-FD controller.

The IP core on the rk3568v2 SoC has 12 documented errata. Corrections
for these errata will be added in the upcoming patches.

Since several workarounds are required for the TX path, only add the
base driver that only implements the RX path.

Although the RX path implements CAN-FD support, it's not activated in
ctrlmode_supported, as the IP core in the rk3568v2 has problems with
receiving or sending certain CAN-FD frames.

Tested-by: Alibek Omarov <a1ba.omarov@gmail.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20240904-rockchip-canfd-v5-4-8ae22bcb27cc@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
MAINTAINERS
drivers/net/can/Kconfig
drivers/net/can/Makefile
drivers/net/can/rockchip/Kconfig [new file with mode: 0644]
drivers/net/can/rockchip/Makefile [new file with mode: 0644]
drivers/net/can/rockchip/rockchip_canfd-core.c [new file with mode: 0644]
drivers/net/can/rockchip/rockchip_canfd-rx.c [new file with mode: 0644]
drivers/net/can/rockchip/rockchip_canfd-timestamp.c [new file with mode: 0644]
drivers/net/can/rockchip/rockchip_canfd-tx.c [new file with mode: 0644]
drivers/net/can/rockchip/rockchip_canfd.h [new file with mode: 0644]