Re: [PATCH 0/2] mpc5200 ac97 gpio reset

2010-06-09 Thread Jon Smirl
On Wed, Jun 9, 2010 at 2:13 AM, Wolfgang Denk w...@denx.de wrote: Dear Jon Smirl, In message aanlktimis90kr5uqhdbq02osd94dn08soitm51ylr...@mail.gmail.com you wrote: Would making a change in uboot be a better solution? Eric, can you verify if changing uboot also fixes the problem? To me

Re: [PATCH 0/2] mpc5200 ac97 gpio reset

2010-06-09 Thread Jon Smirl
to ask the chip if it is in test mode? We need to be sure that's whats happening and it isn't some other glitch. -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 0/2] mpc5200 ac97 gpio reset

2010-06-08 Thread Jon Smirl
the original message. Thank you. Please consider the environment before printing this email. -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

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 broo...@opensource.wolfsonmicro.com 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 jonsm...@gmail.com wrote: current period.  My understanding of ALSA is that the application is supposed

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 broo...@opensource.wolfsonmicro.com 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

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 grant.lik...@secretlab.ca wrote: On Wed, Nov 11, 2009 at 11:37 AM, Mark Brown broo...@opensource.wolfsonmicro.com 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

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 grant.lik...@secretlab.ca wrote: On Wed, Nov 11, 2009 at 2:34 PM, Jon Smirl jonsm...@gmail.com wrote: On Wed, Nov 11, 2009 at 2:24 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Nov 11, 2009 at 11:37 AM, Mark Brown broo

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

2009-11-07 Thread Jon Smirl
{        struct snd_pcm_runtime *runtime; -       snd_pcm_uframes_t appl_ptr; -        int active;        struct psc_dma *psc_dma;        struct bcom_task *bcom_task; -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev

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

2009-11-07 Thread Jon Smirl
On Sat, Nov 7, 2009 at 7:51 AM, Jon Smirl jonsm...@gmail.com wrote: On Sat, Nov 7, 2009 at 3:34 AM, Grant Likely grant.lik...@secretlab.ca wrote: Sound drivers PCM DMA is supposed to free-run until told to stop by the trigger callback.  The current code tries to track appl_ptr, to avoid

Re: lite5200b kernel not booting

2009-09-25 Thread Jon Smirl
-MPC5200B-tinyRDK.html Kind regards and thank you for the help, Asier ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev -- Jon Smirl jonsm...@gmail.com

mpc5200, reboots will idle

2009-08-21 Thread Jon Smirl
+0x5c/0x88 [c040ffc0] [c03b17c0] start_kernel+0x2a0/0x2b4 [c040fff0] [3438] 0x3438 Rebooting in 180 seconds.. -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH V2] Use clock freqency from the device tree to calculate correct MPC5200 PSC clock.

2009-08-21 Thread Jon Smirl
Use clock freqency from the device tree to calculate correct MPC5200 PSC clock. Previous code had errors or used a constant. This versions computes the right clock based on the xtal and register settings. Adjusted from previous version to rebase onto current Linus tree. Signed-off-by: Jon Smirl

PSC clock divider

2009-08-07 Thread Jon Smirl
and them move this code into mpc52xx_common.c? That allows the sysclk parameter to be eliminated for SPI. -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] Use clock freqency from the device tree to calculate correct MPC5200 PSC clock.

2009-08-07 Thread Jon Smirl
Use clock freqency from the device tree to calculate correct MPC5200 PSC clock. Previous code had errors or used a constant. This versions computes the right clock based on the xtal and register settings. --- arch/powerpc/include/asm/mpc52xx.h |2 +-

[PATCH V2] Use clock freqency from the device tree to calculate correct MPC5200 PSC clock.

2009-08-07 Thread Jon Smirl
Use clock freqency from the device tree to calculate correct MPC5200 PSC clock. Previous code had errors or used a constant. This versions computes the right clock based on the xtal and register settings. Signed-off-by: Jon Smirl jonsm...@gmail.com --- arch/powerpc/include/asm/mpc52xx.h

