[PATCH v7] [POWERPC] Add LED driver for Promess Motion-PRO board.

2008-01-31 Thread Marian Balakowicz
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

Re: State of the MPC5200 PSC AC97 driver

2008-04-11 Thread Marian Balakowicz
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.

Re: State of the MPC5200 PSC AC97 driver

2008-04-11 Thread Marian Balakowicz
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

Re: PCI IO range limitation

2007-07-06 Thread Marian Balakowicz
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

Re: [patch 07/35] pasemi_mac: stop using the pci config space accessors for register read/writes

2007-07-26 Thread Marian Balakowicz
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

[PATCH 00/15] [POWERPC] TQM5200, CM5200 and Motion-PRO support

2007-10-06 Thread Marian Balakowicz
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

[PATCH 01/15] [POWERPC] TQM5200 DTS

2007-10-07 Thread Marian Balakowicz
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

[PATCH 02/15] [POWERPC] TQM5200 defconfig

2007-10-07 Thread Marian Balakowicz
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

[POWERPC 03/15] [POWERPC] TQM5200 board support

2007-10-07 Thread Marian Balakowicz
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

[PATCH 04/15] [POWERPC] CM5200 DTS

2007-10-07 Thread Marian Balakowicz
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

[PATCH 05/15] [POWERPC] CM5200 defconfig

2007-10-07 Thread Marian Balakowicz
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

[PATCH 06/15] [POWERPC] CM5200 board support

2007-10-07 Thread Marian Balakowicz
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

[PATCH 07/15] [POWERPC] Promess Motion-PRO DTS

2007-10-07 Thread Marian Balakowicz
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

[PATCH 08/15] [POWERPC] Promess Motion-PRO defconfig

2007-10-07 Thread Marian Balakowicz
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

[PATCH 09/15] [POWERPC] Promess Motion-PRO board support

2007-10-07 Thread Marian Balakowicz
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

[PATCH 10/15] [POWERPC] Add mpc52xx_find_and_map_path(), refactor utility functions.

2007-10-07 Thread Marian Balakowicz
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

[PATCH 11/15] [POWERPC] Motion-PRO: Add LED support.

2007-10-07 Thread Marian Balakowicz
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|

[PATCH 12/15] [POWERPC] Add mpc52xx_restart(), mpc52xx_halt(), mpc52xx_power_off().

2007-10-07 Thread Marian Balakowicz
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

[PATCH 13/15] [POWERPC] Init restart/halt/power_off machine hooks for TQM5200.

2007-10-07 Thread Marian Balakowicz
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

[PATCH 14/15] [POWERPC] Init restart/halt/power_off machine hooks for CM5200.

2007-10-07 Thread Marian Balakowicz
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

[PATCH 15/15] [POWERPC] Init restart/halt/power_off machine hooks for Motion-PRO.

2007-10-07 Thread Marian Balakowicz
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

Re: [PATCH 00/15] [POWERPC] TQM5200, CM5200 and Motion-PRO support

2007-10-09 Thread Marian Balakowicz
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

Re: [PATCH 01/15] [POWERPC] TQM5200 DTS

2007-10-17 Thread Marian Balakowicz
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)

Re: [POWERPC 03/15] [POWERPC] TQM5200 board support

2007-10-17 Thread Marian Balakowicz
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

Re: [POWERPC 03/15] [POWERPC] TQM5200 board support

2007-10-17 Thread Marian Balakowicz
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

Re: [PATCH 04/15] [POWERPC] CM5200 DTS

2007-10-17 Thread Marian Balakowicz
David Gibson wrote: [snip] +[EMAIL PROTECTED] { +device_type = rom; +compatible = direct-mapped; +reg = 0c00 0200; +probe-type = CFI; +bank-width = 2; +

[PATCH 0/4] [POWERPC] MPC5200: update gpt binding, add restart support

2007-10-17 Thread Marian Balakowicz
] 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

[PATCH 3/4] [POWERPC] Add restart support for mpc52xx based platforms

2007-10-17 Thread 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

[PATCH 4/4] [POWERPC] Enable restart support for lite5200 board

2007-10-17 Thread Marian Balakowicz
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

[PATCH 1/4] [POWERPC] Add mpc52xx_find_and_map_path(), refactor utility functions

2007-10-17 Thread Marian Balakowicz
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 +

[PATCH v2 3/4] [POWERPC] Add restart support for mpc52xx based platforms

2007-10-18 Thread 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

[PATCH v2 2/4] [POWERPC] Update device tree binding for mpc5200 gpt

2007-10-18 Thread Marian Balakowicz
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

[PATCH v2 0/4] [POWERPC] MPC5200: update gpt binding, add restart support

2007-10-18 Thread Marian Balakowicz
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

[PATCH v2 1/4] [POWERPC] Add mpc52xx_find_and_map_path(), refactor utility functions

2007-10-18 Thread Marian Balakowicz
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 +

[PATCH v2 4/4] [POWERPC] Enable restart support for lite5200 board

2007-10-18 Thread Marian Balakowicz
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

Re: [PATCH v2 3/4] [POWERPC] Add restart support for mpc52xx based platforms

2007-10-18 Thread Marian Balakowicz
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

Re: [PATCH 04/15] [POWERPC] CM5200 DTS

2007-10-19 Thread Marian Balakowicz
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

[PATCH 00/11] [POWERPC] Add TQM5200/CM5200/Motion-PRO board support

2007-10-23 Thread Marian Balakowicz
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

[PATCH 01/11] [POWERPC] Add 'machine: ...' line to common show_cpuinfo()

2007-10-23 Thread Marian Balakowicz
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

[PATCH 02/11] [POWERPC] Add 'lpb' bus type for MPC5200 LocalPlus Bus

2007-10-23 Thread Marian Balakowicz
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

[PATCH 03/11] [POWERPC] Add common mpc52xx_setup_pci() routine

2007-10-23 Thread Marian Balakowicz
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

[PATCH 04/11] [POWERPC] Add generic support for MPC5200 based boards

2007-10-23 Thread Marian Balakowicz
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

[PATCH 05/11] [POWERPC] TQM5200 DTS

2007-10-23 Thread Marian Balakowicz
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

[PATCH 06/11] [POWERPC] TQM5200 defconfig

2007-10-23 Thread Marian Balakowicz
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

[PATCH 07/11] [POWERPC] CM5200 DTS

2007-10-23 Thread Marian Balakowicz
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

[PATCH 08/11] [POWERPC] CM5200 defconfig

2007-10-23 Thread Marian Balakowicz
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

[PATCH 09/11] [POWERPC] Motion-PRO: Add LED support.

2007-10-23 Thread Marian Balakowicz
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

[PATCH 10/11] [POWERPC] Promess Motion-PRO DTS

2007-10-23 Thread Marian Balakowicz
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

Re: [PATCH 01/11] [POWERPC] Add 'machine: ...' line to common show_cpuinfo()

2007-10-25 Thread Marian Balakowicz
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

Re: [PATCH 02/11] [POWERPC] Add 'lpb' bus type for MPC5200 LocalPlus Bus

2007-10-25 Thread Marian Balakowicz
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

Re: [PATCH 05/11] [POWERPC] TQM5200 DTS

2007-10-25 Thread Marian Balakowicz
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; +

Re: [PATCH 09/11] [POWERPC] Motion-PRO: Add LED support.

2007-10-25 Thread Marian Balakowicz
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

Re: [PATCH 05/11] [POWERPC] TQM5200 DTS

2007-10-29 Thread Marian Balakowicz
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

[PATCH v2 00/12] [POWERPC] Add TQM5200/CM5200/Motion-PRO board support

2007-11-03 Thread Marian Balakowicz
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.

[PATCH v2 01/12] [POWERPC] Add 'model: ...' line to common show_cpuinfo()

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 02/12] [POWERPC] Add 'fsl, lpb' bus type for MPC5200 LocalPlus Bus

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 03/12] [POWERPC] Add common mpc52xx_setup_pci() routine

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 05/12] [POWERPC] Export mpc52xx_map_node() routine symbol

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 06/12] [POWERPC] TQM5200 DTS

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 07/12] [POWERPC] TQM5200 defconfig

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 08/12] [POWERPC] CM5200 DTS

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 09/12] [POWERPC] CM5200 defconfig

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 10/12] [POWERPC] Motion-PRO: Add LED support.

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 11/12] [POWERPC] Promess Motion-PRO DTS

