diff mbox series

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

Message ID 20240402160825.1516036-3-nmorrisson@phytec.com (mailing list archive)
State New
Headers show
Series Increase CAN max bitrate for phyCORE-AM62x and phyCORE-am64x | expand

Commit Message

Nathan Morrisson April 2, 2024, 4:08 p.m. UTC
The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which
support CAN FD at 8 Mbps.

Increase the maximum bitrate to 8 Mbps.

Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com>
---
 arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Nishanth Menon April 2, 2024, 4:12 p.m. UTC | #1
On 09:08-20240402, Nathan Morrisson wrote:
> The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which
> support CAN FD at 8 Mbps.
> 
> Increase the maximum bitrate to 8 Mbps.
> 
> Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> index 8237b8c815b8..522699ec65e8 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> @@ -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>;
>  	};
>  
> -- 
> 2.25.1
> 

This is better at arch/arm64/boot/dts/ti/k3-am62p-main.dtsi.
Nishanth Menon April 2, 2024, 4:14 p.m. UTC | #2
On 11:12-20240402, Nishanth Menon wrote:
> On 09:08-20240402, Nathan Morrisson wrote:
> > The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which
> > support CAN FD at 8 Mbps.
> > 
> > Increase the maximum bitrate to 8 Mbps.
> > 
> > Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com>
> > ---
> >  arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> > index 8237b8c815b8..522699ec65e8 100644
> > --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> > +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> > @@ -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>;
> >  	};
> >  
> > -- 
> > 2.25.1
> > 
> 



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

Woops.. wrong mail thread. :( Apologies on the spam.
Wadim Egorov April 4, 2024, 5:44 a.m. UTC | #3
Am 02.04.24 um 18:08 schrieb Nathan Morrisson:
> The phyBOARD-Electra has two TCAN1044VDD CAN transceivers which
> support CAN FD at 8 Mbps.
> 
> Increase the maximum bitrate to 8 Mbps.
> 
> Signed-off-by: Nathan Morrisson <nmorrisson@phytec.com>

For both patches

Reviewed-by: Wadim Egorov <w.egorov@phytec.de>


> ---
>   arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> index 8237b8c815b8..522699ec65e8 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
> @@ -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>;
>   	};
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
index 8237b8c815b8..522699ec65e8 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
@@ -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>;
 	};