Re: Micrel PHY KSZ8001 on MPC5200B FEC

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 11:33 PM, Roman Fietze wrote: > As Grant mentioned as well, the key was and is a correct DTS. (At > least) one statement was missing: > >  interrupt-parent = <&mpc5200_pic>; > > This statement seemed to move all the way up from the devices to the > root of the tree, and som

Re: Micrel PHY KSZ8001 on MPC5200B FEC

2009-11-11 Thread Roman Fietze
Hello Suvidh, On Wednesday 28 October 2009 16:19:04 suvidh kankariya wrote: > I am sorry for the misguided statement. No problem, help is always welcome. > I indeed had patched it. Allthough Grant's mail got stuck in our beloved Notes spam filter, we found out how to use that KSZ8001 on our bo

Problem during mtd initialization

2009-11-11 Thread Divya
Hi, We are working on MPC8640D based processor board with, Boot Loader version : u-boot-2009-06 Kernel version : linux-2.6.30 (Downloaded from kernel.org) RAM size : 1 GB Flash memory size: 256 MB When we are booting the linux kernel, during mtd s

Re: [PATCH 0/6] gianfar: Some fixes

2009-11-11 Thread David Miller
From: Kumar Gala Date: Wed, 11 Nov 2009 09:16:41 -0600 > > On Nov 10, 2009, at 6:10 PM, Anton Vorontsov wrote: > >> Hi all, >> >> Here are some fixes for the gianfar driver, patches on the way. >> >> Thanks, > > Acked-by: Kumar Gala All applied to net-next-2.6, thanks. __

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Jon Smirl
On Wed, Nov 11, 2009 at 4:57 PM, Grant Likely wrote: > On Wed, Nov 11, 2009 at 2:34 PM, Jon Smirl wrote: >> On Wed, Nov 11, 2009 at 2:24 PM, Grant Likely >> wrote: >>> On Wed, Nov 11, 2009 at 11:37 AM, Mark Brown >>> wrote: On Wed, Nov 11, 2009 at 11:38:06AM -0500, Jon Smirl wrote: >

