can: tcan4x5x: support resuming from rx interrupt signal
authorMartin Hundebøll <martin@geanix.com>
Mon, 13 Nov 2023 13:14:51 +0000 (14:14 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 14 Feb 2024 12:44:02 +0000 (13:44 +0100)
commitb6b640c04446887486edd76b215f81668c7e6005
treed77f71648a4a6c018f89e03c3a169abe3658adcb
parent4a94d7e31cf5ab33f43ed381c35aabb0d1f2748d
can: tcan4x5x: support resuming from rx interrupt signal

Implement the "wakeup-source" device tree property, so the chip is left
running when suspending, and its rx interrupt is used as a wakeup source
to resume operation.

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