Subject: Re: [PATCH 2/6] phy: phy-can-transceiver: Add support for
NXP TJA1051
Hi Peng,
quoted
The TJA1051 is a high-speed CAN transceiver which is a pin-
compatible
quoted
alternative for TI TCAN1043 with Sleep mode supported.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
drivers/phy/phy-can-transceiver.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/phy/phy-can-transceiver.c
b/drivers/phy/phy-can-transceiver.c
index
f59caff4b3d4c267feca4220bf1547b6fad08f95..b49371a1272cd8a25b
5e2271586b
quoted
756103c64f0a 100644
--- a/drivers/phy/phy-can-transceiver.c
+++ b/drivers/phy/phy-can-transceiver.c
@@ -85,6 +85,10 @@ static const struct of_device_id
can_transceiver_phy_ids[] = {quoted
.compatible = "ti,tcan1043",
.data = &tcan1043_drvdata
},
+ {
+ .compatible = "nxp,tja1051",
+ .data = &tcan1043_drvdata
+ },
{
.compatible = "nxp,tjr1443",
.data = &tcan1043_drvdata
--
2.37.1
Isn't this unnecessary as it has the ti,tcan1043 fallback compatible in
the bindings? I'm still learning a lot so I might be wrong.
Oops. This patch is not needed and should be dropped.
Thanks,
Peng.
Kind regards,
Maud