diff mbox series

ARM: dts: am437x-l4: fix compatible for cpsw switch dt node

Message ID 20201001192023.6606-1-grygorii.strashko@ti.com
State New
Headers show
Series ARM: dts: am437x-l4: fix compatible for cpsw switch dt node | expand

Commit Message

Grygorii Strashko Oct. 1, 2020, 7:20 p.m. UTC
Fix compatible the new CPSW switchdev DT node to avoid probing of legacy
CPSW driver which fails:
[    2.781009] cpsw 4a100000.switch: invalid resource

Fixes: 7bf8f37aea82 ("ARM: dts: am437x-l4: add dt node for new cpsw switchdev driver")
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
Hi Tony,

This is follow up patch for series [1], not critical.
[1] https://lore.kernel.org/patchwork/cover/1304085/

 arch/arm/boot/dts/am437x-l4.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Grygorii Strashko Oct. 29, 2020, 7:13 p.m. UTC | #1
Hi Tony,

On 01/10/2020 22:20, Grygorii Strashko wrote:
> Fix compatible the new CPSW switchdev DT node to avoid probing of legacy
> CPSW driver which fails:
> [    2.781009] cpsw 4a100000.switch: invalid resource
> 
> Fixes: 7bf8f37aea82 ("ARM: dts: am437x-l4: add dt node for new cpsw switchdev driver")
> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
> ---
> Hi Tony,
> 
> This is follow up patch for series [1], not critical.
> [1] https://lore.kernel.org/patchwork/cover/1304085/

Could this be merged?

> 
>   arch/arm/boot/dts/am437x-l4.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/am437x-l4.dtsi b/arch/arm/boot/dts/am437x-l4.dtsi
> index d82a6eeaf1b3..3643e505e582 100644
> --- a/arch/arm/boot/dts/am437x-l4.dtsi
> +++ b/arch/arm/boot/dts/am437x-l4.dtsi
> @@ -522,7 +522,7 @@
>   			ranges = <0x0 0x100000 0x8000>;
>   
>   			mac_sw: switch@0 {
> -				compatible = "ti,am4372-cpsw","ti,cpsw-switch";
> +				compatible = "ti,am4372-cpsw-switch", "ti,cpsw-switch";
>   				reg = <0x0 0x4000>;
>   				ranges = <0 0 0x4000>;
>   				clocks = <&cpsw_125mhz_gclk>, <&dpll_clksel_mac_clk>;
>
Tony Lindgren Nov. 10, 2020, 12:17 p.m. UTC | #2
* Grygorii Strashko <grygorii.strashko@ti.com> [201029 19:13]:
> Hi Tony,

> 

> On 01/10/2020 22:20, Grygorii Strashko wrote:

> > Fix compatible the new CPSW switchdev DT node to avoid probing of legacy

> > CPSW driver which fails:

> > [    2.781009] cpsw 4a100000.switch: invalid resource

> > 

> > Fixes: 7bf8f37aea82 ("ARM: dts: am437x-l4: add dt node for new cpsw switchdev driver")

> > Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>

> > ---

> > Hi Tony,

> > 

> > This is follow up patch for series [1], not critical.

> > [1] https://lore.kernel.org/patchwork/cover/1304085/

> 

> Could this be merged?


Sorry for the delay, applying into fixes.

Thanks,

Tony
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/am437x-l4.dtsi b/arch/arm/boot/dts/am437x-l4.dtsi
index d82a6eeaf1b3..3643e505e582 100644
--- a/arch/arm/boot/dts/am437x-l4.dtsi
+++ b/arch/arm/boot/dts/am437x-l4.dtsi
@@ -522,7 +522,7 @@ 
 			ranges = <0x0 0x100000 0x8000>;
 
 			mac_sw: switch@0 {
-				compatible = "ti,am4372-cpsw","ti,cpsw-switch";
+				compatible = "ti,am4372-cpsw-switch", "ti,cpsw-switch";
 				reg = <0x0 0x4000>;
 				ranges = <0 0 0x4000>;
 				clocks = <&cpsw_125mhz_gclk>, <&dpll_clksel_mac_clk>;