Add support for two Motion-PRO board custom LEDs:
- motionpro-statusled
- motionpro-readyled
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
Update since v6:
- fix error handling for null label proper
drivers/leds/Kconfig |7
All,
Thanks for the input and comments.
I am also having a look at the I2S driver. There were attempts some
time ago and I found few pieces of code floating on net but couldn't
find anything cleaned up. Did anyone tried to put the results of those
attempts together?
Cheers,
m.
Grant Likely wrote:
On Fri, Apr 11, 2008 at 3:23 AM, Marian Balakowicz [EMAIL PROTECTED] wrote:
All,
Thanks for the input and comments.
I am also having a look at the I2S driver. There were attempts some
time ago and I found few pieces of code floating on net but couldn't
find
Benjamin Herrenschmidt wrote:
On Tue, 2007-07-03 at 11:24 +0200, Marian Balakowicz wrote:
Benjamin Herrenschmidt wrote:
On Thu, 2007-06-28 at 12:20 +0200, Marian Balakowicz wrote:
I guess that with the above dropping of non-zero based PCI IO ranges
this is not supposed to be working. But does
Olof,
Olof Johansson wrote:
Move away from using the pci config access functions for simple register
access. Our device has all of the registers in the config space (hey,
from the hardware point of view it looks reasonable :-), so we need to
somehow get to it. Newer firmwares have it in the
for motionpro.
Comments and review notes are welcome.
Cheers,
Marian Balakowicz
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Add device tree source file for TQM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Grzegorz Bernacki [EMAIL PROTECTED]
Signed-off-by: Martin Krause [EMAIL PROTECTED]
---
tqm5200.dts | 217
1 file
Add TQM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Grzegorz Bernacki [EMAIL PROTECTED]
---
tqm5200_defconfig | 1303 ++
1 file changed, 1303 insertions(+)
diff --git a/arch/powerpc/configs
Add arch/powerpc board support for TQM5200.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
---
Kconfig |5 +
Makefile |1
tqm5200.c | 174 ++
3 files changed, 180 insertions
Add device tree source file for CM5200 board.
Signed-off-by Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
---
cm5200.dts | 284 +
1 file changed, 284 insertions(+)
diff --git a/arch/powerpc/boot/dts
Add CM5200 board defconfig file.
Signed-off-by Marian Balakowicz [EMAIL PROTECTED]
---
cm5200_defconfig | 1032 +++
1 file changed, 1032 insertions(+)
diff --git a/arch/powerpc/configs/cm5200_defconfig
b/arch/powerpc/configs
Add arch/powerpc board support for CM5200.
Signed-off-by Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
---
Kconfig |5 +
Makefile |1
cm5200.c | 161 +++
3 files changed, 167 insertions
Add device tree source file for Motion-PRO board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
motionpro.dts | 334 ++
1 file changed, 334 insertions(+)
diff --git a/arch/powerpc/boot/dts/motionpro.dts
b/arch/powerpc/boot/dts
Add Motion-PRO board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
motionpro_defconfig | 914
1 file changed, 914 insertions(+)
diff --git a/arch/powerpc/configs/motionpro_defconfig
b/arch/powerpc/configs
Add arch/powerpc board support for Promess Motion-PRO.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Bartlomiej Sieka [EMAIL PROTECTED]
---
Kconfig |6 ++
Makefile|1
motionpro.c | 175
3 files
Add helper routine mpc52xx_find_and_map_path(). Extract common code to
mpc52xx_map_node() and refactor mpc52xx_find_and_map().
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c | 21 +
include/asm-powerpc/mpc52xx.h
Add LED driver for Promess Motion-PRO board.
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
---
arch/powerpc/configs/motionpro_defconfig |3
arch/powerpc/platforms/52xx/motionpro.c | 38 +
drivers/leds/Kconfig |7
drivers/leds/Makefile|
Add common MPC5200 helper routines: mpc52xx_restart(), mpc52xx_halt(),
mpc52xx_power_off().
This patch relies on Sascha Hauer's patch published in:
http://patchwork.ozlabs.org/linuxppc/patch?id=8910.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Sascha Hauer [EMAIL PROTECTED
Initialize restart/halt/power_off machine hooks in TQM5200 board
platform code.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
tqm5200.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/platforms/52xx/tqm5200.c
b/arch/powerpc/platforms/52xx/tqm5200.c
index
Initialize restart/halt/power_off machine hooks in CM5200 board
platform code.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
cm5200.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/platforms/52xx/cm5200.c
b/arch/powerpc/platforms/52xx/cm5200.c
index 9d3b1f2
Initialize restart/halt/power_off machine hooks in Promess
Motion-PRO board platform code.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
motionpro.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/platforms/52xx/motionpro.c
b/arch/powerpc/platforms/52xx
All,
Thanks for the review, will process all the comments and resend
updated patches soon.
Marian
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Grant Likely wrote:
+ memory {
+ device_type = memory;
+ reg = 0400; // 64MB
+ };
+
+ [EMAIL PROTECTED] {
I think we're moving to the convetion of naming these nodes
soc@addr now. (You can drop the 5200 for the node name)
Grant Likely wrote:
Both this patch and the CM5200 support patch (#6 in your series) are
pretty much clones of lite5200.c. I don't think this is the right
approach. Don't duplicate code in this way. Determine the common
bits and put them in a common place to be usable by any 5200 board
Scott Wood wrote:
+void tqm5200_show_cpuinfo(struct seq_file *m)
+{
+struct device_node* np = of_find_all_nodes(NULL);
+const char *model = NULL;
+
+if (np)
+model = of_get_property(np, model, NULL);
+
+seq_printf(m, vendor\t\t: Freescale
David Gibson wrote:
[snip]
+[EMAIL PROTECTED] {
+device_type = rom;
+compatible = direct-mapped;
+reg = 0c00 0200;
+probe-type = CFI;
+bank-width = 2;
+
] Add mpc52xx_find_and_map_path(), refactor utility
functions
[PATCH 2/4] [POWERPC] Update device tree binding for mpc5200 gpt
[PATCH 3/4] [POWERPC] Add restart support for mpc52xx based platforms
[PATCH 4/4] [POWERPC] Enable restart support for lite5200 board
Cheers,
Marian Balakowicz
Add common helper routines: mpc52xx_map_wdt() and mpc52xx_restart().
This patch relies on Sascha Hauer's patch published in:
http://patchwork.ozlabs.org/linuxppc/patch?id=8910.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Sascha Hauer [EMAIL PROTECTED]
---
arch/powerpc
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
lite5200.c |4
1 file changed, 4 insertions(+)
diff --git a/arch/powerpc/platforms/52xx/lite5200.c
b/arch/powerpc/platforms/52xx/lite5200.c
index 0caa3d9..ce9e3ee 100644
--- a/arch/powerpc/platforms/52xx/lite5200.c
+++ b/arch
Add helper routine mpc52xx_find_and_map_path(). Extract common code to
mpc52xx_map_node() and refactor mpc52xx_find_and_map().
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
Reviewed-by: Grant Likely [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c | 21 +
Add common helper routines: mpc52xx_map_wdt() and mpc52xx_restart().
This patch relies on Sascha Hauer's patch published in:
http://patchwork.ozlabs.org/linuxppc/patch?id=8910.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Signed-off-by: Sascha Hauer [EMAIL PROTECTED]
---
arch/powerpc
Add 'fsl,' prefix to 'compatible' property for gpt nodes.
Add 'fsl,' prefix to empty, GPT0 specific 'has-wdt' property.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
.../powerpc/mpc52xx-device-tree-bindings.txt |4 ++-
arch/powerpc/boot/dts/lite5200.dts | 26
Here's the second version of MPC5200 patches, please review. Thanks!
[POWERPC] Enable restart support for lite5200 board
[POWERPC] Add restart support for mpc52xx based platforms
[POWERPC] Update device tree binding for mpc5200 gpt
[POWERPC] Add mpc52xx_find_and_map_path(), refactor utility
Add helper routine mpc52xx_find_and_map_path(). Extract common code to
mpc52xx_map_node() and refactor mpc52xx_find_and_map().
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
Reviewed-by: Grant Likely [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c | 21 +
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/lite5200.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/52xx/lite5200.c
b/arch/powerpc/platforms/52xx/lite5200.c
index 65b7ae4..25d2bfa 100644
--- a/arch
Grant Likely wrote:
On 10/18/07, Marian Balakowicz [EMAIL PROTECTED] wrote:
Add common helper routines: mpc52xx_map_wdt() and mpc52xx_restart().
This patch relies on Sascha Hauer's patch published in:
http://patchwork.ozlabs.org/linuxppc/patch?id=8910.
By 'relies', do you mean depends
David Gibson wrote:
On Wed, Oct 17, 2007 at 02:22:04PM +0200, Marian Balakowicz wrote:
David Gibson wrote:
[snip]
+ [EMAIL PROTECTED] {
+ device_type = rom;
+ compatible = direct-mapped;
+ reg = 0c00 0200
This is a reworked set of patches that adds arch/powerpc support for
three MPC5200 based boards: TQ-Components TQM5200, Schindler CM5200
and Promess Motion-PRO.
Besides board support there are also few more MPC5200 common patches
that include update to show_cpuinfo(), adding new 'lpb' bus,
moving
Print out '/model' property as a machine name in generic
show_cpuinfo() routine.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/kernel/setup-common.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/setup-common.c
b/arch
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/kernel/of_platform.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/of_platform.c
b/arch/powerpc/kernel/of_platform.c
index aeaa202..cc33b73 100644
--- a/arch/powerpc/kernel
This patch moves a generic pci init code from lite5200
platform file to a common mpc52xx_setup_pci() routine
and adds additional compatibility property verification.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/lite5200.c|6 +-
arch/powerpc
This patch adds support for 'generic-mpc5200' compatible
boards which do not need a platform specific setup.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/Kconfig |8 ++-
arch/powerpc/platforms/52xx/Makefile |1
arch/powerpc
Add device tree source file for TQM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm5200.dts | 236 +
1 files changed, 236 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/tqm5200.dts
diff
Add TQM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/tqm5200_defconfig | 1306
1 files changed, 1306 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/tqm5200_defconfig
diff --git
Add device tree source file for CM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/cm5200.dts | 296 ++
1 files changed, 296 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/cm5200.dts
diff
Add CM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/cm5200_defconfig | 1031 +
1 files changed, 1031 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/cm5200_defconfig
diff --git
Add LED driver for Promess Motion-PRO board.
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
drivers/leds/Kconfig |7 +
drivers/leds/Makefile |3 -
drivers/leds/leds-motionpro.c | 222
Add device tree source file for Motion-PRO board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/motionpro.dts | 360 +++
1 files changed, 360 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/motionpro.dts
Milton Miller wrote:
On Wed Oct 24 17:11:29 EST 2007, Stephen Rothwell wrote:
On Wed, 24 Oct 2007 01:13:09 +0200 Marian Balakowicz wrote:
+ root = of_find_node_by_path(/);
+ if (root)
+ model = of_get_property(root, model, NULL);
+ of_node_put
Olof Johansson wrote:
On Wed, Oct 24, 2007 at 01:13:15AM +0200, Marian Balakowicz wrote:
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
Your patch lacks any kind of description beyond the title. (I know, it's a
real simple patch, but a real simple description would do too :)
All
Grant Likely wrote:
On 10/25/07, Martin Krause [EMAIL PROTECTED] wrote:
+ [EMAIL PROTECTED] {
+ compatible = cfi-flash;
+ reg = 0200;
+ bank-width = 4;
+ device-width = 2;
+
Grant Likely wrote:
...
+
+static int __init mpled_init(void)
+{
+ int i, error;
+
+ for (i = 0; i sizeof(led) / sizeof(struct motionpro_led); i++){
+ led[i].reg_addr = mpc52xx_find_and_map(led[i].reg_compat);
Please use of-platform-bus bindings instead. Let
David Gibson wrote:
On Thu, Oct 25, 2007 at 05:46:19PM +0200, Marian Balakowicz wrote:
Grant Likely wrote:
On 10/25/07, Martin Krause [EMAIL PROTECTED] wrote:
[snip]
On a board with 16 MiB FLASH for example the big-fs _and_ the misc
partition could not be used. big-fs, because the memory
This is a secon respin of the patches that add arch/powerpc support for
three MPC5200 based boards: TQ-Components TQM5200, Schindler CM5200
and Promess Motion-PRO. Please review.
[POWERPC] Promess Motion-PRO defconfig
[POWERPC] Promess Motion-PRO DTS
[POWERPC] Motion-PRO: Add LED support.
Print out 'model' property of '/' node as a machine name
in generic show_cpuinfo() routine.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/kernel/setup-common.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/setup
Define MPC52xx specific device id list, add new
'fsl,lpb' compatible id for LocalPlus Bus.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms
This patch moves a generic pci init code from lite5200
platform file to a common mpc52xx_setup_pci() routine
and adds additional compatibility property verification.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/lite5200.c| 12 +---
arch
Make, so far static, mpc52xx_map_node() routine
symbol available for general use.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |4 +++-
include/asm-powerpc/mpc52xx.h|1 +
2 files changed, 4 insertions(+), 1 deletions
Add device tree source file for TQM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm5200.dts | 191 +
1 files changed, 191 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/tqm5200.dts
diff
Add TQM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/tqm5200_defconfig | 1306
1 files changed, 1306 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/tqm5200_defconfig
diff --git
Add device tree source file for CM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/cm5200.dts | 252 ++
1 files changed, 252 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/cm5200.dts
diff
Add CM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/cm5200_defconfig | 1031 +
1 files changed, 1031 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/cm5200_defconfig
diff --git
Add LED driver for Promess Motion-PRO board.
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
drivers/leds/Kconfig |7 +
drivers/leds/Makefile |3 -
drivers/leds/leds-motionpro.c | 240
Add device tree source file for Motion-PRO board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/motionpro.dts | 323 +++
1 files changed, 323 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/motionpro.dts
Add Motion-PRO board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/motionpro_defconfig | 989 ++
1 files changed, 989 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/motionpro_defconfig
diff
Hi Stephan,
Stephen Rothwell wrote:
On Sun, 04 Nov 2007 00:52:40 +0100 Marian Balakowicz [EMAIL PROTECTED]
wrote:
-static void __iomem *
+void __iomem *
mpc52xx_map_node(struct device_node *ofn)
{
const u32 *regaddr_p;
@@ -48,6 +48,8 @@ mpc52xx_map_node(struct device_node *ofn
Hi Stephen,
Stephen Rothwell wrote:
On Sun, 04 Nov 2007 00:53:11 +0100 Marian Balakowicz [EMAIL PROTECTED]
wrote:
+++ b/drivers/leds/leds-motionpro.c
[snip]
+#include asm/io.h
+#include asm/of_platform.h
You want linux/of_platform.h instead of asm/.. and probably not
linux
David Gibson wrote:
On Sun, Nov 04, 2007 at 12:52:59AM +0100, Marian Balakowicz wrote:
Add device tree source file for CM5200 board.
[snip]
+[EMAIL PROTECTED] { // Real time clock
+compatible = mpc5200b-rtc,mpc5200-rtc;
+device_type
David Gibson wrote:
On Sun, Nov 04, 2007 at 12:52:47AM +0100, Marian Balakowicz wrote:
Add device tree source file for TQM5200 board.
[snip]
+[EMAIL PROTECTED] {
[EMAIL PROTECTED] is the new convention, I believe, but I guess you need
compatibility with older bootstraps.
Correct, we
David Gibson wrote:
On Sun, Nov 04, 2007 at 12:53:17AM +0100, Marian Balakowicz wrote:
Add device tree source file for Motion-PRO board.
[snip]
+[EMAIL PROTECTED] { // Motion-PRO status LED
+compatible = promess,motionpro-statusled
This is a third version of the patches that add arch/powerpc support for
three MPC5200 based boards: TQ-Components TQM5200, Schindler CM5200
and Promess Motion-PRO.
[POWERPC] Promess Motion-PRO defconfig
[POWERPC] Promess Motion-PRO DTS
[POWERPC] Motion-PRO: Add LED support.
[POWERPC] CM5200
Print out 'model' property of '/' node as a machine name
in generic show_cpuinfo() routine.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Acked-by: David Gibson [EMAIL PROTECTED]
Acked-by: Olof Johansson [EMAIL PROTECTED]
---
arch/powerpc/kernel/setup-common.c |9 +
1 files
Define MPC52xx specific device id list, add new
'fsl,lpb' compatible id for LocalPlus Bus.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Acked-by: David Gibson [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |9 -
1 files changed, 8 insertions(+), 1 deletions
This patch moves a generic pci init code from lite5200
platform file to a common mpc52xx_setup_pci() routine
and adds additional compatibility property verification.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/lite5200.c| 12 +---
arch
' property is present in one of the
gpt nodes, then it is safe to use such gpt to reset the board,
- PCI is supported if enabled in the kernel configuration
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/lite5200.dts |2 -
arch/powerpc/boot/dts
Make, so far static, mpc52xx_map_node() routine
symbol available for general use.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |3 ++-
include/asm-powerpc/mpc52xx.h|1 +
2 files changed, 3 insertions(+), 1 deletions
Replace EXPORT_SYMBOL with EXPORT_SYMBOL_GPL in mpc52xx_common.c
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c
b
Add device tree source file for TQM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm5200.dts | 185 +
1 files changed, 185 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/tqm5200.dts
diff
Add TQM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/tqm5200_defconfig | 1306
1 files changed, 1306 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/tqm5200_defconfig
diff --git
Add CM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/cm5200_defconfig | 1031 +
1 files changed, 1031 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/cm5200_defconfig
diff --git
Add device tree source file for Motion-PRO board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/motionpro.dts | 309 +++
1 files changed, 309 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/motionpro.dts
Add LED driver for Promess Motion-PRO board.
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
drivers/leds/Kconfig |7 +
drivers/leds/Makefile |3 -
drivers/leds/leds-motionpro.c | 243
Add Motion-PRO board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/motionpro_defconfig | 989 ++
1 files changed, 989 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/motionpro_defconfig
diff
Hi Stephen,
Stephen Rothwell wrote:
On Tue, 06 Nov 2007 21:05:20 +0100 Marian Balakowicz [EMAIL PROTECTED]
wrote:
+++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c
+
+#include linux/pci.h
+#include linux/of.h
+#include asm/time.h
+#include asm/io.h
Its not clear to me that you
David Gibson wrote:
On Tue, Nov 06, 2007 at 09:05:48PM +0100, Marian Balakowicz wrote:
Add device tree source file for TQM5200 board.
[snip]
+[EMAIL PROTECTED] {
+device_type = usb-ohci-be;
This device_type is bogus. Remember having a valid device_type
David Gibson wrote:
On Tue, Nov 06, 2007 at 09:06:34PM +0100, Marian Balakowicz wrote:
Add device tree source file for Motion-PRO board.
[snip]
+[EMAIL PROTECTED] { // Motion-PRO status LED
+compatible = promess,motionpro-statusled
Hi Grant,
Grant Likely wrote:
On 11/6/07, Wolfgang Denk [EMAIL PROTECTED] wrote:
in message [EMAIL PROTECTED] you wrote:
In other words; make the assumption that it is easier to change the
kernel than it is to change the device tree.
Are you serious about this?
Reading this from someone
This is a yet another version of the patches that add arch/powerpc support for
three MPC5200 based boards: TQ-Components TQM5200, Schindler CM5200
and Promess Motion-PRO.
Updates include modifications to mpc5200_simple_probe() routine in the
generic support for simple MPC5200 based boards,
Define MPC52xx specific device id list, add new
'fsl,lpb' compatible id for LocalPlus Bus.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
Acked-by: David Gibson [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |9 -
1 files changed, 8 insertions(+), 1 deletions
This patch moves a generic pci init code from lite5200
platform file to a common mpc52xx_setup_pci() routine
and adds additional compatibility property verification.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/lite5200.c| 12 +---
arch
Make, so far static, mpc52xx_map_node() routine
symbol available for general use.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |3 ++-
include/asm-powerpc/mpc52xx.h|1 +
2 files changed, 3 insertions(+), 1 deletions
Add device tree source file for TQM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/tqm5200.dts | 184 +
1 files changed, 184 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/tqm5200.dts
diff
Add TQM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/tqm5200_defconfig | 1306
1 files changed, 1306 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/tqm5200_defconfig
diff --git
Add device tree source file for CM5200 board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/cm5200.dts | 236 ++
1 files changed, 236 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/cm5200.dts
diff
Add CM5200 board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/cm5200_defconfig | 1031 +
1 files changed, 1031 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/cm5200_defconfig
diff --git
Add LED driver for Promess Motion-PRO board.
Signed-off-by: Jan Wrobel [EMAIL PROTECTED]
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
drivers/leds/Kconfig |7 +
drivers/leds/Makefile |3
drivers/leds/leds-motionpro.c | 250
Replace EXPORT_SYMBOL with EXPORT_SYMBOL_GPL in mpc52xx_common.c
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/platforms/52xx/mpc52xx_common.c |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_common.c
b
Add device tree source file for Motion-PRO board.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/motionpro.dts | 309 +++
1 files changed, 309 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/motionpro.dts
Add Motion-PRO board defconfig file.
Signed-off-by: Marian Balakowicz [EMAIL PROTECTED]
---
arch/powerpc/configs/motionpro_defconfig | 989 ++
1 files changed, 989 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/motionpro_defconfig
diff
Stephen Rothwell wrote:
On Fri, 09 Nov 2007 18:12:02 +0100 Marian Balakowicz [EMAIL PROTECTED]
wrote:
+++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c
+static int __init mpc5200_simple_probe(void)
+{
+unsigned long node = of_get_flat_dt_root();
You need to include asm/prom.h
1 - 100 of 115 matches
Mail list logo