2007-11-03 Thread Marian Balakowicz
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

[PATCH v2 12/12] [POWERPC] Promess Motion-PRO defconfig

2007-11-03 Thread Marian Balakowicz
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

Re: [PATCH v2 05/12] [POWERPC] Export mpc52xx_map_node() routine symbol

2007-11-06 Thread Marian Balakowicz
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

Re: [PATCH v2 10/12] [POWERPC] Motion-PRO: Add LED support.

2007-11-06 Thread Marian Balakowicz
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

Re: [PATCH v2 08/12] [POWERPC] CM5200 DTS

2007-11-06 Thread Marian Balakowicz
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

Re: [PATCH v2 06/12] [POWERPC] TQM5200 DTS

2007-11-06 Thread Marian Balakowicz
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

Re: [PATCH v2 11/12] [POWERPC] Promess Motion-PRO DTS

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 00/13] [POWERPC] Add TQM5200/CM5200/Motion-PRO board support

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 01/13] [POWERPC] Add 'model: ...' line to common show_cpuinfo()

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 02/13] [POWERPC] Add 'fsl, lpb' bus type for MPC5200 LocalPlus Bus

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 03/13] [POWERPC] Add common mpc52xx_setup_pci() routine

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 04/13] [POWERPC] Add generic support for simple MPC5200 based boards

2007-11-06 Thread Marian Balakowicz
' 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

[PATCH v3 05/13] [POWERPC] Export mpc52xx_map_node() routine symbol

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 06/13] [POWERPC] Use EXPORT_SYMBOL_GPL for 52xx common routines symbol export

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 07/13] [POWERPC] TQM5200 DTS

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 08/13] [POWERPC] TQM5200 defconfig

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 10/13] [POWERPC] CM5200 defconfig

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 12/13] [POWERPC] Promess Motion-PRO DTS

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 11/13] [POWERPC] Motion-PRO: Add LED support

2007-11-06 Thread Marian Balakowicz
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

[PATCH v3 13/13] [POWERPC] Promess Motion-PRO defconfig

2007-11-06 Thread Marian Balakowicz
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

Re: [PATCH v3 04/13] [POWERPC] Add generic support for simple MPC5200 based boards

2007-11-09 Thread Marian Balakowicz
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

Re: [PATCH v3 07/13] [POWERPC] TQM5200 DTS

2007-11-09 Thread Marian Balakowicz
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

Re: [PATCH v3 12/13] [POWERPC] Promess Motion-PRO DTS

2007-11-09 Thread Marian Balakowicz
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

Re: [PATCH v3 04/13] [POWERPC] Add generic support for simple MPC5200 based boards

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 00/13] [POWERPC] Add TQM5200/CM5200/Motion-PRO board support

2007-11-09 Thread Marian Balakowicz
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,

[PATCH v4 02/13] [POWERPC] Add 'fsl, lpb' bus type for MPC5200 LocalPlus Bus

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 03/13] [POWERPC] Add common mpc52xx_setup_pci() routine

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 05/13] [POWERPC] Export mpc52xx_map_node() routine symbol

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 07/13] [POWERPC] TQM5200 DTS

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 08/13] [POWERPC] TQM5200 defconfig

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 09/13] [POWERPC] CM5200 DTS

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 10/13] [POWERPC] CM5200 defconfig

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 11/13] [POWERPC] Motion-PRO: Add LED support

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 06/13] [POWERPC] Use EXPORT_SYMBOL_GPL for 52xx common routines symbol export

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 12/13] [POWERPC] Promess Motion-PRO DTS

2007-11-09 Thread Marian Balakowicz
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

[PATCH v4 13/13] [POWERPC] Promess Motion-PRO defconfig

2007-11-09 Thread Marian Balakowicz
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

Re: [PATCH v4 04/13] [POWERPC] Add generic support for simple MPC5200 based boards

2007-11-12 Thread Marian Balakowicz
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   2   >