[PATCH 0/3] can: amlogic: add support for Amlogic A9 CAN-FD controller
Marc Kleine-Budde
mkl at pengutronix.de
Mon Nov 30 00:30:09 PST 2026
On 27.11.2026 12:09:54, Zelong Dong wrote:
> Yes, A9 CAN Bus Controller is base on FlexCAN, but some registers are
> appended, and not for NXP chip,
Was this done by amlogic or is this a newer FlexCAN core?
> #define CAN_VERSION 0x3800
> #define CAN_TOP_CTRL 0x3804
> #define CAN_DMA_CFG 0x3808
> #define CAN_TMTIK_CFG 0x380C
> #define CAN_TWRAP_INT_CLR 0x3810
> /* 0x3814 - 0x3818 */
> #define CAN_TIMESTAMP 0x381C
> #define CAN_WARN_INT_STS 0x3820
> #define CAN_MB_INT_STS0 0x3824
> #define CAN_MB_INT_STS1 0x3828
> #define CAN_MB_INT_STS2 0x382C
> #define CAN_MB_INT_STS3 0x3830
> #define CAN_STS_REG 0x3834
> #define CAN_ECC_ERR_ADDR 0x3838
>
> In my opinion, FlexCAN driver is only for NXP chip.
No - spacemit K1 support is currently added.
> Do you think I should update FlexCAN driver rather than a new driver?
Yes, please go ahead.
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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261130/e73ff5e8/attachment.sig>
More information about the linux-arm-kernel
mailing list