]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
phy: phy-can-transceiver: Add dual channel support for TJA1048
authorPeng Fan <peng.fan@nxp.com>
Wed, 1 Oct 2025 13:22:34 +0000 (21:22 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Nov 2025 14:41:15 +0000 (20:11 +0530)
commit6e9fe9409e10ed25b43928062832037752630979
tree878f9c3f37e812c0dafd55e10e6545173f628477
parentc77464bd9b4155891a135e51f8e916e1ab94fc14
phy: phy-can-transceiver: Add dual channel support for TJA1048

- Introduce new flag CAN_TRANSCEIVER_DUAL_CH to indicate the phy has two
  channels.
- Alloc a phy for each channel
- Support TJA1048 which is a dual high-speed CAN transceiver with sleep
  mode supported.
- Add can_transceiver_phy_xlate for parsing phy

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20251001-can-v7-3-fad29efc3884@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-can-transceiver.c