RE: [PATCH 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-11 Thread John Linn
> -Original Message- > From: Richard Röjfors [mailto:richard.rojf...@mocean-labs.com] > Sent: Wednesday, November 11, 2009 7:39 AM > To: spi-devel-gene...@lists.sourceforge.net > Cc: linuxppc-...@ozlabs.org; Andrew Morton; dbrown...@users.sourceforge.net; > John Linn; > grant.lik...@secret

Re: [PATCH 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 3:19 PM, John Linn wrote: >> -Original Message- >> From: Richard Röjfors [mailto:richard.rojf...@mocean-labs.com] >> Sent: Wednesday, November 11, 2009 7:39 AM [...] >> -static void xspi_init_hw(void __iomem *regs_base) >> +/* to follow are some functions that does

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 2:34 PM, Jon Smirl wrote: > On Wed, Nov 11, 2009 at 2:24 PM, Grant Likely > wrote: >> On Wed, Nov 11, 2009 at 11:37 AM, Mark Brown >> wrote: >>> On Wed, Nov 11, 2009 at 11:38:06AM -0500, Jon Smirl wrote: > Providing a final valid data point to the driver would possi

Re: [PATCH v5 0/4] pseries: Add cede support for cpu-offline

2009-11-11 Thread Peter Zijlstra
On Thu, 2009-11-12 at 08:35 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2009-11-11 at 14:25 +0100, Peter Zijlstra wrote: > > On Fri, 2009-10-30 at 10:52 +0530, Gautham R Shenoy wrote: > > > > > Gautham R Shenoy (4): > > > pseries: Serialize cpu hotplug operations during deactivate Vs > >

Re: [PATCH v2] xilinx_spi: Add the platform driver to the Kconfig

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 9:38 AM, Richard Röjfors wrote: > This patch adds the xilinx_spi_pltfm to the SPI Kconfig and Makefile. > > The xilinx_spi_pltfm was added in a previous patchset. I assume this will just get rolled into your series when you respin for the next version. g. > > Signed-off-

Re: [PATCH v5 0/4] pseries: Add cede support for cpu-offline

2009-11-11 Thread Benjamin Herrenschmidt
On Wed, 2009-11-11 at 14:25 +0100, Peter Zijlstra wrote: > On Fri, 2009-10-30 at 10:52 +0530, Gautham R Shenoy wrote: > > > Gautham R Shenoy (4): > > pseries: Serialize cpu hotplug operations during deactivate Vs > > deallocate > > pseries: Add code to online/offline CPUs of a DLPAR n

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Jon Smirl
On Wed, Nov 11, 2009 at 2:24 PM, Grant Likely wrote: > On Wed, Nov 11, 2009 at 11:37 AM, Mark Brown > wrote: >> On Wed, Nov 11, 2009 at 11:38:06AM -0500, Jon Smirl wrote: >>> > Providing a final valid data point to the driver would possibly even >>> > make things worse since if it were used then

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Jon Smirl
On Wed, Nov 11, 2009 at 1:37 PM, Mark Brown wrote: > On Wed, Nov 11, 2009 at 11:38:06AM -0500, Jon Smirl wrote: > >> There are two solutions: >> 1) tell me where the end of the valid data is. That allows me to >> program the hardware to not enqueue the invalid data. >> 2) For batched hardware, pad

suspend to ram on pmac ?

2009-11-11 Thread Giuliano Pochini
I have a pmac G4 MDD. Is suspend to ram supported ? I enabled all pm related kernel options I could find, but: # ls -la /sys/power/ total 0 drwxr-xr-x 2 root root0 Nov 9 19:33 . drwxr-xr-x 12 root root0 Nov 9 19:32 .. -rw-r--r-- 1 root root 4096 Nov 9 19:33 pm_test -rw-r--r-- 1 root

Re: [PATCH 4/4] xilinx_spi: add a platform driver using the xilinx_spi common module.

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 7:40 AM, Richard Röjfors wrote: > This patch adds in a platform device driver using the xilinx_spi common > module. > > Signed-off-by: Richard Röjfors Pretty straight forward stuff. Looks right to me. (Except of course for adding the pdata structure earlier in the seri

Re: [PATCH 3/4] xilinx_spi: add support for the DS570 IP.

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 7:39 AM, Richard Röjfors wrote: > This patch adds in support for the DS570 IP. > > It's register compatible with the DS464, but adds support for 8/16/32 SPI. > > Signed-off-by: Richard Röjfors Needs some changes. Comments below > --- > diff --git a/drivers/spi/Kconf

Re: [PATCH 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 7:38 AM, Richard Röjfors wrote: > This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to > iowrite(8|16|32) > and ioread(8|16|32). This to be able to build on platforms not supporting the > in/out calls > for instance x86. As discussed previously, I'd rat

Re: [PATCH 1/4] xilinx_spi: Split into of driver and generic part.

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 7:38 AM, Richard Röjfors wrote: > This patch splits the xilinx_spi driver into a generic part and a > OF driver part. > > The reason for this is to later add in a platform driver as well. Hey Richard, Thanks for the quick response. A couple of important comments, and a b

Re: Re: [PATCH 3/3] mpc52xx/wdt: WDT uses GPT api

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 1:32 AM, Albrecht Dreß wrote: > Hi Grant: > > O.k., thanks for your comments.  If Wim doesn't have any objections to it, I > will provide a merged patch.  One consequence I forgot to mention is that we > loose the ability to build the wdt support as module, but I don't

Re: [PATCH 2/3] mpc52xx/wdt: merge WDT code into the GPT

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 1:27 AM, Albrecht Dreß wrote: > Hi Grant: > > Thanks a lot for your comments! > >> On Tue, Nov 10, 2009 at 12:41 PM, Albrecht Dreß >> > +#if defined(HAVE_MPC5200_WDT) >> > +       /* check if this device could be a watchdog */ >> > +       if (of_get_property(ofdev

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Mark Brown
On 11 Nov 2009, at 19:24, Grant Likely wrote: On Wed, Nov 11, 2009 at 11:37 AM, Mark Brown wrote: On Wed, Nov 11, 2009 at 11:38:06AM -0500, Jon Smirl wrote: Providing a final valid data point to the driver would possibly even make things worse since if it were used then you'd have the e

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Grant Likely
On Wed, Nov 11, 2009 at 11:37 AM, Mark Brown wrote: > On Wed, Nov 11, 2009 at 11:38:06AM -0500, Jon Smirl wrote: >> > Providing a final valid data point to the driver would possibly even >> > make things worse since if it were used then you'd have the equivalent >> > race where the application has

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Mark Brown
On Wed, Nov 11, 2009 at 11:38:06AM -0500, Jon Smirl wrote: > There are two solutions: > 1) tell me where the end of the valid data is. That allows me to > program the hardware to not enqueue the invalid data. > 2) For batched hardware, pad an extra period with silence after the > end of the stream

[PATCH v2] xilinx_spi: Add the platform driver to the Kconfig

2009-11-11 Thread Richard Röjfors
This patch adds the xilinx_spi_pltfm to the SPI Kconfig and Makefile. The xilinx_spi_pltfm was added in a previous patchset. Signed-off-by: Richard Röjfors --- diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b956284..d1f8ee3 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig

Re: [alsa-devel] [PATCH 2/6] ASoC/mpc5200: get rid of the appl_ptr tracking nonsense

2009-11-11 Thread Jon Smirl
On Sat, Nov 7, 2009 at 3:12 PM, Mark Brown wrote: > On Sat, Nov 07, 2009 at 11:51:16AM -0700, Grant Likely wrote: >> On Sat, Nov 7, 2009 at 5:51 AM, Jon Smirl wrote: > >> current period.  My understanding of ALSA is that the application is >> supposed to make sure there is enough silence in the b

[PATCH] xilinx_spi: Add the platform driver to the Kconfig

2009-11-11 Thread Richard Röjfors
This patch adds the xilinx_spi_pltfm to the SPI Kconfig. The xilinx_spi_pltfm was added in a previous patchset. Signed-off-by: Richard Röjfors --- diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b956284..d1f8ee3 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -252,6 +2

Re: [PATCH 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-11 Thread Richard Röjfors
Josh Boyer wrote: > On Wed, Nov 11, 2009 at 03:38:34PM +0100, Richard Röjfors wrote: >> This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to >> iowrite(8|16|32) >> and ioread(8|16|32). This to be able to build on platforms not supporting >> the in/out calls >> for instance x86.

Re: [PATCH 0/8] 8xx: Misc fixes for buggy insn

2009-11-11 Thread Scott Wood
On Wed, Nov 11, 2009 at 01:06:10AM +0100, Joakim Tjernlund wrote: > Scott Wood wrote on 11/11/2009 00:21:18: > > Where would you put the dcbi? How do you regain control after that > > cache line has been refilled, but before code flows back to the bad branch? > > The dcbi would replace the curre

Re: [PATCH 0/6] gianfar: Some fixes

2009-11-11 Thread Kumar Gala
On Nov 10, 2009, at 6:10 PM, Anton Vorontsov wrote: Hi all, Here are some fixes for the gianfar driver, patches on the way. Thanks, Acked-by: Kumar Gala - k ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/li

Re: [PATCH 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-11 Thread Josh Boyer
On Wed, Nov 11, 2009 at 03:38:34PM +0100, Richard Röjfors wrote: >This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to >iowrite(8|16|32) >and ioread(8|16|32). This to be able to build on platforms not supporting the >in/out calls >for instance x86. > >Support is also added for l

[PATCH 4/4] xilinx_spi: add a platform driver using the xilinx_spi common module.

2009-11-11 Thread Richard Röjfors
This patch adds in a platform device driver using the xilinx_spi common module. Signed-off-by: Richard Röjfors --- diff --git a/drivers/spi/xilinx_spi_pltfm.c b/drivers/spi/xilinx_spi_pltfm.c new file mode 100644 index 000..f28a48e --- /dev/null +++ b/drivers/spi/xilinx_spi_pltfm.c @@ -0,0 +1

[PATCH 3/4] xilinx_spi: add support for the DS570 IP.

2009-11-11 Thread Richard Röjfors
This patch adds in support for the DS570 IP. It's register compatible with the DS464, but adds support for 8/16/32 SPI. Signed-off-by: Richard Röjfors --- diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 9667650..b956284 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -

[PATCH 2/4] xilinx_spi: Switch to iomem functions and support little endian.

2009-11-11 Thread Richard Röjfors
This patch changes the out_(be)(8|16|32) and in_(be)(8|16|32) calls to iowrite(8|16|32) and ioread(8|16|32). This to be able to build on platforms not supporting the in/out calls for instance x86. Support is also added for little endian writes. In some systems the registers should be accessed l

[PATCH 1/4] xilinx_spi: Split into of driver and generic part.

2009-11-11 Thread Richard Röjfors
This patch splits the xilinx_spi driver into a generic part and a OF driver part. The reason for this is to later add in a platform driver as well. Signed-off-by: Richard Röjfors --- diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 4b6f7cb..e60b264 100644 --- a/drivers/spi/Kconfig ++

[PATCH 0/4] xilinx_spi: Split into platform and of driver, support new IP, platform independence.

2009-11-11 Thread Richard Röjfors
Hi, To follow is a series of patches against the xilinx_spi driver. The patchset is against 2.6.32-rc6 The patchset addresses several problems in the current driver: * It's PPC only (OF and uses PPC specific memory operations) * Only supporting big endian writes * Supports only 8bit SPI, support

Re: [PATCH v5 0/4] pseries: Add cede support for cpu-offline

2009-11-11 Thread Peter Zijlstra
On Fri, 2009-10-30 at 10:52 +0530, Gautham R Shenoy wrote: > Gautham R Shenoy (4): > pseries: Serialize cpu hotplug operations during deactivate Vs > deallocate > pseries: Add code to online/offline CPUs of a DLPAR node. > pSeries: Add hooks to put the CPU into an appropriate of

Re: [PATCH v5 0/4] pseries: Add cede support for cpu-offline

2009-11-11 Thread Gautham R Shenoy
On Fri, Oct 30, 2009 at 10:52:43AM +0530, Gautham R Shenoy wrote: > Hi, Hi Peter, Did you get a chance to look at this new design ? > > This is version 5 of patch series that provides a framework to choose the > state a pseries CPU must be put to when it is offlined. > > Previous versions can

Re: [spi-devel-general] [PATCH 3/3] mpc52xx_spi: add gpio chipselect

2009-11-11 Thread Wolfram Sang
On Tue, Nov 10, 2009 at 10:12:09AM +0100, Luotao Fu wrote: > This one enables the mpc52xx_spi driver for usage of user defined gpio lines > as chipselect. This way we can control some more spi devices than only one > > Signed-off-by: Luotao Fu > --- > drivers/spi/mpc52xx_spi.c | 57 +++

Re: [PATCH 2/3] mpc52xx_spi: add missing mode_bits definition

2009-11-11 Thread Wolfram Sang
On Tue, Nov 10, 2009 at 10:12:08AM +0100, Luotao Fu wrote: > Signed-off-by: Luotao Fu SPI_CS_HIGH should be dropped, otherwise: Reviewed-by: Wolfram Sang > --- > drivers/spi/mpc52xx_spi.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/drivers/spi/mpc52xx_spi.c

Re: [spi-devel-general] [PATCH v4] xilinx_spi: Splitted into generic, of and platform driver, added support for DS570

2009-11-11 Thread Richard Röjfors
Grant Likely wrote: > > Hi Richard. Please do another spin of this patch. I don't have any > particular problem with the changes, but it needs to be in a more > granular form so I can review it properly. I will post an update today. In the future, if you are "quasi responsible for everything X

Re: [PATCH 1/3] mpc52xx_spi: fix clearing status register

2009-11-11 Thread Wolfram Sang
On Tue, Nov 10, 2009 at 10:12:07AM +0100, Luotao Fu wrote: > Before reading status register to check MODF failure, we have to clear it > first since the MODF flag will be set after initializing the spi master, > if the hardware comes up with a low SS. The processor datasheet reads: > Mode Fault fla

[PATCH] mpc5200/gpt: tiny fix for gpt period limitation

2009-11-11 Thread Albrecht Dre�
This patch fixes a limitation of the 5200's period. Signed-off-by: Albrecht Dreß --- arch/powerpc/include/asm/mpc52xx.h|2 +- arch/powerpc/platforms/52xx/mpc52xx_gpt.c |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx.h

[PATCH] mpc5200/gpt: tiny fix for gpt period limitation

2009-11-11 Thread Albrecht Dre�
Jetzt NEU: Do it youself E-Cards bei Arcor.de! Stellen Sie Ihr eigenes Unikat zusammen und machen Sie dem Empfänger eine ganz persönliche Freude! E-Card Marke Eigenbau: HIER KLICKEN: http://www.arcor.de/rd/footer.ecard ___ Linuxppc-dev mailing list L

Aw: Re: [PATCH 3/3] mpc52xx/wdt: WDT uses GPT api

2009-11-11 Thread Albrecht Dre�
Hi Grant: O.k., thanks for your comments. If Wim doesn't have any objections to it, I will provide a merged patch. One consequence I forgot to mention is that we loose the ability to build the wdt support as module, but I don't think it's a real problem. I think we still should keep the kern

Re: [PATCH 2/3] mpc52xx/wdt: merge WDT code into the GPT

2009-11-11 Thread Albrecht Dre�
Hi Grant: Thanks a lot for your comments! > On Tue, Nov 10, 2009 at 12:41 PM, Albrecht Dreß > wrote: > > Merge the WDT code into the GPT interface. > > > > Signed-off-by: Albrecht Dreß > > --- > > Hi Albrecht, > > Thanks for this work. Comments below. > > > > > Notes: > > > > The maximum