diff options
| author | Markus Schneider-Pargmann (TI.com) <msp@baylibre.com> | 2025-10-01 16:30:20 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-10-17 11:02:28 +0200 |
| commit | 04d5826b074e09c69895fc247ce13925bd7a7284 (patch) | |
| tree | 9c0c7f2ea1c6492b2322182ddf48146b68459e5b /include/linux | |
| parent | 73cc2882b644e5302237cc6ee1f8885cfb387245 (diff) | |
can: m_can: Map WoL to device_set_wakeup_enable
In some devices the pins of the m_can module can act as a wakeup source.
This patch helps do that by connecting the PHY_WAKE WoL option to
device_set_wakeup_enable. By marking this device as being wakeup
enabled, this setting can be used by platform code to decide which
sleep or poweroff mode to use.
Also this prepares the driver for the next patch in which the pinctrl
settings are changed depending on the desired wakeup source.
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Kendall Willis <k-willis@ti.com>
Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp@baylibre.com>
Link: https://patch.msgid.link/20251001-topic-mcan-wakeup-source-v6-12-v10-2-4ab508ac5d1e@baylibre.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