Re: [PATCH 1/2] ASoC: Fix mpc5200-psc-ac97 to ensure the data ready bit is cleared

2009-07-02 Thread Jon Smirl
.  This patch fixes the issues by ensuring stale data is cleared before starting another transaction. Signed-off-by: Grant Likely grant.lik...@secretlab.ca Acked-by: Jon Smirl jonsm...@gmail.com ---  sound/soc/fsl/mpc5200_psc_ac97.c |    4  1 files changed, 4 insertions(+), 0 deletions(-) diff

Re: [PATCH 2/2] ASoC: add locking to mpc5200-psc-ac97 driver

2009-07-02 Thread Jon Smirl
. Signed-off-by: Grant Likely grant.lik...@secretlab.ca Acked-by: Jon Smirl jonsm...@gmail.com ---  sound/soc/fsl/mpc5200_dma.c      |    1 +  sound/soc/fsl/mpc5200_dma.h      |    1 +  sound/soc/fsl/mpc5200_psc_ac97.c |   13 -  3 files changed, 14 insertions(+), 1 deletions(-) diff

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-07-01 Thread Jon Smirl
VtYAoIa5/viinyvFF5cQP3BvH9WP3a5I =Zrq3 -END PGP SIGNATURE- -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Jon Smirl
down why. -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Jon Smirl
lT4AnAy3ES9r3wriGkRN7ivnLA3zyRHb =RUPr -END PGP SIGNATURE- -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-29 Thread Jon Smirl
your touchscreen driver use this mutex? Or was this mutex needed just for the AC97 driver? -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 1/2] alsa/soc: Fix typo in MPC5200 PSC AC97 driver Kconfig

2009-06-28 Thread Jon Smirl
bus, which prevents thinks like the WM9712 touchscreen driver from getting probed. Tested against 2.6.31-rc1. Signed-off-by: Grant Likely grant.lik...@secretlab.ca Acked-by: Jon Smirl jonsm...@gmail.com ---  sound/soc/fsl/Kconfig |    2 +-  1 files changed, 1 insertions(+), 1 deletions

Re: [PATCH 2/2] sound/soc: remove BROKEN from Efika and pcm030 fabric drivers

2009-06-28 Thread Jon Smirl
0c0e09e21a9e7bc6ca54e06ef3d497255ca26383 (ASoC: Mark MPC5200 AC97 as BROKEN until PowerPC merge issues are resolved) Tested against 2.6.31-rc1. Signed-off-by: Grant Likely grant.lik...@secretlab.ca Acked-by: Jon Smirl jonsm...@gmail.com ---  sound/soc/fsl/Kconfig |    4 ++--  1 files changed, 2 insertions(+), 2

[PATCH] Have git ignore generated files from dtc compile

2009-06-21 Thread Jon Smirl
--- arch/powerpc/boot/.gitignore | 10 ++ scripts/dtc/.gitignore |5 + 2 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 scripts/dtc/.gitignore diff --git a/arch/powerpc/boot/.gitignore b/arch/powerpc/boot/.gitignore index d57aa5c..dab1b41 100644 ---

[PATCH] Have git ignore generated files from dtc compile

2009-06-21 Thread Jon Smirl
Have git ignore generated files from dtc compile Signed-off-by: Jon Smirl jonsm...@gmail.com --- arch/powerpc/boot/.gitignore | 10 ++ scripts/dtc/.gitignore |5 + 2 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 scripts/dtc/.gitignore diff --git

build failure in PPC mpc5200_psc_ac97

2009-06-12 Thread Jon Smirl
The new driver for AC97 on the mpc5200 has landed in front of Timur's patch implementing spin_event_timeout(). Timur's patch is in powerpc-next which hasn't been merged yet. mpc5200_psc_ac97 will build ok after this merge happens. -- Jon Smirl jonsm...@gmail.com

Re: Missing some interrupts

2009-06-06 Thread Jon Smirl
-dev -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [BUILD FAILURE 02/04] Next June 04:PPC64 randconfig [drivers/usb/host/ohci-hcd.o]

2009-06-04 Thread Jon Smirl
should fix this. It has not been merged. http://lkml.org/lkml/2009/4/22/49 -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: PWM class? (was: Re: MPC52xx simple GPIO support)

2009-06-03 Thread Jon Smirl
...@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html Please read the FAQ at  http://www.tux.org/lkml/ -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc

Re: [PATCH V3 4/4] Fabric bindings for STAC9766 on the Efika

2009-05-28 Thread Jon Smirl
On Thu, May 28, 2009 at 10:00 AM, Peter Korsgaard jac...@sunsite.dk wrote: Jon == Jon Smirl jonsm...@gmail.com writes: Hi,  Jon Fabric bindings for STAC9766 AC97 codec on the Efika.  Jon Signed-off-by: Jon Smirl jonsm...@gmail.com  Jon ---  Jon  sound/soc/fsl/Kconfig              |    8

Re: [Solved/Patch Question] Weird 5200/mtd-ram problem

2009-05-27 Thread Jon Smirl
-name, rd-nsize); Thanks, Albrecht. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing

Re: [alsa-devel] [PATCH V4 0/5] AC97 driver for mpc5200

2009-05-26 Thread Jon Smirl
On Mon, May 25, 2009 at 11:44 PM, Timur Tabi ti...@freescale.com wrote: On Mon, May 25, 2009 at 5:15 PM, Jon Smirl jonsm...@gmail.com wrote:      The macro spin_event_timeout() takes a condition and timeout value My patch is already set to go through the powerpc tree, so there's no need

[PATCH V5 0/5] AC97 driver for mpc5200

2009-05-26 Thread Jon Smirl
Version 5. Modified to use spin_event_timeout() as originally written. --- Jon Smirl (5): Fabric bindings for STAC9766 on the Efika Support for AC97 on Phytec pmc030 base board. AC97 driver for mpc5200 Main rewite of the mpc5200 audio DMA code powerpc: introduce

[PATCH V5 1/5] powerpc: introduce macro spin_event_timeout()

2009-05-26 Thread Jon Smirl
The macro spin_event_timeout() takes a condition and timeout value (in microseconds) as parameters. It spins until either the condition is true or the timeout expires. It returns the result of the condition when the loop was terminated. This primary purpose of this macro is to poll on a

[PATCH V5 2/5] Main rewite of the mpc5200 audio DMA code

2009-05-26 Thread Jon Smirl
Rewrite the mpc5200 audio DMA code to support both I2S and AC97. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |1 sound/soc/fsl/mpc5200_dma.c | 442 --- sound/soc/fsl/mpc5200_dma.h | 33 +-- sound/soc/fsl

[PATCH V5 3/5] AC97 driver for mpc5200

2009-05-26 Thread Jon Smirl
once in a while even five pokes won't get the link started and I have to power cycle. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig| 11 + sound/soc/fsl/Makefile |1 sound/soc/fsl/mpc5200_psc_ac97.c | 331

[PATCH V5 4/5] Support for AC97 on Phytec pmc030 base board.

2009-05-26 Thread Jon Smirl
Support for AC97 on Phytec pmc030 base board. A wm9712 AC97 codec is used. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |7 +++ sound/soc/fsl/Makefile |3 + sound/soc/fsl/pcm030-audio-fabric.c | 90

Re: [PATCH V5 1/5] powerpc: introduce macro spin_event_timeout()

2009-05-26 Thread Jon Smirl
On Tue, May 26, 2009 at 9:03 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Tue, May 26, 2009 at 08:34:06AM -0400, Jon Smirl wrote: The macro spin_event_timeout() takes a condition and timeout value (in microseconds) as parameters.  It spins until either the condition is true

Re: [PATCH 1/2 v8] powerpc: introduce macro spin_event_timeout()

2009-05-26 Thread Jon Smirl
On Tue, May 26, 2009 at 12:20 PM, Geoff Thorpe geoff.tho...@freescale.com wrote: Timur Tabi wrote: On Mon, May 25, 2009 at 12:46 PM, Jon Smirl jonsm...@gmail.com wrote: I just tried using this. The !rc has the effect of making the error return be zero instead the normal not zero. You're

Re: [alsa-devel] [PATCH V4 2/5] Main rewite of the mpc5200 audio DMA code

2009-05-26 Thread Jon Smirl
On Tue, May 26, 2009 at 12:51 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, May 26, 2009 at 5:01 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Mon, May 25, 2009 at 06:15:09PM -0400, Jon Smirl wrote: Rewrite the mpc5200 audio DMA code to support both I2S and AC97

Re: [PATCH 1/2 v8] powerpc: introduce macro spin_event_timeout()

2009-05-26 Thread Jon Smirl
) do something else here Then if I don't care about the result (which I think is the common case)... rc = spin_event_timeout(in_be32(x) 0x14, ...); if (rc) timeout_happened; -- Timur Tabi Linux kernel developer at Freescale -- Jon Smirl jonsm...@gmail.com

Re: [PATCH 1/2 v8] powerpc: introduce macro spin_event_timeout()

2009-05-26 Thread Jon Smirl
___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo

[PATCH] Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()

2009-05-26 Thread Jon Smirl
The function signature for spin_event_timeout() has changed in version V9. Adjust the mpc5200 AC97 driver to use the new function. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/mpc5200_psc_ac97.c | 30 ++ 1 files changed, 14 insertions(+), 16

Re: [alsa-devel] [PATCH] Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()

2009-05-26 Thread Jon Smirl
On Tue, May 26, 2009 at 8:38 PM, Timur Tabi ti...@freescale.com wrote: On Tue, May 26, 2009 at 7:25 PM, Jon Smirl jonsm...@gmail.com wrote: -       spin_event_timeout(0, 10, 0, rc); +       spin_event_timeout(0, 10, 0);        out_8(regs-op0, MPC52xx_PSC_OP_RES); -       spin_event_timeout(0

Re: [alsa-devel] [PATCH] Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()

2009-05-26 Thread Jon Smirl
On Tue, May 26, 2009 at 8:53 PM, Timur Tabi ti...@freescale.com wrote: On Tue, May 26, 2009 at 7:44 PM, Jon Smirl jonsm...@gmail.com wrote: Because Grant didn't want me doing udelay(50) just to delay things in order to give the AC97 controller time to initialize. Your function lets me loop

[PATCH V2] Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()

2009-05-26 Thread Jon Smirl
The function signature for spin_event_timeout() has changed in version V9. Adjust the mpc5200 AC97 driver to use the new function. v2 - switch back to udelay() for fixed timeouts. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/mpc5200_psc_ac97.c | 30

[PATCH V3] Modify mpc5200 AC97 driver to use V9 of spin_event_timeout()

2009-05-26 Thread Jon Smirl
The function signature for spin_event_timeout() has changed in version V9. Adjust the mpc5200 AC97 driver to use the new function. v2 - switch back to udelay() for fixed timeouts. v3 - forgot about driver being market broken, fix typo Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl

Re: [PATCH V3 3/4] Support for AC97 on Phytec pmc030 base board.

2009-05-25 Thread Jon Smirl
On Mon, May 25, 2009 at 2:34 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Sun, May 24, 2009 at 7:38 PM, Jon Smirl jonsm...@gmail.com wrote: This is ugly.  I'd really rather have a generic mechanism for creating a fabric driver based on the OF data.  But failing that, it seems to me

Re: [PATCH V3 2/4] AC97 driver for mpc5200

2009-05-25 Thread Jon Smirl
expect it to also cover the modification of psc_dma-slots?  Otherwise it's hard to see what it buys you. Grant, why are you spin locking around register access? -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https

Re: [PATCH 1/2 v8] powerpc: introduce macro spin_event_timeout()

2009-05-25 Thread Jon Smirl
();                                        \ +} +  #endif /* __KERNEL__ */  #endif /* _ASM_POWERPC_DELAY_H */ -- 1.6.0.6 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev -- Jon Smirl jonsm...@gmail.com

