* [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051
@ 2025-08-22 9:20 Maud Spierings via B4 Relay
2025-08-22 9:20 ` [PATCH 1/2] " Maud Spierings via B4 Relay
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Maud Spierings via B4 Relay @ 2025-08-22 9:20 UTC (permalink / raw)
To: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul,
Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Aswath Govindraju, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-can, linux-phy, devicetree, linux-kernel, imx,
linux-arm-kernel, Maud Spierings
The Moduline Display mainboard contains 2 TI TCAN1051 CAN transceivers,
properly document these and add them to the devicetree.
Thank Peng Fan for inspiring this patch series.
Signed-off-by: Maud Spierings <maudspierings@gocontroll.com>
---
Maud Spierings (2):
dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051
arm64: dts: freescale: imx8mp-moduline-display-106: Use phys to replace xceiver-supply
.../devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
.../imx8mp-tx8p-ml81-moduline-display-106.dts | 46 +++++++++++-----------
2 files changed, 23 insertions(+), 24 deletions(-)
---
base-commit: 0f4c93f7eb861acab537dbe94441817a270537bf
change-id: 20250822-can_phy3-542f5144c9e5
Best regards,
--
Maud Spierings <maudspierings@gocontroll.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051
2025-08-22 9:20 [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051 Maud Spierings via B4 Relay
@ 2025-08-22 9:20 ` Maud Spierings via B4 Relay
2025-08-22 16:52 ` Conor Dooley
2025-08-22 9:20 ` [PATCH 2/2] arm64: dts: freescale: imx8mp-moduline-display-106: Use phys to replace xceiver-supply Maud Spierings via B4 Relay
2025-09-01 17:08 ` (subset) [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051 Vinod Koul
2 siblings, 1 reply; 5+ messages in thread
From: Maud Spierings via B4 Relay @ 2025-08-22 9:20 UTC (permalink / raw)
To: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul,
Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Aswath Govindraju, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-can, linux-phy, devicetree, linux-kernel, imx,
linux-arm-kernel, Maud Spierings
From: Maud Spierings <maudspierings@gocontroll.com>
TCAN1051-Q1 Automotive Fault Protected CAN Transceiver with CAN FD
It is pretty much identical to the TCAN1042, add the compatible with
fallback on the TCAN1042.
Signed-off-by: Maud Spierings <maudspierings@gocontroll.com>
---
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 4a8c3829d85d3c4a4963750d03567c1c345beb91..138923ffedfeeb6a0b391cae863723ec70bf2c88 100644
--- a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
+++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
@@ -18,6 +18,7 @@ properties:
- items:
- enum:
- microchip,ata6561
+ - ti,tcan1051
- const: ti,tcan1042
- enum:
- ti,tcan1042
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] arm64: dts: freescale: imx8mp-moduline-display-106: Use phys to replace xceiver-supply
2025-08-22 9:20 [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051 Maud Spierings via B4 Relay
2025-08-22 9:20 ` [PATCH 1/2] " Maud Spierings via B4 Relay
@ 2025-08-22 9:20 ` Maud Spierings via B4 Relay
2025-09-01 17:08 ` (subset) [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051 Vinod Koul
2 siblings, 0 replies; 5+ messages in thread
From: Maud Spierings via B4 Relay @ 2025-08-22 9:20 UTC (permalink / raw)
To: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul,
Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Aswath Govindraju, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam
Cc: linux-can, linux-phy, devicetree, linux-kernel, imx,
linux-arm-kernel, Maud Spierings
From: Maud Spierings <maudspierings@gocontroll.com>
Fix the can tranceivers to actually use the new phy description instead
of the regulator tweak.
Signed-off-by: Maud Spierings <maudspierings@gocontroll.com>
---
.../imx8mp-tx8p-ml81-moduline-display-106.dts | 46 +++++++++++-----------
1 file changed, 22 insertions(+), 24 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts b/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts
index afd886dd590ff6f125d1d0e91aa71ae0063b5fd1..88ad422c27603b77c1099f2efe61953999c35f77 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-tx8p-ml81-moduline-display-106.dts
@@ -36,6 +36,24 @@ external-sensor-supply {
vout-supply = <®_5v0_sensor>;
};
+ flexcan1_phy: can-phy0 {
+ compatible = "ti,tcan1051", "ti,tcan1042";
+ #phy-cells = <0>;
+ pinctrl-0 = <&pinctrl_flexcan1_stby>;
+ pinctrl-names = "default";
+ max-bitrate = <5000000>;
+ standby-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
+ };
+
+ flexcan2_phy: can-phy1 {
+ compatible = "ti,tcan1051", "ti,tcan1042";
+ #phy-cells = <0>;
+ pinctrl-0 = <&pinctrl_flexcan2_stby>;
+ pinctrl-names = "default";
+ max-bitrate = <5000000>;
+ standby-gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>;
+ };
+
reg_1v8_per: regulator-1v8-per {
compatible = "regulator-fixed";
pinctrl-0 = <&pinctrl_reg_1v8>;
@@ -85,26 +103,6 @@ reg_6v4: regulator-6v4 {
regulator-name = "6v4";
};
- reg_can1_stby: regulator-can1-stby {
- compatible = "regulator-fixed";
- pinctrl-0 = <&pinctrl_flexcan1_reg>;
- pinctrl-names = "default";
- regulator-max-microvolt = <3300000>;
- regulator-min-microvolt = <3300000>;
- regulator-name = "can1-stby";
- gpio = <&gpio4 3 GPIO_ACTIVE_LOW>;
- };
-
- reg_can2_stby: regulator-can2-stby {
- compatible = "regulator-fixed";
- pinctrl-0 = <&pinctrl_flexcan2_reg>;
- pinctrl-names = "default";
- regulator-max-microvolt = <3300000>;
- regulator-min-microvolt = <3300000>;
- regulator-name = "can2-stby";
- gpio = <&gpio5 9 GPIO_ACTIVE_LOW>;
- };
-
sound {
compatible = "simple-audio-card";
simple-audio-card,bitclock-master = <&cpudai>;
@@ -180,16 +178,16 @@ adc@2 {
};
&flexcan1 {
+ phys = <&flexcan1_phy>;
pinctrl-0 = <&pinctrl_flexcan1>;
pinctrl-names = "default";
- xceiver-supply = <®_can1_stby>;
status = "okay";
};
&flexcan2 {
+ phys = <&flexcan2_phy>;
pinctrl-0 = <&pinctrl_flexcan2>;
pinctrl-names = "default";
- xceiver-supply = <®_can2_stby>;
status = "okay";
};
@@ -278,7 +276,7 @@ MX8MP_IOMUXC_SPDIF_TX__CAN1_TX
>;
};
- pinctrl_flexcan1_reg: flexcan1reggrp {
+ pinctrl_flexcan1_stby: flexcan1stbygrp {
fsl,pins = <
MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03
(MX8MP_DSE_X2 | MX8MP_FSEL_FAST | MX8MP_PULL_UP | MX8MP_PULL_ENABLE)
@@ -294,7 +292,7 @@ MX8MP_IOMUXC_UART3_RXD__CAN2_TX
>;
};
- pinctrl_flexcan2_reg: flexcan2reggrp {
+ pinctrl_flexcan2_stby: flexcan2stbygrp {
fsl,pins = <
MX8MP_IOMUXC_ECSPI1_SS0__GPIO5_IO09
(MX8MP_DSE_X2 | MX8MP_FSEL_FAST | MX8MP_PULL_UP | MX8MP_PULL_ENABLE)
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051
2025-08-22 9:20 ` [PATCH 1/2] " Maud Spierings via B4 Relay
@ 2025-08-22 16:52 ` Conor Dooley
0 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2025-08-22 16:52 UTC (permalink / raw)
To: maudspierings
Cc: Marc Kleine-Budde, Vincent Mailhol, Vinod Koul,
Kishon Vijay Abraham I, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Aswath Govindraju, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, linux-can, linux-phy,
devicetree, linux-kernel, imx, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 52 bytes --]
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: (subset) [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051
2025-08-22 9:20 [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051 Maud Spierings via B4 Relay
2025-08-22 9:20 ` [PATCH 1/2] " Maud Spierings via B4 Relay
2025-08-22 9:20 ` [PATCH 2/2] arm64: dts: freescale: imx8mp-moduline-display-106: Use phys to replace xceiver-supply Maud Spierings via B4 Relay
@ 2025-09-01 17:08 ` Vinod Koul
2 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2025-09-01 17:08 UTC (permalink / raw)
To: Marc Kleine-Budde, Vincent Mailhol, Kishon Vijay Abraham I,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Aswath Govindraju,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
Maud Spierings
Cc: linux-can, linux-phy, devicetree, linux-kernel, imx,
linux-arm-kernel
On Fri, 22 Aug 2025 11:20:04 +0200, Maud Spierings wrote:
> The Moduline Display mainboard contains 2 TI TCAN1051 CAN transceivers,
> properly document these and add them to the devicetree.
>
> Thank Peng Fan for inspiring this patch series.
>
>
Applied, thanks!
[1/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051
commit: 3d13e378d465e8ae0be1697005342055b07eaf11
Best regards,
--
~Vinod
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-09-01 17:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-22 9:20 [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051 Maud Spierings via B4 Relay
2025-08-22 9:20 ` [PATCH 1/2] " Maud Spierings via B4 Relay
2025-08-22 16:52 ` Conor Dooley
2025-08-22 9:20 ` [PATCH 2/2] arm64: dts: freescale: imx8mp-moduline-display-106: Use phys to replace xceiver-supply Maud Spierings via B4 Relay
2025-09-01 17:08 ` (subset) [PATCH 0/2] dt-bindings: phy: ti,tcan104x-can: Document TI TCAN1051 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).