devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: at91sam9263/dt: Fixup sram1 device tree node
@ 2015-02-25  8:35 Alexander Stein
       [not found] ` <1424853304-32197-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
  2015-02-26  6:33 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Stein @ 2015-02-25  8:35 UTC (permalink / raw)
  To: Andrew Victor, Nicolas Ferre, Jean-Christophe Plagniol-Villard
  Cc: Alexander Stein, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Russell King, Alexandre Belloni,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Commit ff04660e48b20 ("ARM: at91/dt: add SRAM nodes") used the same base
address for sram0 and sram1 leading to the following warning:
WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x50/0x70()
sysfs: cannot create duplicate filename '/devices/platform/300000.sram'
Fix the base address for sram1.

Signed-off-by: Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org>
---
 arch/arm/boot/dts/at91sam9263.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
index cdb7d03..76bb849 100644
--- a/arch/arm/boot/dts/at91sam9263.dtsi
+++ b/arch/arm/boot/dts/at91sam9263.dtsi
@@ -69,7 +69,7 @@
 
 	sram1: sram@00500000 {
 		compatible = "mmio-sram";
-		reg = <0x00300000 0x4000>;
+		reg = <0x00500000 0x4000>;
 	};
 
 	ahb {
-- 
2.3.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/1] ARM: at91sam9263/dt: Fixup sram1 device tree node
       [not found] ` <1424853304-32197-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
@ 2015-02-25 21:28   ` Alexandre Belloni
  2015-03-03 18:19   ` Nicolas Ferre
  1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2015-02-25 21:28 UTC (permalink / raw)
  To: Alexander Stein
  Cc: Andrew Victor, Nicolas Ferre, Jean-Christophe Plagniol-Villard,
	Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

On 25/02/2015 at 09:35:04 +0100, Alexander Stein wrote :
> Commit ff04660e48b20 ("ARM: at91/dt: add SRAM nodes") used the same base
> address for sram0 and sram1 leading to the following warning:
> WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x50/0x70()
> sysfs: cannot create duplicate filename '/devices/platform/300000.sram'
> Fix the base address for sram1.
> 
> Signed-off-by: Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org>
Acked-by: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>

> ---
>  arch/arm/boot/dts/at91sam9263.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
> index cdb7d03..76bb849 100644
> --- a/arch/arm/boot/dts/at91sam9263.dtsi
> +++ b/arch/arm/boot/dts/at91sam9263.dtsi
> @@ -69,7 +69,7 @@
>  
>  	sram1: sram@00500000 {
>  		compatible = "mmio-sram";
> -		reg = <0x00300000 0x4000>;
> +		reg = <0x00500000 0x4000>;
>  	};
>  
>  	ahb {
> -- 
> 2.3.0
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/1] ARM: at91sam9263/dt: Fixup sram1 device tree node
  2015-02-25  8:35 [PATCH 1/1] ARM: at91sam9263/dt: Fixup sram1 device tree node Alexander Stein
       [not found] ` <1424853304-32197-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
@ 2015-02-26  6:33 ` Jean-Christophe PLAGNIOL-VILLARD
  1 sibling, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2015-02-26  6:33 UTC (permalink / raw)
  To: Alexander Stein
  Cc: Mark Rutland, devicetree, Russell King, Pawel Moll, Ian Campbell,
	Nicolas FERRE, Rob Herring, Alexandre Belloni,
	Jean-Christophe PLAGNIOL-VILLARD, Andrew Victor, linux-arm-kernel

ack
> On Feb 25, 2015, at 4:35 PM, Alexander Stein <alexanders83@web.de> wrote:
> 
> Commit ff04660e48b20 ("ARM: at91/dt: add SRAM nodes") used the same base
> address for sram0 and sram1 leading to the following warning:
> WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x50/0x70()
> sysfs: cannot create duplicate filename '/devices/platform/300000.sram'
> Fix the base address for sram1.
> 
> Signed-off-by: Alexander Stein <alexanders83@web.de>
> ---
> arch/arm/boot/dts/at91sam9263.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
> index cdb7d03..76bb849 100644
> --- a/arch/arm/boot/dts/at91sam9263.dtsi
> +++ b/arch/arm/boot/dts/at91sam9263.dtsi
> @@ -69,7 +69,7 @@
> 
> 	sram1: sram@00500000 {
> 		compatible = "mmio-sram";
> -		reg = <0x00300000 0x4000>;
> +		reg = <0x00500000 0x4000>;
> 	};
> 
> 	ahb {
> -- 
> 2.3.0
> 

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

* Re: [PATCH 1/1] ARM: at91sam9263/dt: Fixup sram1 device tree node
       [not found] ` <1424853304-32197-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
  2015-02-25 21:28   ` Alexandre Belloni
@ 2015-03-03 18:19   ` Nicolas Ferre
  1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2015-03-03 18:19 UTC (permalink / raw)
  To: Alexander Stein, Andrew Victor, Jean-Christophe Plagniol-Villard
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Russell King,
	Alexandre Belloni,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Le 25/02/2015 09:35, Alexander Stein a écrit :
> Commit ff04660e48b20 ("ARM: at91/dt: add SRAM nodes") used the same base
> address for sram0 and sram1 leading to the following warning:
> WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x50/0x70()
> sysfs: cannot create duplicate filename '/devices/platform/300000.sram'
> Fix the base address for sram1.
> 
> Signed-off-by: Alexander Stein <alexanders83-S0/GAf8tV78@public.gmane.org>

Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Added to at91-4.0-fixes. Thanks.

> ---
>  arch/arm/boot/dts/at91sam9263.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
> index cdb7d03..76bb849 100644
> --- a/arch/arm/boot/dts/at91sam9263.dtsi
> +++ b/arch/arm/boot/dts/at91sam9263.dtsi
> @@ -69,7 +69,7 @@
>  
>  	sram1: sram@00500000 {
>  		compatible = "mmio-sram";
> -		reg = <0x00300000 0x4000>;
> +		reg = <0x00500000 0x4000>;
>  	};
>  
>  	ahb {
> 


-- 
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-03-03 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25  8:35 [PATCH 1/1] ARM: at91sam9263/dt: Fixup sram1 device tree node Alexander Stein
     [not found] ` <1424853304-32197-1-git-send-email-alexanders83-S0/GAf8tV78@public.gmane.org>
2015-02-25 21:28   ` Alexandre Belloni
2015-03-03 18:19   ` Nicolas Ferre
2015-02-26  6:33 ` Jean-Christophe PLAGNIOL-VILLARD

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