[PATCH v1] net: can: mpfs_can: add Polarfire SoC MSS CAN

Conor Dooley conor at kernel.org
Thu Jul 2 11:27:34 PDT 2026


On Thu, Jul 02, 2026 at 03:34:58PM +0100, Conor Dooley wrote:
> From: Naga Sureshkumar Relli <nagasuresh.relli at microchip.com>
> 
> The Microchip Polarfire SoC has two instances of CAN devices inside the
> MSS block. Add driver to support this MSS CAN.
> 
> Signed-off-by: Naga Sureshkumar Relli <nagasuresh.relli at microchip.com>
> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
> ---
> 
> Hey Marc,
> I've finally got around to sending this driver.
> 
> Unfortunately the author left microchip (which is part of why sending it
> took so long). I've done some mechanical cleanup, but left it mostly
> functionally unchanged mainly because I lack a setup to test it
> thoroughly were I to do so.
> I'm hoping that what's here is by and large okay on that front, and
> maybe that sasiko will point some stuff out if there's stuff I missed.
> I did remove/modify some code, so hopefully I caught all the obviously
> problematic stuff.

Apparently there's a lot that I did not catch, given there's a wad of
complaints from sashiko. Certainly feel free to ignore this version
until I resolve the dozen or so things that it has raised.

Thanks,
Conor.

> 
> The IP that we are using seems to lack an internal reset, so the reset
> for the whole peripheral is used instead, and I wonder if it is
> overeager? Doing ip link set xxx up causes a double reset, for example.
> 
> There's no binding of course, because that's been upstream for quite a
> while!
-------------- 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-riscv/attachments/20260702/1207d3f1/attachment.sig>


More information about the linux-riscv mailing list