Re: [PATCH v2] [POWER] mpc85xx_ds add DMA engine to the DT and parse it.

2008-04-10 Thread Sebastian Siewior
* Kumar Gala | 2008-04-10 10:33:11 [-0500]:

>>>I also added updating the defconfig to enable the driver by default.
>>I just noticed that commit 049c9d455 renamed the ids. I couldn't find
>>this commit in your git tree. Did you rename the ids in the .dts file
>>(or want me to do this)?
>
>I think they are already in sync am I missing something?
Ah, the .dts has mpc8544* and eloplus* so it should be fine. Just got
confused by the another commit.

>- k
Sebastian
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: [PATCH v2] [POWER] mpc85xx_ds add DMA engine to the DT and parse it.

2008-04-10 Thread Kumar Gala


On Apr 10, 2008, at 10:12 AM, Sebastian Siewior wrote:

* Kumar Gala | 2008-04-10 09:46:39 [-0500]:


This is a modified entry I found in the documentation for the 8544.

Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc8544ds.dts  |   41 +++ 
++

+
arch/powerpc/platforms/85xx/mpc85xx_ds.c |   13 +
2 files changed, 54 insertions(+), 0 deletions(-)


applied.

Thank you.


I also added updating the defconfig to enable the driver by default.

I just noticed that commit 049c9d455 renamed the ids. I couldn't find
this commit in your git tree. Did you rename the ids in the .dts file
(or want me to do this)?


I think they are already in sync am I missing something?

- k
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: [PATCH v2] [POWER] mpc85xx_ds add DMA engine to the DT and parse it.

2008-04-10 Thread Sebastian Siewior
* Kumar Gala | 2008-04-10 09:46:39 [-0500]:

>>This is a modified entry I found in the documentation for the 8544.
>>
>>Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
>>---
>>arch/powerpc/boot/dts/mpc8544ds.dts  |   41 + 
>>+
>>arch/powerpc/platforms/85xx/mpc85xx_ds.c |   13 +
>>2 files changed, 54 insertions(+), 0 deletions(-)
>
>applied.
Thank you.

>I also added updating the defconfig to enable the driver by default.
I just noticed that commit 049c9d455 renamed the ids. I couldn't find
this commit in your git tree. Did you rename the ids in the .dts file
(or want me to do this)?

>- k
Sebastian
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: [PATCH v2] [POWER] mpc85xx_ds add DMA engine to the DT and parse it.

2008-04-10 Thread Kumar Gala


On Mar 14, 2008, at 6:01 PM, Sebastian Siewior wrote:

This is a modified entry I found in the documentation for the 8544.

Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
arch/powerpc/boot/dts/mpc8544ds.dts  |   41 + 
+

arch/powerpc/platforms/85xx/mpc85xx_ds.c |   13 +
2 files changed, 54 insertions(+), 0 deletions(-)


applied.

I also added updating the defconfig to enable the driver by default.

- k
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


[PATCH v2] [POWER] mpc85xx_ds add DMA engine to the DT and parse it.

2008-03-14 Thread Sebastian Siewior
This is a modified entry I found in the documentation for the 8544.

Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/dts/mpc8544ds.dts  |   41 ++
 arch/powerpc/platforms/85xx/mpc85xx_ds.c |   13 +
 2 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8544ds.dts 
b/arch/powerpc/boot/dts/mpc8544ds.dts
index 688af9d..131ffaa 100644
--- a/arch/powerpc/boot/dts/mpc8544ds.dts
+++ b/arch/powerpc/boot/dts/mpc8544ds.dts
@@ -116,6 +116,47 @@
};
};
 
+   [EMAIL PROTECTED] {
+   #address-cells = <1>;
+   #size-cells = <1>;
+   compatible = "fsl,mpc8544-dma", "fsl,eloplus-dma";
+   reg = <21300 4>;
+   ranges = <0 21100 200>;
+   cell-index = <0>;
+   [EMAIL PROTECTED] {
+   compatible = "fsl,mpc8544-dma-channel",
+   "fsl,eloplus-dma-channel";
+   reg = <0 80>;
+   cell-index = <0>;
+   interrupt-parent = <&mpic>;
+   interrupts = <14 2>;
+   };
+   [EMAIL PROTECTED] {
+   compatible = "fsl,mpc8544-dma-channel",
+   "fsl,eloplus-dma-channel";
+   reg = <80 80>;
+   cell-index = <1>;
+   interrupt-parent = <&mpic>;
+   interrupts = <15 2>;
+   };
+   [EMAIL PROTECTED] {
+   compatible = "fsl,mpc8544-dma-channel",
+   "fsl,eloplus-dma-channel";
+   reg = <100 80>;
+   cell-index = <2>;
+   interrupt-parent = <&mpic>;
+   interrupts = <16 2>;
+   };
+   [EMAIL PROTECTED] {
+   compatible = "fsl,mpc8544-dma-channel",
+   "fsl,eloplus-dma-channel";
+   reg = <180 80>;
+   cell-index = <3>;
+   interrupt-parent = <&mpic>;
+   interrupts = <17 2>;
+   };
+   };
+
enet0: [EMAIL PROTECTED] {
cell-index = <0>;
device_type = "network";
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c 
b/arch/powerpc/platforms/85xx/mpc85xx_ds.c
index bdb3d0b..b9a3094 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c
@@ -19,6 +19,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 #include 
@@ -183,6 +184,18 @@ static int __init mpc8544_ds_probe(void)
}
 }
 
+static struct of_device_id mpc85xxds_ids[] = {
+   { .type = "soc", },
+   { .compatible = "soc", },
+   {},
+};
+
+static int __init mpc85xxds_publish_devices(void)
+{
+   return of_platform_bus_probe(NULL, mpc85xxds_ids, NULL);
+}
+machine_device_initcall(mpc8544_ds, mpc85xxds_publish_devices);
+
 /*
  * Called very early, device-tree isn't unflattened
  */
-- 
1.5.4.3

___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded