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

Elaine Zhang posted 2 patches 1 year ago
There is a newer version of this series
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
[PATCH 0/2] rockchip: add can for RK3576 Soc
Posted by Elaine Zhang 1 year ago
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

-- 
2.34.1
Re: [PATCH 0/2] rockchip: add can for RK3576 Soc
Posted by Marc Kleine-Budde 1 year ago
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

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |