* [PATCH 0/2] Add support for TI TCAN1046 CAN transceiver @ 2025-12-08 15:50 Prabhakar 2025-12-08 15:50 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 Prabhakar 2025-12-08 15:50 ` [PATCH 2/2] phy: phy-can-transceiver: Add support for " Prabhakar 0 siblings, 2 replies; 5+ messages in thread From: Prabhakar @ 2025-12-08 15:50 UTC (permalink / raw) To: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul, Neil Armstrong, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aswath Govindraju Cc: linux-can, linux-phy, devicetree, linux-kernel, linux-renesas-soc, Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Hi All, This patch series adds support for the TI TCAN1046 automotive CAN transceiver. The TCAN1046 provides dual high-speed CAN channels and includes STB1/2 control lines. Cheers, Prabhakar Lad Prabhakar (2): dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 phy: phy-can-transceiver: Add support for TI TCAN1046 Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 5 ++++- drivers/phy/phy-can-transceiver.c | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) -- 2.52.0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 2025-12-08 15:50 [PATCH 0/2] Add support for TI TCAN1046 CAN transceiver Prabhakar @ 2025-12-08 15:50 ` Prabhakar 2025-12-08 16:00 ` Frank Li 2025-12-08 15:50 ` [PATCH 2/2] phy: phy-can-transceiver: Add support for " Prabhakar 1 sibling, 1 reply; 5+ messages in thread From: Prabhakar @ 2025-12-08 15:50 UTC (permalink / raw) To: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul, Neil Armstrong, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aswath Govindraju Cc: linux-can, linux-phy, devicetree, linux-kernel, linux-renesas-soc, Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Document the TI TCAN1046 automotive CAN transceiver. The TCAN1046 provides dual high-speed CAN channels and includes STB1/2 control lines. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> --- Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml index c686d06f5f56..c53c4f703102 100644 --- a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml +++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml @@ -23,6 +23,7 @@ properties: - enum: - ti,tcan1042 - ti,tcan1043 + - ti,tcan1046 - nxp,tja1048 - nxp,tja1051 - nxp,tja1057 @@ -84,7 +85,9 @@ allOf: properties: compatible: contains: - const: nxp,tja1048 + enum: + - ti,tcan1046 + - nxp,tja1048 then: properties: '#phy-cells': -- 2.52.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 2025-12-08 15:50 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 Prabhakar @ 2025-12-08 16:00 ` Frank Li 2025-12-08 16:08 ` Lad, Prabhakar 0 siblings, 1 reply; 5+ messages in thread From: Frank Li @ 2025-12-08 16:00 UTC (permalink / raw) To: Prabhakar Cc: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul, Neil Armstrong, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aswath Govindraju, linux-can, linux-phy, devicetree, linux-kernel, linux-renesas-soc, Biju Das, Fabrizio Castro, Lad Prabhakar On Mon, Dec 08, 2025 at 03:50:18PM +0000, Prabhakar wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Document the TI TCAN1046 automotive CAN transceiver. The TCAN1046 > provides dual high-speed CAN channels and includes STB1/2 control > lines. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > --- > Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > index c686d06f5f56..c53c4f703102 100644 > --- a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > +++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > @@ -23,6 +23,7 @@ properties: > - enum: > - ti,tcan1042 > - ti,tcan1043 > + - ti,tcan1046 according to patch2, which is the compatible as nxp,tja1048. why not allow ti,tcan1046 fallback to nxp,tja1048. So needn't change driver code. Frank > - nxp,tja1048 > - nxp,tja1051 > - nxp,tja1057 > @@ -84,7 +85,9 @@ allOf: > properties: > compatible: > contains: > - const: nxp,tja1048 > + enum: > + - ti,tcan1046 > + - nxp,tja1048 > then: > properties: > '#phy-cells': > -- > 2.52.0 > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 2025-12-08 16:00 ` Frank Li @ 2025-12-08 16:08 ` Lad, Prabhakar 0 siblings, 0 replies; 5+ messages in thread From: Lad, Prabhakar @ 2025-12-08 16:08 UTC (permalink / raw) To: Frank Li Cc: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul, Neil Armstrong, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aswath Govindraju, linux-can, linux-phy, devicetree, linux-kernel, linux-renesas-soc, Biju Das, Fabrizio Castro, Lad Prabhakar Hi Frank, Thank you for the review. On Mon, Dec 8, 2025 at 4:01 PM Frank Li <Frank.li@nxp.com> wrote: > > On Mon, Dec 08, 2025 at 03:50:18PM +0000, Prabhakar wrote: > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > Document the TI TCAN1046 automotive CAN transceiver. The TCAN1046 > > provides dual high-speed CAN channels and includes STB1/2 control > > lines. > > > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > --- > > Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > > index c686d06f5f56..c53c4f703102 100644 > > --- a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > > +++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml > > @@ -23,6 +23,7 @@ properties: > > - enum: > > - ti,tcan1042 > > - ti,tcan1043 > > + - ti,tcan1046 > > according to patch2, which is the compatible as nxp,tja1048. why not allow > ti,tcan1046 fallback to nxp,tja1048. > > So needn't change driver code. > Agreed, I'll do this change and send a v2. Cheers, Prabhakar > Frank > > - nxp,tja1048 > > - nxp,tja1051 > > - nxp,tja1057 > > @@ -84,7 +85,9 @@ allOf: > > properties: > > compatible: > > contains: > > - const: nxp,tja1048 > > + enum: > > + - ti,tcan1046 > > + - nxp,tja1048 > > then: > > properties: > > '#phy-cells': > > -- > > 2.52.0 > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] phy: phy-can-transceiver: Add support for TI TCAN1046 2025-12-08 15:50 [PATCH 0/2] Add support for TI TCAN1046 CAN transceiver Prabhakar 2025-12-08 15:50 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 Prabhakar @ 2025-12-08 15:50 ` Prabhakar 1 sibling, 0 replies; 5+ messages in thread From: Prabhakar @ 2025-12-08 15:50 UTC (permalink / raw) To: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul, Neil Armstrong, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aswath Govindraju Cc: linux-can, linux-phy, devicetree, linux-kernel, linux-renesas-soc, Prabhakar, Biju Das, Fabrizio Castro, Lad Prabhakar From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Add support for the TI TCAN1046 automotive CAN transceiver. The TCAN1046 provides dual CAN channels and exposes STB1/2 control pins similar to the NXP TJA1048. Reuse the existing `tja1048_drvdata` configuration for TCAN1046. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.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 330356706ad7..41026bc2410a 100644 --- a/drivers/phy/phy-can-transceiver.c +++ b/drivers/phy/phy-can-transceiver.c @@ -106,6 +106,10 @@ static const struct of_device_id can_transceiver_phy_ids[] = { .compatible = "ti,tcan1043", .data = &tcan1043_drvdata }, + { + .compatible = "ti,tcan1046", + .data = &tja1048_drvdata + }, { .compatible = "nxp,tja1048", .data = &tja1048_drvdata -- 2.52.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-12-08 16:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-12-08 15:50 [PATCH 0/2] Add support for TI TCAN1046 CAN transceiver Prabhakar 2025-12-08 15:50 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1046 Prabhakar 2025-12-08 16:00 ` Frank Li 2025-12-08 16:08 ` Lad, Prabhakar 2025-12-08 15:50 ` [PATCH 2/2] phy: phy-can-transceiver: Add support for " Prabhakar
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox