Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 2/3] mips: dts: add device_type="memory" where missing
       [not found] <1397756521-29387-1-git-send-email-leif.lindholm@linaro.org>
@ 2014-04-17 17:42 ` Leif Lindholm
  2014-04-18 17:16   ` John Crispin
  2014-04-22 13:13   ` Grant Likely
  0 siblings, 2 replies; 5+ messages in thread
From: Leif Lindholm @ 2014-04-17 17:42 UTC (permalink / raw)
  To: linux-kernel
  Cc: patches, Leif Lindholm, linux-mips, devicetree, John Crispin,
	Mark Rutland

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 this, to permit that quirk to be made ppc only.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Mark Rutland <mark.rutland@arm.com>
---
 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 fac1f5b..143b8a3 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 35eb874..709f581 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 322d700..0a685db 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 0ac73ea..ec9e9a0 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 2fa6b33..e8df21a 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.7.10.4

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

* Re: [PATCH 2/3] mips: dts: add device_type="memory" where missing
  2014-04-17 17:42 ` [PATCH 2/3] mips: dts: add device_type="memory" where missing Leif Lindholm
@ 2014-04-18 17:16   ` John Crispin
  2014-04-22 13:13   ` Grant Likely
  1 sibling, 0 replies; 5+ messages in thread
From: John Crispin @ 2014-04-18 17:16 UTC (permalink / raw)
  To: Leif Lindholm, linux-kernel
  Cc: patches, linux-mips, devicetree, John Crispin, Mark Rutland



On 17/04/2014 19:42, Leif Lindholm wrote:
> 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 this, to permit that quirk to be made ppc only.
> 
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Cc:
> linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: John
> Crispin <blogic@openwrt.org> Cc: Mark Rutland
> <mark.rutland@arm.com>

Acked-by: John Crispin <blogic@openwrt.org?


Thanks for the cleanup ....


> --- 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 fac1f5b..143b8a3 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 35eb874..709f581
> 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 322d700..0a685db
> 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 0ac73ea..ec9e9a0
> 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 2fa6b33..e8df21a
> 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>; };
> 
> 

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

* Re: [PATCH 2/3] mips: dts: add device_type="memory" where missing
  2014-04-17 17:42 ` [PATCH 2/3] mips: dts: add device_type="memory" where missing Leif Lindholm
  2014-04-18 17:16   ` John Crispin
@ 2014-04-22 13:13   ` Grant Likely
  2014-04-22 13:13     ` Grant Likely
  2014-05-15 14:50     ` Grant Likely
  1 sibling, 2 replies; 5+ messages in thread
From: Grant Likely @ 2014-04-22 13:13 UTC (permalink / raw)
  To: Leif Lindholm, linux-kernel
  Cc: patches, Leif Lindholm, linux-mips, devicetree, John Crispin,
	Mark Rutland

On Thu, 17 Apr 2014 18:42:00 +0100, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> 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 this, to permit that quirk to be made ppc only.
> 
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: linux-mips@linux-mips.org
> Cc: devicetree@vger.kernel.org
> Cc: John Crispin <blogic@openwrt.org>
> Cc: Mark Rutland <mark.rutland@arm.com>

Acked-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 fac1f5b..143b8a3 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 35eb874..709f581 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 322d700..0a685db 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 0ac73ea..ec9e9a0 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 2fa6b33..e8df21a 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.7.10.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: [PATCH 2/3] mips: dts: add device_type="memory" where missing
  2014-04-22 13:13   ` Grant Likely
@ 2014-04-22 13:13     ` Grant Likely
  2014-05-15 14:50     ` Grant Likely
  1 sibling, 0 replies; 5+ messages in thread
From: Grant Likely @ 2014-04-22 13:13 UTC (permalink / raw)
  To: Leif Lindholm, linux-kernel
  Cc: patches, linux-mips, devicetree, John Crispin, Mark Rutland

On Thu, 17 Apr 2014 18:42:00 +0100, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> 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 this, to permit that quirk to be made ppc only.
> 
> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
> Cc: linux-mips@linux-mips.org
> Cc: devicetree@vger.kernel.org
> Cc: John Crispin <blogic@openwrt.org>
> Cc: Mark Rutland <mark.rutland@arm.com>

Acked-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 fac1f5b..143b8a3 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 35eb874..709f581 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 322d700..0a685db 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 0ac73ea..ec9e9a0 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 2fa6b33..e8df21a 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.7.10.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: [PATCH 2/3] mips: dts: add device_type="memory" where missing
  2014-04-22 13:13   ` Grant Likely
  2014-04-22 13:13     ` Grant Likely
@ 2014-05-15 14:50     ` Grant Likely
  1 sibling, 0 replies; 5+ messages in thread
From: Grant Likely @ 2014-05-15 14:50 UTC (permalink / raw)
  To: Leif Lindholm, Linux Kernel Mailing List
  Cc: patches@linaro.org, linux-mips, devicetree@vger.kernel.org,
	John Crispin, Mark Rutland

On Tue, Apr 22, 2014 at 2:13 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> On Thu, 17 Apr 2014 18:42:00 +0100, Leif Lindholm <leif.lindholm@linaro.org> wrote:
>> 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 this, to permit that quirk to be made ppc only.
>>
>> Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
>> Cc: linux-mips@linux-mips.org
>> Cc: devicetree@vger.kernel.org
>> Cc: John Crispin <blogic@openwrt.org>
>> Cc: Mark Rutland <mark.rutland@arm.com>
>
> Acked-by: Grant Likely <grant.likely@linaro.org>

Applied, thanks.

g.

>
>> ---
>>  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 fac1f5b..143b8a3 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 35eb874..709f581 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 322d700..0a685db 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 0ac73ea..ec9e9a0 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 2fa6b33..e8df21a 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.7.10.4
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>

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

end of thread, other threads:[~2014-05-15 14:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1397756521-29387-1-git-send-email-leif.lindholm@linaro.org>
2014-04-17 17:42 ` [PATCH 2/3] mips: dts: add device_type="memory" where missing Leif Lindholm
2014-04-18 17:16   ` John Crispin
2014-04-22 13:13   ` Grant Likely
2014-04-22 13:13     ` Grant Likely
2014-05-15 14:50     ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox