[PATCH] [POWERPC] 4xx: Remove "i2c" and "xxmii-interface" device_types from dts

2008-01-16 Thread Stefan Roese
Remove all "i2c" and "xxmii-interface" (rgmii etc) device_type entries from the 4xx dts files. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/bamboo.dts |3 --- arch/powerpc/boot/dts/ebony.dts |2 -- arch/powerpc/boot/dts/katmai.dts |2 -- arch/powerpc/b

Re: [PATCH] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

2008-01-16 Thread David Gibson
On Wed, Jan 16, 2008 at 10:37:10AM +0100, Stefan Roese wrote: > With the removal the the "rgmii-interface" device_type property from the > dts files, the newemac driver needs an update to only rely on compatible > property. In fact, this patch should go in before the one changing the dts files. -

Re: [PATCH] [POWERPC] 4xx: Remove "i2c" and "xxmii-interface" device_types from dts

2008-01-16 Thread David Gibson
On Wed, Jan 16, 2008 at 10:00:00AM +0100, Stefan Roese wrote: > Remove all "i2c" and "xxmii-interface" (rgmii etc) device_type entries > from the 4xx dts files. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> Acked-by: David Gibson <[EMAIL PROTECTED]> -- David Gibson| I'

Re: [PATCH] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

2008-01-16 Thread Benjamin Herrenschmidt
On Wed, 2008-01-16 at 10:37 +0100, Stefan Roese wrote: > With the removal the the "rgmii-interface" device_type property from the > dts files, the newemac driver needs an update to only rely on compatible > property. > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> I need to test if it works

[PATCH] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

2008-01-16 Thread Stefan Roese
With the removal the the "rgmii-interface" device_type property from the dts files, the newemac driver needs an update to only rely on compatible property. Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> --- drivers/net/ibm_newemac/rgmii.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-

ppc: 4xx: sysctl table check failed: /kernel/l2cr .1.31 Missing strategy

2008-01-16 Thread Stefan Roese
I'm seeing this error message when booting an recent arch/ppc kernel on 4xx platforms (tested on Ocotea and other 4xx platforms). Booting NFS rootfs still works fine, but this message kind of makes me "nervous". This is not seen on 4xx arch/powerpc platforms. Here the bootlog: Linux version 2.6.24

Re: [PATCH] [POWERPC] 4xx: Remove "i2c" and "xxmii-interface" device_types from dts

2008-01-16 Thread Josh Boyer
On Wed, 16 Jan 2008 10:00:00 +0100 Stefan Roese <[EMAIL PROTECTED]> wrote: > Remove all "i2c" and "xxmii-interface" (rgmii etc) device_type entries > from the 4xx dts files. Holding on this one until Ben or I can check Axon to see if it's DT can handle no device_type for xxmii-interface. josh __

Please pull from 'for-2.6.25' branch of 4xx tree

2008-01-16 Thread Josh Boyer
Hi Paul, Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx.git for-2.6.25 to pick up a small number of changes for 2.6.25. Mostly Xilinx stuff from Stephen and Grant, with a couple of EMAC enables and a bug fix. I'll likely send another pull request with some m

Re: [PATCH] [POWERPC] 4xx: Remove "i2c" and "xxmii-interface" device_types from dts

2008-01-16 Thread Josh Boyer
On Wed, 16 Jan 2008 14:01:22 +0100 Stefan Roese <[EMAIL PROTECTED]> wrote: > Josh, > > On Wednesday 16 January 2008, Josh Boyer wrote: > > > Remove all "i2c" and "xxmii-interface" (rgmii etc) device_type entries > > > from the 4xx dts files. > > > > Holding on this one until Ben or I can check Ax

Re: [PATCH] [POWERPC] 4xx: Remove "i2c" and "xxmii-interface" device_types from dts

2008-01-16 Thread Stefan Roese
Josh, On Wednesday 16 January 2008, Josh Boyer wrote: > > Remove all "i2c" and "xxmii-interface" (rgmii etc) device_type entries > > from the 4xx dts files. > > Holding on this one until Ben or I can check Axon to see if it's DT can > handle no device_type for xxmii-interface. Best would be, if y

Re: [PATCH] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

2008-01-16 Thread Josh Boyer
On Wed, 16 Jan 2008 20:53:59 +1100 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-01-16 at 10:37 +0100, Stefan Roese wrote: > > With the removal the the "rgmii-interface" device_type property from the > > dts files, the newemac driver needs an update to only rely on compatible

Fixed phy

