OSDN Git Service

can: flexcan: add mcf5441x support
authorAngelo Dureghello <angelo@kernel-space.org>
Fri, 2 Jul 2021 09:48:41 +0000 (11:48 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 25 Jul 2021 09:36:29 +0000 (11:36 +0200)
commitd9cead75b1c66b4660b4f87ff339234042d7c6a5
treec71192bb99fca967e2c4bf1dc7249fe6d484e994
parent896e7f3e7424d6cc1436172740aa76ebb2c1b248
can: flexcan: add mcf5441x support

Add flexcan support for NXP ColdFire mcf5441x family.

This flexcan module is quite similar to imx6 flexcan module, but
with some exceptions:

- 3 separate interrupt sources, MB, BOFF and ERR,
- implements 16 mb only,
- m68k architecture is not supporting devicetrees, so a
  platform data check/case has been added,
- ColdFire is m68k, so big-endian cpu, with a little-endian flexcan
  module.

Link: https://lore.kernel.org/r/20210702094841.327679-5-angelo@kernel-space.org
Signed-off-by: Angelo Dureghello <angelo@kernel-space.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c