Skip to contentSkip to conversation

Increase CAN max bitrate for phyCORE-AM62x and phyCORE-am64x

PATCH Applied Nathan Morrisson 3 participants 7 messages Apr 2, 2024 – Apr 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover Increase CAN max bitrate for phyCORE-AM62x and phyCORE-am64x

Nathan Morrisson (2):
arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Increase CAN max bitrate
arm64: dts: ti: k3-am642-phyboard-electra-rdk: Increase CAN max
bitrate

 arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts    | 2 +-
 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/2 arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Increase CAN max bitrate

The phyBOARD-Lyra has one TCAN1044VDD CAN transceiver which supports CAN FD at 8 Mbps.

Increase the maximum bitrate to 8 Mbps.

---
 arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts +1 -1
index a83a90497857..e225d76d02c8 100644
@@ -31,7 +31,7 @@ aliases {
 	can_tc1: can-phy0 {
 		compatible = "ti,tcan1042";
 		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
 		standby-gpios = <&gpio_exp 1 GPIO_ACTIVE_HIGH>;
 	};
 
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/2 arm64: dts: ti: k3-am642-phyboard-electra-rdk: Increase CAN max bitrate

In reply to Nathan Morrisson

The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which support CAN FD at 8 Mbps.

Increase the maximum bitrate to 8 Mbps.

---
 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +2 -2
index 8237b8c815b8..522699ec65e8 100644
@@ -42,7 +42,7 @@ can_tc1: can-phy0 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&can_tc1_pins_default>;
 		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
 		standby-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>;
 	};
 
@@ -51,7 +51,7 @@ can_tc2: can-phy1 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&can_tc2_pins_default>;
 		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
 		standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>;
 	};
 
Signature · 1 line
2.25.1
maintainer
#3 lore raw

Re: [PATCH 2/2] arm64: dts: ti: k3-am642-phyboard-electra-rdk: Increase CAN max bitrate

Quoted 35 lines · Nathan Morrisson

The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which support CAN FD at 8 Mbps.

Increase the maximum bitrate to 8 Mbps.

---
 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +2 -2
index 8237b8c815b8..522699ec65e8 100644
@@ -42,7 +42,7 @@ can_tc1: can-phy0 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&can_tc1_pins_default>;
 		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
 		standby-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>;
 	};
 
@@ -51,7 +51,7 @@ can_tc2: can-phy1 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&can_tc2_pins_default>;
 		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
 		standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>;
 	};
 
Signature · 1 line
2.25.1

This is better at arch/arm64/boot/dts/ti/k3-am62p-main.dtsi.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
maintainer
#4 lore raw

Re: [PATCH 2/2] arm64: dts: ti: k3-am642-phyboard-electra-rdk: Increase CAN max bitrate

Quoted 33 lines · Nishanth Menon
Quoted 32 lines · Nathan Morrisson

The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which support CAN FD at 8 Mbps.

Increase the maximum bitrate to 8 Mbps.

---
 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +2 -2
index 8237b8c815b8..522699ec65e8 100644
@@ -42,7 +42,7 @@ can_tc1: can-phy0 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&can_tc1_pins_default>;
 		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
 		standby-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>;
 	};
 
@@ -51,7 +51,7 @@ can_tc2: can-phy1 {
 		pinctrl-names = "default";
 		pinctrl-0 = <&can_tc2_pins_default>;
 		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
 		standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>;
 	};
 
Quoted 9 lines
Quoted 3 lines
Signature · 1 line
2.25.1

This is better at arch/arm64/boot/dts/ti/k3-am62p-main.dtsi.

Woops.. wrong mail thread. :( Apologies on the spam.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
Reviewed-by on v1 2/2
#5 lore raw

Re: [PATCH 2/2] arm64: dts: ti: k3-am642-phyboard-electra-rdk: Increase CAN max bitrate

In reply to Nathan Morrisson

Am 02.04.24 um 18:08 schrieb Nathan Morrisson:

Quoted 6 lines

The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which support CAN FD at 8 Mbps.

Increase the maximum bitrate to 8 Mbps.

For both patches

Quoted 18 lines
---
  arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +1 -1
index 8237b8c815b8..522699ec65e8 100644
@@ -42,7 +42,7 @@ can_tc1: can-phy0 {
  		pinctrl-names = "default";
  		pinctrl-0 = <&can_tc1_pins_default>;
  		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
  		standby-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>;
  	};
 

arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts can_tc2: can-phy1 { · line 57

Quoted 8 lines
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts +1 -1
@@ -51,7 +51,7 @@ can_tc2: can-phy1 {
  		pinctrl-names = "default";
  		pinctrl-0 = <&can_tc2_pins_default>;
  		#phy-cells = <0>;
-		max-bitrate = <5000000>;
+		max-bitrate = <8000000>;
  		standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>;
  	};
 

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer Applied
#6 lore raw
In reply to Nathan Morrisson

Hi Nathan Morrisson,

Quoted 10 lines · Nathan Morrisson

Nathan Morrisson (2):
arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Increase CAN max bitrate
arm64: dts: ti: k3-am642-phyboard-electra-rdk: Increase CAN max
bitrate

arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts | 2 +-

 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

[...]

I have applied the following to branch ti-k3-dts-next on [1]. Thank you!

[1/2] arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Increase CAN max bitrate

      commit: 3de136cd0d601e6051aae86903e0e83077a436c3
[2/2] arm64: dts: ti: k3-am642-phyboard-electra-rdk: Increase CAN max bitrate
      commit: f360d7f8bb7b115103017f406aa90605781fb05c

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D