2008-01-16 Thread Rune Torgersen
Hi We're doing a port to 2.6.24-rc7, and we need to set up two ethernets with fixed phy's as they have phyless interfaces to a switch. WE cannot find any good examples on how to do this. We've found the fixed speed PHY emulation in the configuration, but are unsure on how to set the PHY's up in

Re: [PATCH 3/4] powerpc: Katana750i - Add DTS file

2008-01-16 Thread Mark A. Greer
On Wed, Jan 16, 2008 at 11:22:28AM +1100, David Gibson wrote: > On Tue, Jan 15, 2008 at 12:08:06PM -0700, Mark A. Greer wrote: > > On Tue, Jan 15, 2008 at 10:34:06AM +1100, David Gibson wrote: > > > On Mon, Jan 14, 2008 at 03:59:26PM -0700, Mark A. Greer wrote: > > > > From: Mark A. Greer <[EMAIL P

Re: [PATCH] MTD for Taco

2008-01-16 Thread Sean MacLennan
Sean MacLennan wrote: > How about adding a config option that lets you specify 8 bit access? > Something like CONFIG_NDFC_8BIT_ACCESS. We could default it to no and > put a little blurb that says something like: > > On some platforms the 32bit read/writes cause a machine access > exception. If y

[Add mpc5121 support PATCH v2 4/8] Device tree for MPC5121 ADS

2008-01-16 Thread John Rigby
Minimal tree for mpc5121 ads. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc5121ads.dts | 116 ++ 1 files changed, 116 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/boot/dts/mpc5121ads.dts diff --git a/arch/powerpc/bo

[Add mpc5121 support PATCH v2 8/8] Add MPC512x support to MPC52xx psc driver

2008-01-16 Thread John Rigby
Add 512x support using the psc_ops framework established with the previous patch. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/Kconfig| 12 ++-- drivers/serial/mpc52xx_uart.c | 174 +++-- include/asm-powerpc/mpc52xx_psc.h |

[Add mpc5121 support PATCH v2 7/8] Factor out 52xx dependencies from 52xx psc driver

2008-01-16 Thread John Rigby
PSCs change from 5200 to 5121 this patch localizes the differences in preparation for adding 5121 support Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/mpc52xx_uart.c | 256 ++-- 1 files changed, 192 insertions(+), 64 deletions(-) diff --gi

[Add mpc5121 support PATCH v2 6/8] Cleanup checkpatch.pl problems in mpc52xx_uart.c

2008-01-16 Thread John Rigby
In preparation of adding MPC5121 support cleanup some things that checkpatch.pl complains about also some minor fixes suggested by Stephen Rothwell. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/mpc52xx_uart.c | 204 ++--- 1 files changed, 1

[Add mpc5121 support PATCH v2 2/8] Add mpc512x ipic support

2008-01-16 Thread John Rigby
Added ipic_info entries for vectors used by 512x that were previously unused by 83xx. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/ipic.c | 62 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysd

[Add mpc5121 support PATCH v2 3/8] Basic Freescale MPC512x support

2008-01-16 Thread John Rigby
512x is very similar to 83xx and most of this is patterned after code from 83xx. New platform: changed: arch/powerpc/Kconfig arch/powerpc/platforms/Kconfig arch/powerpc/platforms/Kconfig.cputype arch/powerpc/platforms/Makefile new: arch/powerpc/platf

[Add mpc5121 support PATCH v2 5/8] Separate MPC52xx PSC FIFO registers from rest of PSC

2008-01-16 Thread John Rigby
This is in preparation for the addition of MPC512x PSC support. The main difference in the 512x is in the fifo registers. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- drivers/serial/mpc52xx_uart.c | 10 ++ include/asm-powerpc/mpc52xx_psc.h |3 +++ include/asm-ppc/mpc52xx_p

[Add mpc5121 support PATCH v2 1/8] Add IPIC config option

2008-01-16 Thread John Rigby
IPIC is not just for 83xx anymore so make it a separate config option. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/platforms/Kconfig |5 + arch/powerpc/sysdev/Makefile |2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/Kco

[Add mpc5121 support PATCH v2 0/8]

2008-01-16 Thread John Rigby
This is a new improved set of patches based on the comments that I received in response to the previous set. I believe I addressed all the concerns raised but I'm sure there will be new ones. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https:/

[PATCH 1/4 v2] powerpc: mv64x60 - Use early_* PCI accessors for hotswap reg

2008-01-16 Thread Mark A. Greer
From: Mark A. Greer <[EMAIL PROTECTED]> The mv64x60 Hotswap register is on the first hose of the mv64x60 hostbridge. To access it, manually find the hose structure and use the early_* PCI accessor routines because the hostbridge is normally hidden. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]

