linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am437x-l4: fix compatible for cpsw switch dt node
@ 2020-10-01 19:20 Grygorii Strashko
  2020-10-29 19:13 ` Grygorii Strashko
  0 siblings, 1 reply; 3+ messages in thread
From: Grygorii Strashko @ 2020-10-01 19:20 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, linux-kernel, Grygorii Strashko

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(-)

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>;
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: am437x-l4: fix compatible for cpsw switch dt node
  2020-10-01 19:20 [PATCH] ARM: dts: am437x-l4: fix compatible for cpsw switch dt node Grygorii Strashko
@ 2020-10-29 19:13 ` Grygorii Strashko
  2020-11-10 12:17   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Grygorii Strashko @ 2020-10-29 19:13 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, linux-kernel

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>;
> 

-- 
Best regards,
grygorii

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: am437x-l4: fix compatible for cpsw switch dt node
  2020-10-29 19:13 ` Grygorii Strashko
@ 2020-11-10 12:17   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2020-11-10 12:17 UTC (permalink / raw)
  To: Grygorii Strashko; +Cc: linux-omap, linux-kernel

* 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-10 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 19:20 [PATCH] ARM: dts: am437x-l4: fix compatible for cpsw switch dt node Grygorii Strashko
2020-10-29 19:13 ` Grygorii Strashko
2020-11-10 12:17   ` Tony Lindgren

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).