mbox series

[0/2] rockchip: add can for RK3576 Soc

Message ID 20241217023908.1292999-1-zhangqing@rock-chips.com (mailing list archive)
Headers show
Series rockchip: add can for RK3576 Soc | expand

Message

Elaine Zhang Dec. 17, 2024, 2:39 a.m. UTC
rk3576 can is a new controller:
Support CAN and CANFD protocol.
Support DMA

There are major differences from the previous rk3568. All errata on the
rk3568 have been fixed and redesigned.

Elaine Zhang (2):
  net: can: rockchip: add can for RK3576 Soc
  arm64: dts: rockchip: rk3576: add can dts nodes

 arch/arm64/boot/dts/rockchip/rk3576.dtsi |   26 +
 drivers/net/can/rockchip/Kconfig         |   10 +
 drivers/net/can/rockchip/Makefile        |    1 +
 drivers/net/can/rockchip/rk3576_canfd.c  | 1349 ++++++++++++++++++++++
 4 files changed, 1386 insertions(+)
 create mode 100644 drivers/net/can/rockchip/rk3576_canfd.c

Comments

Marc Kleine-Budde Dec. 17, 2024, 8:43 a.m. UTC | #1
On 17.12.2024 10:39:06, Elaine Zhang wrote:
> rk3576 can is a new controller:
> Support CAN and CANFD protocol.
> Support DMA
> 
> There are major differences from the previous rk3568. All errata on the
> rk3568 have been fixed and redesigned.

I'm not convinced that we need a second driver for the hardware that has
the erratas fixed. The mainline driver has quirks that allow you to
specify if the IP core needs workarounds for the errata or not.

regards,
Marc