[3/3] ARM: dts: stm32f429: put can2 in secondary mode

Message ID 20230903203352.658691-4-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • ARM: dts: stm32f429 sync with Linux kernel 6.5
Related show

Commit Message

Dario Binacchi Sept. 3, 2023, 8:33 p.m. UTC
commit 6b443faa313c519db755ff90be32758fd9c66453 Linux upstream.

This is a preparation patch for the upcoming support to manage CAN
peripherals in single configuration.

The addition ensures backwards compatibility.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/all/20230427204540.3126234-3-dario.binacchi@amarulasolutions.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

---

 arch/arm/dts/stm32f429.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Patrice CHOTARD Sept. 26, 2023, 9:06 a.m. UTC | #1
On 9/3/23 22:33, Dario Binacchi wrote:
> commit 6b443faa313c519db755ff90be32758fd9c66453 Linux upstream.
> 
> This is a preparation patch for the upcoming support to manage CAN
> peripherals in single configuration.
> 
> The addition ensures backwards compatibility.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> Link: https://lore.kernel.org/all/20230427204540.3126234-3-dario.binacchi@amarulasolutions.com
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> 
> ---
> 
>  arch/arm/dts/stm32f429.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/dts/stm32f429.dtsi b/arch/arm/dts/stm32f429.dtsi
> index 22225104fca8..8133ea15b036 100644
> --- a/arch/arm/dts/stm32f429.dtsi
> +++ b/arch/arm/dts/stm32f429.dtsi
> @@ -346,6 +346,7 @@
>  			interrupt-names = "tx", "rx0", "rx1", "sce";
>  			resets = <&rcc STM32F4_APB1_RESET(CAN2)>;
>  			clocks = <&rcc 0 STM32F4_APB1_CLOCK(CAN2)>;
> +			st,can-secondary;
>  			st,gcan = <&gcan>;
>  			status = "disabled";
>  		};

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice
Patrice CHOTARD Sept. 26, 2023, 9:27 a.m. UTC | #2
On 9/3/23 22:33, Dario Binacchi wrote:
> commit 6b443faa313c519db755ff90be32758fd9c66453 Linux upstream.
> 
> This is a preparation patch for the upcoming support to manage CAN
> peripherals in single configuration.
> 
> The addition ensures backwards compatibility.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> Link: https://lore.kernel.org/all/20230427204540.3126234-3-dario.binacchi@amarulasolutions.com
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> 
> ---
> 
>  arch/arm/dts/stm32f429.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/dts/stm32f429.dtsi b/arch/arm/dts/stm32f429.dtsi
> index 22225104fca8..8133ea15b036 100644
> --- a/arch/arm/dts/stm32f429.dtsi
> +++ b/arch/arm/dts/stm32f429.dtsi
> @@ -346,6 +346,7 @@
>  			interrupt-names = "tx", "rx0", "rx1", "sce";
>  			resets = <&rcc STM32F4_APB1_RESET(CAN2)>;
>  			clocks = <&rcc 0 STM32F4_APB1_CLOCK(CAN2)>;
> +			st,can-secondary;
>  			st,gcan = <&gcan>;
>  			status = "disabled";
>  		};
Apply on stm32/next

Thanks
Patrice

Patch

diff --git a/arch/arm/dts/stm32f429.dtsi b/arch/arm/dts/stm32f429.dtsi
index 22225104fca8..8133ea15b036 100644
--- a/arch/arm/dts/stm32f429.dtsi
+++ b/arch/arm/dts/stm32f429.dtsi
@@ -346,6 +346,7 @@ 
 			interrupt-names = "tx", "rx0", "rx1", "sce";
 			resets = <&rcc STM32F4_APB1_RESET(CAN2)>;
 			clocks = <&rcc 0 STM32F4_APB1_CLOCK(CAN2)>;
+			st,can-secondary;
 			st,gcan = <&gcan>;
 			status = "disabled";
 		};