[PATCH 3/4 v2] powerpc: Katana750i - Add DTS file

2008-01-16 Thread Mark A. Greer
From: Mark A. Greer <[EMAIL PROTECTED]> Add DTS file for the Emerson Katana 750i & 752i platforms. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> --- This patch should address most of David's comments. Some notes: - Even though there are still several virtual-reg's remaining, all are used by

[PATCH 4/4 v2] powerpc: Katana750i - Add platform support

2008-01-16 Thread Mark A. Greer
From: Mark A. Greer <[EMAIL PROTECTED]> Add support for the Emerson Katana 750i & 752i platforms. Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> --- This patch should address all of Stephen's comments. I also did some cleanup that I missed the first time through. arch/powerpc/boot/Makefile

Re: [PATCH 1/4] powerpc: mv64x60 - Use early_* PCI accessors for hotswap reg

2008-01-16 Thread Benjamin Herrenschmidt
On Mon, 2008-01-14 at 15:51 -0700, Mark A. Greer wrote: > From: Mark A. Greer <[EMAIL PROTECTED]> > > The mv64x60 Hotswap register is on the first hose of the mv64x60 > hostbridge. To access it, manually find the hose structure and > use the early_* PCI accessor routines because the hostbridge i

Re: [Add mpc5121 support PATCH v2 3/8] Basic Freescale MPC512x support

