devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540
@ 2014-05-26 13:42 Grant Likely
  2014-05-26 13:42 ` [PATCH 2/2] mips: dts: Fix missing device_type="memory" property in memory nodes Grant Likely
  2014-05-26 13:45 ` [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540 Grant Likely
  0 siblings, 2 replies; 3+ messages in thread
From: Grant Likely @ 2014-05-26 13:42 UTC (permalink / raw)
  To: gaurav.minocha
  Cc: Leif Lindholm, linux-arm-kernel, devicetree, Mark Rutland, stable,
	Grant Likely

From: Leif Lindholm <leif.lindholm@linaro.org>

The current .dts for ste-ccu8540 lacks a 'device_type = "memory"' for
its memory node, relying on an old ppc quirk in order to discover its
memory. Fix the data so that all parsing code can handle it correctly.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
---
 arch/arm/boot/dts/ste-ccu8540.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/ste-ccu8540.dts b/arch/arm/boot/dts/ste-ccu8540.dts
index 7f3baf51a3a9..32dd55e5f4e6 100644
--- a/arch/arm/boot/dts/ste-ccu8540.dts
+++ b/arch/arm/boot/dts/ste-ccu8540.dts
@@ -18,6 +18,7 @@
 	compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
 
 	memory@0 {
+		device_type = "memory";
 		reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>;
 	};
 
-- 
1.9.1

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

* [PATCH 2/2] mips: dts: Fix missing device_type="memory" property in memory nodes
  2014-05-26 13:42 [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540 Grant Likely
@ 2014-05-26 13:42 ` Grant Likely
  2014-05-26 13:45 ` [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540 Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2014-05-26 13:42 UTC (permalink / raw)
  To: gaurav.minocha
  Cc: Leif Lindholm, linux-mips, devicetree, Mark Rutland, stable,
	Grant Likely

From: Leif Lindholm <leif.lindholm@linaro.org>

A few platforms lack a 'device_type = "memory"' for their memory
nodes, relying on an old ppc quirk in order to discover its memory.
Add the missing data so that all parsing code can find memory nodes
correctly.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: <stable@vger.kernel.org>
Acked-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
---
 arch/mips/lantiq/dts/easy50712.dts    | 1 +
 arch/mips/ralink/dts/mt7620a_eval.dts | 1 +
 arch/mips/ralink/dts/rt2880_eval.dts  | 1 +
 arch/mips/ralink/dts/rt3052_eval.dts  | 1 +
 arch/mips/ralink/dts/rt3883_eval.dts  | 1 +
 5 files changed, 5 insertions(+)

diff --git a/arch/mips/lantiq/dts/easy50712.dts b/arch/mips/lantiq/dts/easy50712.dts
index fac1f5b178eb..143b8a37b5e4 100644
--- a/arch/mips/lantiq/dts/easy50712.dts
+++ b/arch/mips/lantiq/dts/easy50712.dts
@@ -8,6 +8,7 @@
 	};
 
 	memory@0 {
+		device_type = "memory";
 		reg = <0x0 0x2000000>;
 	};
 
diff --git a/arch/mips/ralink/dts/mt7620a_eval.dts b/arch/mips/ralink/dts/mt7620a_eval.dts
index 35eb874ab7f1..709f58132f5c 100644
--- a/arch/mips/ralink/dts/mt7620a_eval.dts
+++ b/arch/mips/ralink/dts/mt7620a_eval.dts
@@ -7,6 +7,7 @@
 	model = "Ralink MT7620A evaluation board";
 
 	memory@0 {
+		device_type = "memory";
 		reg = <0x0 0x2000000>;
 	};
 
diff --git a/arch/mips/ralink/dts/rt2880_eval.dts b/arch/mips/ralink/dts/rt2880_eval.dts
index 322d7002595b..0a685db093d4 100644
--- a/arch/mips/ralink/dts/rt2880_eval.dts
+++ b/arch/mips/ralink/dts/rt2880_eval.dts
@@ -7,6 +7,7 @@
 	model = "Ralink RT2880 evaluation board";
 
 	memory@0 {
+		device_type = "memory";
 		reg = <0x8000000 0x2000000>;
 	};
 
diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts
index 0ac73ea28198..ec9e9a035541 100644
--- a/arch/mips/ralink/dts/rt3052_eval.dts
+++ b/arch/mips/ralink/dts/rt3052_eval.dts
@@ -7,6 +7,7 @@
 	model = "Ralink RT3052 evaluation board";
 
 	memory@0 {
+		device_type = "memory";
 		reg = <0x0 0x2000000>;
 	};
 
diff --git a/arch/mips/ralink/dts/rt3883_eval.dts b/arch/mips/ralink/dts/rt3883_eval.dts
index 2fa6b330bf4f..e8df21a5d10d 100644
--- a/arch/mips/ralink/dts/rt3883_eval.dts
+++ b/arch/mips/ralink/dts/rt3883_eval.dts
@@ -7,6 +7,7 @@
 	model = "Ralink RT3883 evaluation board";
 
 	memory@0 {
+		device_type = "memory";
 		reg = <0x0 0x2000000>;
 	};
 
-- 
1.9.1

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

* Re: [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540
  2014-05-26 13:42 [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540 Grant Likely
  2014-05-26 13:42 ` [PATCH 2/2] mips: dts: Fix missing device_type="memory" property in memory nodes Grant Likely
@ 2014-05-26 13:45 ` Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2014-05-26 13:45 UTC (permalink / raw)
  To: gaurav.minocha@alumni.ubc.ca
  Cc: Leif Lindholm, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org, Mark Rutland, stable, Grant Likely

Oops, sent this series out by mistake. Sorry for the noise.

g.

On Mon, May 26, 2014 at 2:42 PM, Grant Likely <grant.likely@linaro.org> wrote:
> From: Leif Lindholm <leif.lindholm@linaro.org>
>
> The current .dts for ste-ccu8540 lacks a 'device_type = "memory"' for
> its memory node, relying on an old ppc quirk in order to discover its
> memory. Fix the data so that all parsing code can handle it correctly.
>
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> Acked-by: Lee Jones <lee.jones@linaro.org>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: devicetree@vger.kernel.org
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Grant Likely <grant.likely@linaro.org>
> ---
>  arch/arm/boot/dts/ste-ccu8540.dts | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/ste-ccu8540.dts b/arch/arm/boot/dts/ste-ccu8540.dts
> index 7f3baf51a3a9..32dd55e5f4e6 100644
> --- a/arch/arm/boot/dts/ste-ccu8540.dts
> +++ b/arch/arm/boot/dts/ste-ccu8540.dts
> @@ -18,6 +18,7 @@
>         compatible = "st-ericsson,ccu8540", "st-ericsson,u8540";
>
>         memory@0 {
> +               device_type = "memory";
>                 reg = <0x20000000 0x1f000000>, <0xc0000000 0x3f000000>;
>         };
>
> --
> 1.9.1
>

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

end of thread, other threads:[~2014-05-26 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-26 13:42 [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540 Grant Likely
2014-05-26 13:42 ` [PATCH 2/2] mips: dts: Fix missing device_type="memory" property in memory nodes Grant Likely
2014-05-26 13:45 ` [PATCH 1/2] arm: dts: Fix missing device_type="memory" for ste-ccu8540 Grant Likely

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