can: m_can: allow keeping the transceiver running in suspend
authorMartin Hundebøll <martin@geanix.com>
Mon, 13 Nov 2023 13:14:50 +0000 (14:14 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 14 Feb 2024 12:44:02 +0000 (13:44 +0100)
commit4a94d7e31cf5ab33f43ed381c35aabb0d1f2748d
tree5608bdc71416f422884234bd8f5a1a81ff0019b7
parentb00cf4f62969eb7067bc44851de9519953a7ae01
can: m_can: allow keeping the transceiver running in suspend

Add a flag to the device class structure that leaves the chip in a
running state with rx interrupt enabled, so that an m_can device driver
can configure and use the interrupt as a wakeup source.

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c
drivers/net/can/m_can/m_can.h
drivers/net/can/m_can/m_can_pci.c
drivers/net/can/m_can/m_can_platform.c
drivers/net/can/m_can/tcan4x5x-core.c