[PATCH V4 0/5] AC97 driver for mpc5200

2009-05-25 Thread Jon Smirl
% of the time. An oscilliscope is needed to figure out what is going on with failed resets. Both pcm030 and Efika ocasionally fail to reset and they use different codec chips. --- Jon Smirl (5): Fabric bindings for STAC9766 on the Efika Support for AC97 on Phytec pmc030 base board

[PATCH V4 1/5] The macro spin_event_timeout() takes a condition and timeout value

2009-05-25 Thread Jon Smirl
(in microseconds) as parameters. It spins until either the condition is true or the timeout expires. It returns the result of the condition when the loop was terminated. This primary purpose of this macro is to poll on a hardware register until a status bit changes. The timeout ensures that

[PATCH V4 2/5] Main rewite of the mpc5200 audio DMA code

2009-05-25 Thread Jon Smirl
Rewrite the mpc5200 audio DMA code to support both I2S and AC97. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |1 sound/soc/fsl/mpc5200_dma.c | 442 --- sound/soc/fsl/mpc5200_dma.h | 43 ++-- sound/soc/fsl

[PATCH V4 3/5] AC97 driver for mpc5200

2009-05-25 Thread Jon Smirl
once in a while even five pokes won't get the link started and I have to power cycle. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig| 11 + sound/soc/fsl/Makefile |1 sound/soc/fsl/mpc5200_psc_ac97.c | 331

[PATCH V4 4/5] Support for AC97 on Phytec pmc030 base board.

2009-05-25 Thread Jon Smirl
Support for AC97 on Phytec pmc030 base board. A wm9712 AC97 codec is used. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |7 +++ sound/soc/fsl/Makefile |3 + sound/soc/fsl/pcm030-audio-fabric.c | 90

[PATCH V4 5/5] Fabric bindings for STAC9766 on the Efika

2009-05-25 Thread Jon Smirl
Fabric bindings for STAC9766 AC97 codec on the Efika. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |8 +++ sound/soc/fsl/Makefile |1 sound/soc/fsl/efika-audio-fabric.c | 90 3 files changed, 99

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

2009-05-24 Thread Jon Smirl
driver is detecting the codec id and printing it before trying to access the codec driver. I can convert that to a load_module() call when the drivers are ready. The core needs to detect if a specific codec id can't be supported to fall back to the generic AC97 driver. -- Jon Smirl jonsm

Re: [alsa-devel] [PATCH V2 1/9] Register the wm9712 DAIs on module load

2009-05-24 Thread Jon Smirl
On Sun, May 24, 2009 at 7:11 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Sat, May 23, 2009 at 07:12:57PM -0400, Jon Smirl wrote: Register the wm9712 DAIs on module load Signed-off-by: Jon Smirl jonsm...@gmail.com Why do you wish to do this - ASoC does not require or use DAI

Re: [alsa-devel] [PATCH V2 1/9] Register the wm9712 DAIs on module load

2009-05-24 Thread Jon Smirl
DAI 'AC97' Registered DAI 'SPDIF' mpc5200-psc-ac97 f0002000.ac97: Codec ID is 574d 4c12 soc-audio soc-audio.1: DAI AC97 HiFi not registered soc-audio soc-audio.1: Registered card 'pcm030' ALSA device list: No soundcards found. -- Jon Smirl jonsm...@gmail.com

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

2009-05-24 Thread Jon Smirl
                | http://www.pengutronix.de/  | -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoZmA0ACgkQD27XaX1/VRvugwCgsluxfp1rJH2MVFMTH6Yqo8bX dnIAn1z0QRIFEUJa0XpGFE937siwf8Cy =M0wP -END PGP SIGNATURE- -- Jon Smirl jonsm...@gmail.com

