Linux-OMAP Archive on lore.kernel.org
 help / color / 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; 2+ 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] 2+ 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
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ 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

Linux-OMAP Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-omap/0 linux-omap/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-omap linux-omap/ https://lore.kernel.org/linux-omap \
		linux-omap@vger.kernel.org
	public-inbox-index linux-omap

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-omap


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git