Re: [PATCH 0/7] can: m_can: fix pm_runtime and CAN state handling

From: Marc Kleine-Budde
Date: Wed Aug 13 2025 - 05:07:16 EST


On 13.08.2025 10:17:49, Philipp Zabel wrote:
> On Di, 2025-08-12 at 19:36 +0200, Marc Kleine-Budde wrote:
> > The first patch fixes a pm_runtime imbalance in the m_can_platform
> > driver.
> >
> > The rest of this series fixes the CAN state handling in the m_can
> > driver:
> > - add the missing state transition from from Error Warning back to
> > Error Active (Patches 2+3)
> > - address the fact that in some SoCs (observed on the STM32MP15) the
> > M_CAN IP core keeps the CAN state and CAN error counters over an
> > internal reset cycle. Set the correct CAN state during ifup and
> > system resume (Patches 4+5)
> > - add support for optional shared external reset, to properly reset
> > the IP core (Patches 6+7)
>
> Should this declare a dependency on
> https://lore.kernel.org/all/20250807-stm32mp15-m_can-add-reset-v2-1-f69ebbfced1f@xxxxxxxxxxxxxx/
> or is that already merged?

Still open, reference added to the cover letter.

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 |

Attachment: signature.asc
Description: PGP signature