]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
can: mcp251xfd: add support for XSTBYEN transceiver standby control
authorViken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Sat, 21 Mar 2026 13:50:31 +0000 (19:20 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 1 Apr 2026 07:27:58 +0000 (09:27 +0200)
commitae20301b6119257f533332836c46d8e8824433dd
treef8ae46ee8331e3a002dba5fd432d1ecf4fffe195
parent2f41d7867800a78f339fbec3ab3a64147c33a9f1
can: mcp251xfd: add support for XSTBYEN transceiver standby control

The MCP251xFD has a dedicated transceiver standby control function on
the INT0/GPIO0/XSTBY pin, controlled by the XSTBYEN bit in IOCON.
When enabled, the hardware automatically manages the transceiver
standby state: the pin is driven low when the controller is active
and high when it enters Sleep mode.

Enable this feature when the 'microchip,xstbyen' device tree property
is present.

Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://patch.msgid.link/20260321135031.3107408-3-viken.dadhaniya@oss.qualcomm.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
drivers/net/can/spi/mcp251xfd/mcp251xfd.h