[PATCH RFC 3/4] phy: phy-can-transceiver: Add support for Microchip MCP2542

From: Stefan Wahren

Date: Tue Aug 18 2026 - 05:19:03 EST


The Microchip MCP2542 High-speed CAN transceiver with Sleep mode is a
pin-compatible alternative for the TI TCAN1042.

Signed-off-by: Stefan Wahren <wahrenst@xxxxxxx>
---
drivers/phy/phy-can-transceiver.c | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/drivers/phy/phy-can-transceiver.c b/drivers/phy/phy-can-transceiver.c
index 75dc49e75ca0..1606384d4a0e 100644
--- a/drivers/phy/phy-can-transceiver.c
+++ b/drivers/phy/phy-can-transceiver.c
@@ -96,6 +96,10 @@ static const struct can_transceiver_data tja1057_drvdata = {
.flags = CAN_TRANSCEIVER_SILENT_PRESENT,
};

+static const struct can_transceiver_data mcp2542_drvdata = {
+ .flags = CAN_TRANSCEIVER_STB_PRESENT,
+};
+
static struct phy *can_transceiver_phy_xlate(struct device *dev,
const struct of_phandle_args *args)
{
@@ -238,6 +242,10 @@ static const struct of_device_id can_transceiver_phy_ids[] = {
.compatible = "nxp,tjr1443",
.data = &tcan1043_drvdata
},
+ {
+ .compatible = "microchip,mcp2542",
+ .data = &mcp2542_drvdata
+ },
{ }
};
MODULE_DEVICE_TABLE(of, can_transceiver_phy_ids);
--
2.43.0