2008-01-16 Thread Stephen Rothwell
Hi John, On Wed, 16 Jan 2008 14:37:22 -0700 John Rigby <[EMAIL PROTECTED]> wrote: > > +++ b/arch/powerpc/platforms/512x/mpc5121_ads.c > +static void __init mpc5121_ads_init_IRQ(void) > +{ > + struct device_node *np; > + > + np = of_find_compatible_node(NULL, NULL, "fsl,ipic"); > + if

Re: [PATCH 4/4 v2] powerpc: Katana750i - Add platform support

2008-01-16 Thread Stephen Rothwell
Hi Mark, On Wed, 16 Jan 2008 15:12:10 -0700 "Mark A. Greer" <[EMAIL PROTECTED]> wrote: > > +static void __init katana750i_setup_arch(void) > +{ > + struct device_node *np; > + phys_addr_t paddr; > + const unsigned int *reg; > + > + np = of_find_compatible_node(NULL, NULL, "katana75

Re: [PATCH 1/5] Warp Base Platform

2008-01-16 Thread Sean MacLennan
Everybody happy with this patch? Cheers, Sean ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] MTD for Taco

2008-01-16 Thread Josh Boyer
On Wed, 16 Jan 2008 16:25:23 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > Sean MacLennan wrote: > > How about adding a config option that lets you specify 8 bit access? > > Something like CONFIG_NDFC_8BIT_ACCESS. We could default it to no and > > put a little blurb that says something like:

Re: [PATCH 1/5] Warp Base Platform

2008-01-16 Thread Stephen Rothwell
On Wed, 16 Jan 2008 18:29:45 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > > Everybody happy with this patch? I am happy (about this patch at least :-)) -- Cheers, Stephen Rothwell[EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/ pgpb2vylEkYSL.pgp Description: PGP sig

Re: [PATCH 1/5] Warp Base Platform

2008-01-16 Thread Josh Boyer
On Thu, 17 Jan 2008 10:36:48 +1100 Stephen Rothwell <[EMAIL PROTECTED]> wrote: > On Wed, 16 Jan 2008 18:29:45 -0500 Sean MacLennan <[EMAIL PROTECTED]> wrote: > > > > Everybody happy with this patch? > > I am happy (about this patch at least :-)) Yes, I have this queued up. josh

Re: Fixed phy

2008-01-16 Thread Anton Vorontsov
Hello Rune, On Wed, Jan 16, 2008 at 10:50:53AM -0600, Rune Torgersen wrote: > > Hi > We're doing a port to 2.6.24-rc7, and we need to set up two ethernets > with fixed phy's as they have phyless interfaces to a switch. > WE cannot find any good examples on how to do this. We've found the > fixed

Re: [PATCH] MTD for Taco

2008-01-16 Thread Sean MacLennan
Josh Boyer wrote: > On Wed, 16 Jan 2008 16:25:23 -0500 > Sean MacLennan <[EMAIL PROTECTED]> wrote: > > >> Sean MacLennan wrote: >> >>> How about adding a config option that lets you specify 8 bit access? >>> Something like CONFIG_NDFC_8BIT_ACCESS. We could default it to no and >>> put a l

Re: [Add mpc5121 support PATCH v2 2/8] Add mpc512x ipic support

2008-01-16 Thread David Gibson
On Wed, Jan 16, 2008 at 02:37:21PM -0700, John Rigby wrote: > Added ipic_info entries for vectors used by 512x that > were previously unused by 83xx. I've always wondered what these great big tables in the ipic driver were for. Are they anything that could be better repsresented in the device tre

Re: [PATCH 4/4 v2] powerpc: Katana750i - Add platform support

2008-01-16 Thread Mark A. Greer
On Thu, Jan 17, 2008 at 10:27:02AM +1100, Stephen Rothwell wrote: > Hi Mark, > > On Wed, 16 Jan 2008 15:12:10 -0700 "Mark A. Greer" <[EMAIL PROTECTED]> wrote: > > > > +static void __init katana750i_setup_arch(void) > > +{ > > + struct device_node *np; > > + phys_addr_t paddr; > > + const uns

Re: [PATCH 1/4] powerpc: mv64x60 - Use early_* PCI accessors for hotswap reg

2008-01-16 Thread Mark A. Greer
On Thu, Jan 17, 2008 at 09:48:59AM +1100, Benjamin Herrenschmidt wrote: > > On Mon, 2008-01-14 at 15:51 -0700, Mark A. Greer wrote: > > From: Mark A. Greer <[EMAIL PROTECTED]> > > > > The mv64x60 Hotswap register is on the first hose of the mv64x60 > > hostbridge. To access it, manually find the

Re: [PATCH 3/4] powerpc: Katana750i - Add DTS file

2008-01-16 Thread David Gibson
On Wed, Jan 16, 2008 at 01:48:09PM -0700, Mark A. Greer wrote: > On Wed, Jan 16, 2008 at 11:22:28AM +1100, David Gibson wrote: > > On Tue, Jan 15, 2008 at 12:08:06PM -0700, Mark A. Greer wrote: > > > On Tue, Jan 15, 2008 at 10:34:06AM +1100, David Gibson wrote: > > > > On Mon, Jan 14, 2008 at 03:59

Re: [PATCH 1/3] 8xx: Analogue & Micro Adder875 board support.

2008-01-16 Thread Bryan O'Donoghue
On Wed, 2008-01-16 at 09:16 +0300, Vitaly Bordug wrote: Greetings Vitaly ! > On Tue, 15 Jan 2008 23:25:02 + > Bryan O'Donoghue wrote: > > > Greetings Scott. > > > > I've tried both of the procedures you've outlined on the Adder875 with > > the patches supplied against the paulus git tree to

Re: [PATCH 4/4 v2] powerpc: Katana750i - Add platform support

2008-01-16 Thread David Gibson
On Wed, Jan 16, 2008 at 03:12:10PM -0700, Mark A. Greer wrote: > From: Mark A. Greer <[EMAIL PROTECTED]> > > Add support for the Emerson Katana 750i & 752i platforms. > > Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]> [snip] > +typedef enum { > + BOARD_TYPE_750I, > + BOARD_TYPE_752I, >

Re: [PATCH 3/4] powerpc: Katana750i - Add DTS file

2008-01-16 Thread Mark A. Greer
On Thu, Jan 17, 2008 at 12:06:34PM +1100, David Gibson wrote: > On Wed, Jan 16, 2008 at 01:48:09PM -0700, Mark A. Greer wrote: > > On Wed, Jan 16, 2008 at 11:22:28AM +1100, David Gibson wrote: > > > On Tue, Jan 15, 2008 at 12:08:06PM -0700, Mark A. Greer wrote: > > > > On Tue, Jan 15, 2008 at 10:34

Re: [PATCH 1/4] powerpc: mv64x60 - Use early_* PCI accessors for hotswap reg

2008-01-16 Thread Benjamin Herrenschmidt
On Wed, 2008-01-16 at 17:47 -0700, Mark A. Greer wrote: > On Thu, Jan 17, 2008 at 09:48:59AM +1100, Benjamin Herrenschmidt wrote: > > > > On Mon, 2008-01-14 at 15:51 -0700, Mark A. Greer wrote: > > > From: Mark A. Greer <[EMAIL PROTECTED]> > > > > > > The mv64x60 Hotswap register is on the first

Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-16 Thread Paul Mackerras
Includes commits pulled from Josh Boyer's tree. Anton Vorontsov (1): [POWERPC] booting-without-of: localbus should not include board name Cyrill Gorcunov (3): [POWERPC] Use for_each macros in arch/powerpc/sysdev [POWERPC] Use for_each macros in arch/powerpc/kernel [POWERPC

[PATCH 0/2] Add crashdump shutdown hooks

2008-01-16 Thread Michael Neuling
The following patches add crashdump shutdown hooks for POWERPC. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- Updated for suggests made by Paulus ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-

[PATCH 1/2] Make setjmp/longjmp code generic

2008-01-16 Thread Michael Neuling
This makes the setjmp/longjmp code used by xmon, generically available to other code. It also removes the requirement for debugger hooks to be only called on 0x300 (data storage) exception. Signed-off-by: Michael Neuling <[EMAIL PROTECTED]> --- arch/powerpc/kernel/misc.S | 65 ++

[PATCH 2/2] kdump shutdown hook support

2008-01-16 Thread Michael Neuling
This adds hooks into the default_machine_crash_shutdown so drivers can register a function to be run in the first kernel before we hand off to the second kernel. This should only be used in exceptional circumstances, like where the device can't be reset in the second kernel alone (as is the case w

Re: Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-16 Thread Olof Johansson
Hi, On Thu, Jan 17, 2008 at 03:39:07PM +1100, Paul Mackerras wrote: > Includes commits pulled from Josh Boyer's tree. Any reason for why you didn't pull from mine? Thanks, -Olof ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org

Re: [libfdt] RFC: Node iterators (v2)

2008-01-16 Thread David Gibson
On Wed, Jan 16, 2008 at 05:20:22PM +1100, David Gibson wrote: > Here's my counter-attempt at node iterators for libfdt. It's based on > an internal function very similar to Scott's fdt_next_node(), but the > exported interfaces are altered to be (IMO) safer and simpler. > > So far, it only handle

Re: Patches added to master/for-2.6.25 branch of powerpc.git

2008-01-16 Thread Paul Mackerras
Olof Johansson writes: > Any reason for why you didn't pull from mine? Sorry, just an oversight. Pulled and pushed out now. Paul. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 1/2] Make setjmp/longjmp code generic

2008-01-16 Thread Olof Johansson
Hi, On Thu, Jan 17, 2008 at 03:45:42PM +1100, Michael Neuling wrote: > Index: linux-2.6-ozlabs/include/asm-powerpc/setjmp.h > === > --- /dev/null > +++ linux-2.6-ozlabs/include/asm-powerpc/setjmp.h > @@ -0,0 +1,18 @@ > +/* > + * Copy

Re: [PATCH 1/2] Make setjmp/longjmp code generic

2008-01-16 Thread Michael Neuling
In message <[EMAIL PROTECTED]> you wrote: > Hi, > > On Thu, Jan 17, 2008 at 03:45:42PM +1100, Michael Neuling wrote: > > > Index: linux-2.6-ozlabs/include/asm-powerpc/setjmp.h > > === > > --- /dev/null > > +++ linux-2.6-ozlabs/incl

Re: [PATCH 1/2] Make setjmp/longjmp code generic

2008-01-16 Thread Stephen Rothwell
On Thu, 17 Jan 2008 16:36:49 +1100 Michael Neuling <[EMAIL PROTECTED]> wrote: > > > > > Should the above be inside #ifdef __KERNEL__? > > Yep... _and_ it's 2008 now! I think that if you don't list the file for exporting to user mode (in the Kbuild file), then you shouldn't need the __KERNEL__ pr

Re: [PATCH 1/2] Make setjmp/longjmp code generic

2008-01-16 Thread Stephen Rothwell
On Thu, 17 Jan 2008 15:45:42 +1100 Michael Neuling <[EMAIL PROTECTED]> wrote: > > +++ linux-2.6-ozlabs/arch/powerpc/kernel/misc.S > @@ -8,6 +8,8 @@ > * Adapted for iSeries by Mike Corrigan ([EMAIL PROTECTED]) > * PPC64 updates by Dave Engebretsen ([EMAIL PROTECTED]) > * > + * setjmp/longjmp a

Re: psc and spi

2008-01-16 Thread S. Fricke
HeHo, > > I have on the psc3 the spi-interface of a fpga connected. > > > > [...] > > > > Can I use the mpc52xx_psc_spi-driver? And if yes, how I have to use this > > driver? Or must I write a own spi-master/slave thing? Can anyone point me > > to a good start-position? > > Yes, you should be ab