[PATCH V3 0/4] mpc5200 audio rework for AC97

2009-05-24 Thread Jon Smirl
0bc53a67ac831ec84f730a657dbcadd80a589ef5 on broonie/for-2.6.31 at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound-2.6.git --- Jon Smirl (4): Fabric bindings for STAC9766 on the Efika Support for AC97 on Phytec pmc030 base board. AC97 driver for mpc5200 Main rewite of the mpc5200 audio

[PATCH V3 1/4] Main rewite of the mpc5200 audio DMA code

2009-05-24 Thread Jon Smirl
Rewrite the mpc5200 audio DMA code to support both I2S and AC97. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |1 sound/soc/fsl/mpc5200_dma.c | 504 ++- sound/soc/fsl/mpc5200_dma.h | 33 +-- sound/soc/fsl

[PATCH V3 2/4] AC97 driver for mpc5200

2009-05-24 Thread Jon Smirl
once in a while even five pokes won't get the link started and I have to power cycle. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig| 11 + sound/soc/fsl/Makefile |1 sound/soc/fsl/mpc5200_psc_ac97.c | 392

[PATCH V3 3/4] Support for AC97 on Phytec pmc030 base board.

2009-05-24 Thread Jon Smirl
Support for AC97 on Phytec pmc030 base board. A wm9712 AC97 codec is used. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |7 +++ sound/soc/fsl/Makefile |3 + sound/soc/fsl/pcm030-audio-fabric.c | 95

[PATCH V3 4/4] Fabric bindings for STAC9766 on the Efika

2009-05-24 Thread Jon Smirl
Fabric bindings for STAC9766 AC97 codec on the Efika. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |8 +++ sound/soc/fsl/Makefile |1 sound/soc/fsl/efika-audio-fabric.c | 95 3 files changed, 104

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

2009-05-23 Thread Jon Smirl
, etc based on feedback. I2S will get examined in more detail for the next kernel cycle. Our multi-channel prototype I2S hardware is just about working. Once I get the multi-channel hardware I will implement and heavily test a lot more I2S capability. --- Jon Smirl (9): Support for AC97

