linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver
@ 2023-01-18 10:39 Geert Uytterhoeven
  2023-01-18 10:39 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document NXP TJR1443 Geert Uytterhoeven
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2023-01-18 10:39 UTC (permalink / raw)
  To: Wolfgang Grandegger, Marc Kleine-Budde, Vinod Koul,
	Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
	Aswath Govindraju
  Cc: Wolfram Sang, linux-can, linux-phy, devicetree,
	linux-renesas-soc, Geert Uytterhoeven

	Hi all,

The NXP TJR1443 High-speed CAN transceiver with Sleep mode is a
pin-compatible alternative for the TI TCAN1043.  Hence this patch series
adds support for it to the existing TI TCAN1043 DT bindings and to the
generic CAN Transceiver PHY driver.

This has been tested on the Renesas White-Hawk development board.

Thanks for your comments!

Geert Uytterhoeven (2):
  dt-bindings: phy: ti,tcan104x-can: Document NXP TJR1443
  phy: phy-can-transceiver: Add support for NXP TJR1443

 Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
 drivers/phy/phy-can-transceiver.c                          | 4 ++++
 2 files changed, 5 insertions(+)

-- 
2.34.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document NXP TJR1443
  2023-01-18 10:39 [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Geert Uytterhoeven
@ 2023-01-18 10:39 ` Geert Uytterhoeven
  2023-01-18 10:39 ` [PATCH 2/2] phy: phy-can-transceiver: Add support for " Geert Uytterhoeven
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2023-01-18 10:39 UTC (permalink / raw)
  To: Wolfgang Grandegger, Marc Kleine-Budde, Vinod Koul,
	Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
	Aswath Govindraju
  Cc: Wolfram Sang, linux-can, linux-phy, devicetree,
	linux-renesas-soc, Geert Uytterhoeven

The NXP TJR1443 High-speed CAN transceiver with Sleep mode is a
pin-compatible alternative for the TI TCAN1043.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
index 02b76f15e7170231..237295b2b5a86a21 100644
--- a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
+++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
@@ -15,6 +15,7 @@ properties:
 
   compatible:
     enum:
+      - nxp,tjr1443
       - ti,tcan1042
       - ti,tcan1043
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] phy: phy-can-transceiver: Add support for NXP TJR1443
  2023-01-18 10:39 [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Geert Uytterhoeven
  2023-01-18 10:39 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document NXP TJR1443 Geert Uytterhoeven
@ 2023-01-18 10:39 ` Geert Uytterhoeven
  2023-01-18 16:49 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document " Rob Herring
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2023-01-18 10:39 UTC (permalink / raw)
  To: Wolfgang Grandegger, Marc Kleine-Budde, Vinod Koul,
	Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
	Aswath Govindraju
  Cc: Wolfram Sang, linux-can, linux-phy, devicetree,
	linux-renesas-soc, Geert Uytterhoeven

The NXP TJR1443 High-speed CAN transceiver with Sleep mode is a
pin-compatible alternative for the TI TCAN1043.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 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 ce511ad5d3690763..5487b9dd1ead1aca 100644
--- a/drivers/phy/phy-can-transceiver.c
+++ b/drivers/phy/phy-can-transceiver.c
@@ -84,6 +84,10 @@ static const struct of_device_id can_transceiver_phy_ids[] = {
 		.compatible = "ti,tcan1043",
 		.data = &tcan1043_drvdata
 	},
+	{
+		.compatible = "nxp,tjr1443",
+		.data = &tcan1043_drvdata
+	},
 	{ }
 };
 MODULE_DEVICE_TABLE(of, can_transceiver_phy_ids);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document NXP TJR1443
  2023-01-18 10:39 [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Geert Uytterhoeven
  2023-01-18 10:39 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document NXP TJR1443 Geert Uytterhoeven
  2023-01-18 10:39 ` [PATCH 2/2] phy: phy-can-transceiver: Add support for " Geert Uytterhoeven
@ 2023-01-18 16:49 ` Rob Herring
  2023-01-18 18:55 ` [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Marc Kleine-Budde
  2023-01-20  7:12 ` Vinod Koul
  4 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2023-01-18 16:49 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Wolfgang Grandegger, Wolfram Sang, linux-renesas-soc,
	Rob Herring, Aswath Govindraju, Marc Kleine-Budde, devicetree,
	Krzysztof Kozlowski, linux-can, linux-phy, Vinod Koul,
	Kishon Vijay Abraham I


On Wed, 18 Jan 2023 11:39:23 +0100, Geert Uytterhoeven wrote:
> The NXP TJR1443 High-speed CAN transceiver with Sleep mode is a
> pin-compatible alternative for the TI TCAN1043.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver
  2023-01-18 10:39 [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Geert Uytterhoeven
                   ` (2 preceding siblings ...)
  2023-01-18 16:49 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document " Rob Herring
@ 2023-01-18 18:55 ` Marc Kleine-Budde
  2023-01-20  7:12 ` Vinod Koul
  4 siblings, 0 replies; 6+ messages in thread
From: Marc Kleine-Budde @ 2023-01-18 18:55 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Wolfgang Grandegger, Vinod Koul, Kishon Vijay Abraham I,
	Rob Herring, Krzysztof Kozlowski, Aswath Govindraju,
	Wolfram Sang, linux-can, linux-phy, devicetree,
	linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

On 18.01.2023 11:39:22, Geert Uytterhoeven wrote:
> 	Hi all,
> 
> The NXP TJR1443 High-speed CAN transceiver with Sleep mode is a
> pin-compatible alternative for the TI TCAN1043.  Hence this patch series
> adds support for it to the existing TI TCAN1043 DT bindings and to the
> generic CAN Transceiver PHY driver.
> 
> This has been tested on the Renesas White-Hawk development board.
> 
> Thanks for your comments!

For both patches:

Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver
  2023-01-18 10:39 [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Geert Uytterhoeven
                   ` (3 preceding siblings ...)
  2023-01-18 18:55 ` [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Marc Kleine-Budde
@ 2023-01-20  7:12 ` Vinod Koul
  4 siblings, 0 replies; 6+ messages in thread
From: Vinod Koul @ 2023-01-20  7:12 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Wolfgang Grandegger, Marc Kleine-Budde, Kishon Vijay Abraham I,
	Rob Herring, Krzysztof Kozlowski, Aswath Govindraju,
	Wolfram Sang, linux-can, linux-phy, devicetree,
	linux-renesas-soc

On 18-01-23, 11:39, Geert Uytterhoeven wrote:
> 	Hi all,
> 
> The NXP TJR1443 High-speed CAN transceiver with Sleep mode is a
> pin-compatible alternative for the TI TCAN1043.  Hence this patch series
> adds support for it to the existing TI TCAN1043 DT bindings and to the
> generic CAN Transceiver PHY driver.

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-20  7:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-18 10:39 [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Geert Uytterhoeven
2023-01-18 10:39 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document NXP TJR1443 Geert Uytterhoeven
2023-01-18 10:39 ` [PATCH 2/2] phy: phy-can-transceiver: Add support for " Geert Uytterhoeven
2023-01-18 16:49 ` [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document " Rob Herring
2023-01-18 18:55 ` [PATCH 0/2] phy: Add support for NXP TJR1443 CAN Transceiver Marc Kleine-Budde
2023-01-20  7:12 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).