Re: [net-next-2.6 PATCH v2] can: SJA1000: generic OF platform bus driver

2009-05-23 Thread Arnd Bergmann
On Friday 22 May 2009, Wolfgang Grandegger wrote: > This patch adds a generic driver for SJA1000 chips on the OpenFirmware > platform bus found on embedded PowerPC systems. Nice driver! > +static u8 sja1000_ofp_read_reg(const struct net_device *dev, int reg) > +{ > + return in_8((void __iome

Re: PPC405EX based irq flooding with USB-OTG and usbserial device

2009-05-23 Thread Chuck Meade
Hunter Cobbs wrote: > Hello everyone, > > This is my first post to the PPC dev list as my company has just started > developing a new project based on Linux. The good news is, this post is > not debug-related as much as it is an introduction and query while I > download the latest DENX kernel(onl

Re: PPC405EX based irq flooding with USB-OTG and usbserial device

2009-05-23 Thread Hunter Cobbs
Egads! Forgot to respond to the list! My git checkout failed last night, so I'm downloading the resource cd, but I can tell you what I did before I get the actual patch done, and you can tell me if my logic is sound. First thing I thought when I saw this is WHY use IRQ based methods to access a

Re: PPC405EX based irq flooding with USB-OTG and usbserial device

2009-05-23 Thread Hunter Cobbs
OK, here are the patches... one for ppc4xx_dma.h and one for the Makefile --- ppc4xx_dma.h snip --- linux-2.6-denx/drivers/usb/gadget/dwc_otg/ppc4xx_dma.h2008-05-07 09:13:33.0 -0500 +++ linux-2.6-denx_patched/drivers/usb/gadget/dwc_otg/ppc4xx_dma.h 2009-05-23 08:33:26

Re: [net-next-2.6 PATCH v2] can: SJA1000: generic OF platform bus driver

2009-05-23 Thread Wolfgang Grandegger
Wolfgang Grandegger wrote: > Hi Grant, > > Grant Likely wrote: >> Hi Wolfgang, thanks for the quick response. Comments below... >> >> On Fri, May 22, 2009 at 8:46 AM, Wolfgang Grandegger >> wrote: >>> +++ net-next-2.6/Documentation/powerpc/dts-bindings/can/sja1000.txt >>> @@ -0,0 +1,37 @@ >>> +

Re: [net-next-2.6 PATCH v2] can: SJA1000: generic OF platform bus driver

2009-05-23 Thread Wolfgang Grandegger
Arnd Bergmann wrote: > On Friday 22 May 2009, Wolfgang Grandegger wrote: >> This patch adds a generic driver for SJA1000 chips on the OpenFirmware >> platform bus found on embedded PowerPC systems. > > Nice driver! > >> +static u8 sja1000_ofp_read_reg(const struct net_device *dev, int reg) >> +{

Re: PPC405EX based irq flooding with USB-OTG and usbserial device

2009-05-23 Thread Wolfgang Denk
Dear Hunter, In message you wrote: > > This is my first post to the PPC dev list as my company has just started > developing a new project based on Linux. The good news is, this post is not > debug-related as much as it is an introduction and query while I download > the latest DENX kernel(onl

Re: PPC405EX based irq flooding with USB-OTG and usbserial device

2009-05-23 Thread Hunter Cobbs
On Sat, May 23, 2009 at 1:14 PM, Wolfgang Denk wrote: > Dear Hunter, > > In message > you wrote: > > > > This is my first post to the PPC dev list as my company has just started > > developing a new project based on Linux. The good news is, this post is > not > > debug-related as much as it is

Re: mpc8315e-rdb: pci_enable_msi() fails (using today's galak/powerpc.git tree)

2009-05-23 Thread Leon Woestenberg
Hello, On Sat, May 23, 2009 at 10:58 PM, Leon Woestenberg wrote: > using this tree: > git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git > > pci_enable_msi() fails on my MPC8315E-RDB board with PCIe device in I found that the DTS for the MPC8315E-RDB is missing the msi bits. I adde

Re: [PATCH V2 2/3] powerpc: Add support for swiotlb on 32-bit

2009-05-23 Thread Leon Woestenberg
Hello, On Sat, May 23, 2009 at 1:55 AM, Jeremy Fitzhardinge wrote: > Ian Campbell wrote: >> >> On Thu, 2009-05-21 at 14:27 -0400, Becky Bruce wrote: >> >>> >>> I can work with that, but it's going to be a bit inefficient, as I >>>  actually need the dma_addr_t, not the phys_addr_t, so I'll have t

[PATCH V2 0/9] mpc5200 audio rework for AC97

2009-05-23 Thread Jon Smirl
The following series implements audio support for the mpc5200. It adds an AC97 driver and STAC9766 codec driver. Board support for the Efika and Phytec pcm030 are also included. Mark is not enthused about soc-of-simple.c so rather than extend it for AC97 I altered the drivers to not use it. In

[PATCH V2 1/9] Register the wm9712 DAIs on module load

2009-05-23 Thread Jon Smirl
Register the wm9712 DAIs on module load Signed-off-by: Jon Smirl --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c index 1fd4e88..49ad987 100644 --- a/sound/soc/codecs/wm9712.c +++ b/sound/soc/codecs/wm9712.c @@ -742,6 +742,1

[PATCH V2 2/9] Basic split of mpc5200 DMA code out from mpc5200_psc_i2s

2009-05-23 Thread Jon Smirl
Basic split of mpc5200 DMA code out from i2s into a standalone file. Signed-off-by: Jon Smirl --- sound/soc/fsl/Kconfig |4 sound/soc/fsl/Makefile |2 sound/soc/fsl/mpc5200_dma.c | 458 + sound/soc/fsl/mpc5200_dma.h | 81

[PATCH V2 3/9] Rename the PSC functions to DMA

2009-05-23 Thread Jon Smirl
Rename the functions in the mpc5200 DMA file from i2s based names to dma ones to reflect the file they are in. Signed-off-by: Jon Smirl --- sound/soc/fsl/mpc5200_dma.c | 194 --- sound/soc/fsl/mpc5200_dma.h | 26 +++-- sound/soc/fsl/mpc5200_psc_i2s

[PATCH V2 5/9] Main rewite of the mpc5200 audio DMA code

2009-05-23 Thread Jon Smirl
Rewrite the mpc5200 audio DMA code to support both I2S and AC97. Make it more robust. Signed-off-by: Jon Smirl --- sound/soc/fsl/Kconfig |1 sound/soc/fsl/mpc5200_dma.c | 505 ++- sound/soc/fsl/mpc5200_dma.h | 29 +- sound/soc/fsl/mp

[PATCH V2 6/9] Codec for STAC9766 used on the Efika

2009-05-23 Thread Jon Smirl
AC97 codec for STAC9766 used on the Efika. Datasheet: http://www.idt.com/products/getDoc.cfm?docID=13134007 Signed-off-by: Jon Smirl --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 7f78b65..cb07d9b 100644 --- a/sound/so

[PATCH V2 7/9] AC97 driver for mpc5200

2009-05-23 Thread Jon Smirl
AC97 driver for mpc5200 Signed-off-by: Jon Smirl --- sound/soc/fsl/Kconfig| 11 + sound/soc/fsl/Makefile |1 sound/soc/fsl/mpc5200_psc_ac97.c | 394 ++ sound/soc/fsl/mpc5200_psc_ac97.h | 15 + 4 files changed, 421 insertions(+),

[PATCH V2 8/9] Fabric bindings for STAC9766 on the Efika

2009-05-23 Thread Jon Smirl
Fabric bindings for STAC9766 AC97 codec on the Efika. Signed-off-by: Jon Smirl --- sound/soc/fsl/Kconfig |8 +++ sound/soc/fsl/Makefile |3 + sound/soc/fsl/efika-audio-fabric.c | 94 3 files changed, 105 insertions(+), 0 del

[PATCH V2 9/9] Support for AC97 on Phytec pmc030 base board.

2009-05-23 Thread Jon Smirl
Support for AC97 on Phytec pmc030 base board. A wm9712 AC97 codec is used. Signed-off-by: Jon Smirl --- sound/soc/fsl/Kconfig |7 +++ sound/soc/fsl/Makefile |1 sound/soc/fsl/pcm030-audio-fabric.c | 94 +++ 3 files changed, 10

Re: [PATCH V2 0/9] mpc5200 audio rework for AC97

2009-05-23 Thread Jon Smirl
On Sat, May 23, 2009 at 7:12 PM, Jon Smirl wrote: > The following series implements audio support for the mpc5200. It adds an > AC97 driver and STAC9766 codec driver. Board support for the Efika and Phytec > pcm030 are also included. Series is based on branch for-2.6.31 commit 0154724d487586241

[PATCH V2 4/9] Add a few more mpc5200 PSC defines

2009-05-23 Thread Jon Smirl
Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC registers. This patch is going in via Grant's tree. Signed-off-by: Jon Smirl --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h b/arch/powerpc/include/asm/mpc52xx_

Re: mpc8315e-rdb: pci_enable_msi() fails (using today's galak/powerpc.git tree)

2009-05-23 Thread Michael Ellerman
On Sun, 2009-05-24 at 00:12 +0200, Leon Woestenberg wrote: > Hello, > > On Sat, May 23, 2009 at 10:58 PM, Leon Woestenberg > wrote: > > using this tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git > > > > pci_enable_msi() fails on my MPC8315E-RDB board with PCIe device in

Re: powerpc: DMA coherent allocations broken for CONFIG_NOT_COHERENT_CACHE

2009-05-23 Thread Grant Likely
Ilya, any comment on this? Can a fix be made quickly, or should this patch be reverted until a more robust version can be crafted? g. On Thu, May 21, 2009 at 10:50 AM, Albert Herranz wrote: > > Hello list, > > Commit 33f00dcedb0e22cdb156a23632814fc580fcfcf8 seems to have broken DMA > coherent