[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 jonsm...@gmail.com --- 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

[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 jonsm...@gmail.com --- sound/soc/fsl/Kconfig |4 sound/soc/fsl/Makefile |2 sound/soc/fsl/mpc5200_dma.c | 458 + sound/soc/fsl

[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 jonsm...@gmail.com --- sound/soc/fsl/mpc5200_dma.c | 194 --- sound/soc/fsl/mpc5200_dma.h | 26 +++-- sound/soc

[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 jonsm...@gmail.com --- sound/soc/fsl/Kconfig |1 sound/soc/fsl/mpc5200_dma.c | 505 ++- sound/soc/fsl/mpc5200_dma.h | 29

[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 jonsm...@gmail.com --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 7f78b65..cb07d9b

[PATCH V2 7/9] AC97 driver for mpc5200

2009-05-23 Thread Jon Smirl
AC97 driver for mpc5200 Signed-off-by: Jon Smirl jonsm...@gmail.com --- 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

[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 jonsm...@gmail.com --- sound/soc/fsl/Kconfig |8 +++ sound/soc/fsl/Makefile |3 + sound/soc/fsl/efika-audio-fabric.c | 94 3 files changed, 105

[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 jonsm...@gmail.com --- sound/soc/fsl/Kconfig |7 +++ sound/soc/fsl/Makefile |1 sound/soc/fsl/pcm030-audio-fabric.c | 94

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 jonsm...@gmail.com 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

[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 jonsm...@gmail.com --- 0 files changed, 0 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h b/arch/powerpc

Re: [PATCH] mpc52xx_psc_spi: Convert to cs_control callback

2009-05-22 Thread Jon Smirl
+ 1; } - return mpc52xx_psc_spi_do_probe(op-dev, (u32)regaddr64, (u32)size64, + return mpc52xx_psc_spi_do_probe(op, (u32)regaddr64, (u32)size64, irq_of_parse_and_map(op-node, 0), id); } -- Jon Smirl jonsm...@gmail.com

[PATCH] Add a few more mpc5200 PSC defines

2009-05-22 Thread Jon Smirl
Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC registers Signed-off-by: Jon Smirl jonsm...@gmail.com --- arch/powerpc/include/asm/mpc52xx_psc.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx_psc.h

Re: [PATCH] Add a few more mpc5200 PSC defines

2009-05-22 Thread Jon Smirl
On Fri, May 22, 2009 at 11:33 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, May 22, 2009 at 9:25 AM, Jon Smirl jonsm...@gmail.com wrote: Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC registers Signed-off-by: Jon Smirl jonsm...@gmail.com Thanks Jon

Audio and mpc5200 bestcomm tasks

2009-05-21 Thread Jon Smirl
to estimate how far into the buffer DMA has progressed. But that's not as accurate as just asking the DMA hardware. I poked around in the SRAM data and couldn't find the address. Is it there or can the Bestcomm tasks be modified to leave it somewhere visible? -- Jon Smirl jonsm...@gmail.com

Re: mpc5200 fec error

2009-05-20 Thread Jon Smirl
/mpc5xxx/cpu_init.c: *(vu_long *)(MPC5XXX_XLBARB + 0x40) |= (1 15); -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc/pcm030.dts: add i2c eeprom and delete cruft

2009-05-20 Thread Jon Smirl
     */ -                                ; -               };        };        ...@fd00 { -- 1.6.2 ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev

Re: [PATCH] powerpc/pcm030.dts: add i2c eeprom and delete cruft

2009-05-20 Thread Jon Smirl
- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoUJ4oACgkQD27XaX1/VRsSbwCgo1o//DG1wjKGR7BY1lkRxOAi 8kIAoJghKuhKMNBDXUhA4sWj/vRfDoDV =Bmoy -END PGP SIGNATURE- -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev

Re: mpc5200 fec error

2009-05-20 Thread Jon Smirl
On Wed, May 20, 2009 at 11:28 AM, Eric Millbrandt emillbra...@dekaresearch.com wrote: -Original Message- From: Jon Smirl [mailto:jonsm...@gmail.com] Sent: Wednesday, May 20, 2009 11:15 To: Eric Millbrandt Cc: Wolfram Sang; Grant Likely; linuxppc-dev@ozlabs.org Subject: Re: mpc5200

Re: Using archaic I2C with OF

2009-05-01 Thread Jon Smirl
to work in the current model. -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: Using archaic I2C with OF

2009-05-01 Thread Jon Smirl
On Fri, May 1, 2009 at 10:39 AM, Jon Smirl jonsm...@gmail.com wrote: On Fri, May 1, 2009 at 9:04 AM, Gary Thomas g...@mlbassoc.com wrote: I'd like to use an existing I2C driver (a touchscreen device) with my 834x based platform.  How do I arrange to provide platform data (i2c_client

Re: Using archaic I2C with OF

2009-05-01 Thread Jon Smirl
On Fri, May 1, 2009 at 10:50 AM, Gary Thomas g...@mlbassoc.com wrote: Jon Smirl wrote: On Fri, May 1, 2009 at 10:39 AM, Jon Smirl jonsm...@gmail.com wrote: On Fri, May 1, 2009 at 9:04 AM, Gary Thomas g...@mlbassoc.com wrote: I'd like to use an existing I2C driver (a touchscreen device

[PATCH V1 0/3] Split the DMA core out from mpc5200_psc_i2s.c

2009-04-26 Thread Jon Smirl
Patch series to separate out the mpc5200 core DMA routines from mpc5200_psc_i2s.c into a standalone mpc5200_dma.c. No intention to change how anything works, this is just a code reorg needed for later patches to build on. --- Jon Smirl (3): Rename exports in mpc5200_dma.c Rename

[PATCH V1 1/3] Basic split of mpc5200 DMA code out from mpc5200_psc_i2s

2009-04-26 Thread Jon Smirl
Basic split of mpc5200 DMA code out from i2s into a standalone file. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/Kconfig |4 sound/soc/fsl/Makefile |2 sound/soc/fsl/mpc5200_dma.c | 457 + sound/soc/fsl

[PATCH V1 3/3] Rename exports in mpc5200_dma.c

2009-04-26 Thread Jon Smirl
Rename the public DMA exports into the global name space so that the DMA code can be built as a module. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/mpc5200_dma.c | 18 -- sound/soc/fsl/mpc5200_dma.h | 10 +- sound/soc/fsl/mpc5200_psc_i2s.c

[PATCH V1 2/3] Rename the PSC functions to DMA

2009-04-26 Thread Jon Smirl
Rename the functions in the mpc5200 DMA file from i2s to dma to reflect the file they are in. Signed-off-by: Jon Smirl jonsm...@gmail.com --- sound/soc/fsl/mpc5200_dma.c | 194 --- sound/soc/fsl/mpc5200_dma.h | 26 +++-- sound/soc/fsl

Re: [PATCH V1 3/3] Rename exports in mpc5200_dma.c

2009-04-26 Thread Jon Smirl
On Mon, Apr 27, 2009 at 12:08 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Sun, Apr 26, 2009 at 1:53 PM, Jon Smirl jonsm...@gmail.com wrote: Rename the public DMA exports into the global name space so that the DMA code can be built as a module. Signed-off-by: Jon Smirl jonsm

mpc5200 and dma_ops

2009-04-17 Thread Jon Smirl
? -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: mpc5200 and dma_ops

2009-04-17 Thread Jon Smirl
On Fri, Apr 17, 2009 at 8:58 PM, Jon Smirl jonsm...@gmail.com wrote: Inside the ASoC code there a dma_alloc_coherent() call. This call is failing because dma_ops is null. --kernel BUG at /home/jonsmirl/fs/arch/powerpc/include/asm/dma-mapping.h:237! The device is soc-audio which

Re: [RFC 1/2] powerpc/5200: add general purpose timer API for the MPC5200

2009-03-06 Thread Jon Smirl
*/ compatible = gpt-ir; cell-index = 7; reg = 0x670 0x10; interrupts = 0x1 0x10 0x0; interrupt-parent = mpc5200_pic; }; -- Jon Smirl jonsm...@gmail.com jds-lirc-gpt Description

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-06 Thread Jon Smirl
On Tue, Mar 3, 2009 at 3:12 AM, Robert Schwebel r.schwe...@pengutronix.de wrote: On Sun, Mar 01, 2009 at 09:33:16PM -0700, Grant Likely wrote: On Sun, Mar 1, 2009 at 7:19 PM, Jon Smirl jonsm...@gmail.com wrote: Would it be easier to get Pengutronix to release a new u-boot for the pcm030? I'm

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
://ozlabs.org/mailman/listinfo/linuxppc-dev -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
On Sun, Mar 1, 2009 at 7:37 PM, Jon Smirl jonsm...@gmail.com wrote: Just tried it on pcm030. If I uncomment the reg line the kernel won't boot at all. I don't get any output. I hooked up a serial console instead of netcat. ## Booting image at 0050 ... Image Name: Linux-2.6.29-rc6

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
/mpc52xx_psc_uart: IRQF_DISABLED is not guaranteed on shared IRQs -- Jon Smirl jonsm...@gmail.com ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)

2009-03-01 Thread Jon Smirl
On Sun, Mar 1, 2009 at 8:07 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Sun, Mar 1, 2009 at 5:46 PM, Jon Smirl jonsm...@gmail.com wrote: On Sun, Mar 1, 2009 at 7:37 PM, Jon Smirl jonsm...@gmail.com wrote: Just tried it on pcm030. If I uncomment the reg line the kernel won't boot

  1   2   3   4   5   >