* [PATCH] [POWERPC] 85xx: some minor cleanups for stx_gp3 and tqm85xx
@ 2008-01-25 16:39 Kumar Gala
2008-01-29 5:47 ` David Gibson
0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2008-01-25 16:39 UTC (permalink / raw)
To: linuxppc-dev
* "simple-bus" covers all our needs for of_platform_bus_probe()
* make device tree name just 'soc' not 'soc85..'
---
arch/powerpc/boot/dts/stx_gp3_8560.dts | 2 +-
arch/powerpc/boot/dts/tqm8540.dts | 2 +-
arch/powerpc/boot/dts/tqm8541.dts | 2 +-
arch/powerpc/boot/dts/tqm8555.dts | 2 +-
arch/powerpc/boot/dts/tqm8560.dts | 2 +-
arch/powerpc/platforms/85xx/stx_gp3.c | 4 ----
arch/powerpc/platforms/85xx/tqm85xx.c | 4 ----
7 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/arch/powerpc/boot/dts/stx_gp3_8560.dts b/arch/powerpc/boot/dts/stx_gp3_8560.dts
index 2e97236..f81fd7f 100644
--- a/arch/powerpc/boot/dts/stx_gp3_8560.dts
+++ b/arch/powerpc/boot/dts/stx_gp3_8560.dts
@@ -46,7 +46,7 @@
reg = <0x00000000 0x10000000>;
};
- soc8560@fdf00000 {
+ soc@fdf00000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
diff --git a/arch/powerpc/boot/dts/tqm8540.dts b/arch/powerpc/boot/dts/tqm8540.dts
index a6e3989..1addb3a 100644
--- a/arch/powerpc/boot/dts/tqm8540.dts
+++ b/arch/powerpc/boot/dts/tqm8540.dts
@@ -48,7 +48,7 @@
reg = <0x00000000 0x10000000>;
};
- soc8540@e0000000 {
+ soc@e0000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
diff --git a/arch/powerpc/boot/dts/tqm8541.dts b/arch/powerpc/boot/dts/tqm8541.dts
index 11bdb0f..9e01093 100644
--- a/arch/powerpc/boot/dts/tqm8541.dts
+++ b/arch/powerpc/boot/dts/tqm8541.dts
@@ -47,7 +47,7 @@
reg = <0x00000000 0x10000000>;
};
- soc8541@e0000000 {
+ soc@e0000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
diff --git a/arch/powerpc/boot/dts/tqm8555.dts b/arch/powerpc/boot/dts/tqm8555.dts
index eef9a6b..a20eb06 100644
--- a/arch/powerpc/boot/dts/tqm8555.dts
+++ b/arch/powerpc/boot/dts/tqm8555.dts
@@ -47,7 +47,7 @@
reg = <0x00000000 0x10000000>;
};
- soc8555@e0000000 {
+ soc@e0000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
diff --git a/arch/powerpc/boot/dts/tqm8560.dts b/arch/powerpc/boot/dts/tqm8560.dts
index 8ca7fdd..b9ac6c9 100644
--- a/arch/powerpc/boot/dts/tqm8560.dts
+++ b/arch/powerpc/boot/dts/tqm8560.dts
@@ -48,7 +48,7 @@
reg = <0x00000000 0x10000000>;
};
- soc8560@e0000000 {
+ soc@e0000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "soc";
diff --git a/arch/powerpc/platforms/85xx/stx_gp3.c b/arch/powerpc/platforms/85xx/stx_gp3.c
index 0b20c17..18499d7 100644
--- a/arch/powerpc/platforms/85xx/stx_gp3.c
+++ b/arch/powerpc/platforms/85xx/stx_gp3.c
@@ -148,10 +148,6 @@ static void stx_gp3_show_cpuinfo(struct seq_file *m)
}
static struct of_device_id __initdata of_bus_ids[] = {
- { .name = "soc", },
- { .type = "soc", },
- { .name = "cpm", },
- { .name = "localbus", },
{ .compatible = "simple-bus", },
{},
};
diff --git a/arch/powerpc/platforms/85xx/tqm85xx.c b/arch/powerpc/platforms/85xx/tqm85xx.c
index 2a08b31..77681ac 100644
--- a/arch/powerpc/platforms/85xx/tqm85xx.c
+++ b/arch/powerpc/platforms/85xx/tqm85xx.c
@@ -146,10 +146,6 @@ static void tqm85xx_show_cpuinfo(struct seq_file *m)
}
static struct of_device_id __initdata of_bus_ids[] = {
- { .name = "soc", },
- { .type = "soc", },
- { .name = "cpm", },
- { .name = "localbus", },
{ .compatible = "simple-bus", },
{},
};
--
1.5.3.7
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] [POWERPC] 85xx: some minor cleanups for stx_gp3 and tqm85xx
2008-01-25 16:39 [PATCH] [POWERPC] 85xx: some minor cleanups for stx_gp3 and tqm85xx Kumar Gala
@ 2008-01-29 5:47 ` David Gibson
2008-01-29 6:24 ` Kumar Gala
0 siblings, 1 reply; 3+ messages in thread
From: David Gibson @ 2008-01-29 5:47 UTC (permalink / raw)
To: Kumar Gala; +Cc: linuxppc-dev
On Fri, Jan 25, 2008 at 10:39:38AM -0600, Kumar Gala wrote:
> * "simple-bus" covers all our needs for of_platform_bus_probe()
> * make device tree name just 'soc' not 'soc85..'
Getting rid of the device_type="soc" would be nice, too...
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] [POWERPC] 85xx: some minor cleanups for stx_gp3 and tqm85xx
2008-01-29 5:47 ` David Gibson
@ 2008-01-29 6:24 ` Kumar Gala
0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2008-01-29 6:24 UTC (permalink / raw)
To: David Gibson; +Cc: linuxppc-dev
On Jan 28, 2008, at 11:47 PM, David Gibson wrote:
> On Fri, Jan 25, 2008 at 10:39:38AM -0600, Kumar Gala wrote:
>> * "simple-bus" covers all our needs for of_platform_bus_probe()
>> * make device tree name just 'soc' not 'soc85..'
>
> Getting rid of the device_type="soc" would be nice, too...
Agreed, but one thing at a time. We need to define a compat that is
the equivalent of what we are using SoC for today. (simple-bus + the
range property details on chip registers) If we can come up with
something compat name that is defined as such that I'm all for remoing
device_type=soc.
- k
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-29 6:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-25 16:39 [PATCH] [POWERPC] 85xx: some minor cleanups for stx_gp3 and tqm85xx Kumar Gala
2008-01-29 5:47 ` David Gibson
2008-01-29 6:24 ` Kumar Gala
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).