s (which is
> more what your changelog sounded like).
>
Mark, is there a way 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
On Wed, Jun 9, 2010 at 2:13 AM, Wolfgang Denk wrote:
> Dear Jon Smirl,
>
> In message 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 it seems better if the
t; strictly prohibited. If you have received this communication in error, please
> immediately notify the sender and destroy 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
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
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 thi
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.
&g
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
On Sat, Nov 7, 2009 at 7:51 AM, Jon Smirl wrote:
> On Sat, Nov 7, 2009 at 3:34 AM, Grant Likely
> 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 stale buffer da
t_buffer(s);
>
> bcom_enable(s->bcom_task);
> spin_unlock_irqrestore(&psc_dma->lock, flags);
> diff --git a/sound/soc/fsl/mpc5200_dma.h b/sound/soc/fsl/mpc5200_dma.h
> index 529f7a0..d9c741b 100644
> --- a/sound/soc/fsl/mpc5200_dma.h
> +++ b/sound/soc/fsl/mpc5200_dma.h
> @@ -19,8 +19,6 @@
> */
> struct psc_dma_stream {
> 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@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
uktdetails.html?tx_ttproducts_pi1[backPID]=270&tx_ttproducts_pi1[product]=62&cHash=6fbc8dcdb2
http://www.phytec.com/products/rdk/PowerPC/phyCORE-MPC5200B-tinyRDK.html
>
> Kind regards and thank you for the help,
> Asier
>
> __________
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
/0xd4 (unreliable)
[c040ffb0] [c0003e54] rest_init+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
htt
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
---
arch/powerpc/include/asm/mpc52xx.h |2 +-
arch
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 +-
arch/powerpc/platforms/52xx/mpc52
c be eliminated and this function:
mpc5xxx_get_bus_frequency(struct device_node *node)
be moved into mpc52cc_common.c?
--
Jon Smirl
jonsm...@gmail.com
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
I modify mpc52xx_set_psc_clkdiv() to take in a frequency 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
labs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
--
Jon Smirl
jonsm...@gmail.com
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
p;psc_dma->psc_regs->sr_csr.status) &
> MPC52xx_PSC_SR_CMDSEND), 100, 0);
> if (status == 0) {
> pr_err("timeout on ac97 bus (write)\n");
> - return;
> + goto out;
> }
> /* Write data */
> out_be32(&psc_dma->psc_regs->ac97_cmd,
> ((reg & 0x7f) << 24) | (val << 8));
> +
> + out:
> + mutex_unlock(&psc_dma->mutex);
> }
>
> static void psc_ac97_warm_reset(struct snd_ac97 *ac97)
>
>
--
Jon Smirl
jonsm...@gmail.com
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
nsuring stale data is cleared before starting another transaction.
>
> Signed-off-by: Grant Likely
Acked-by: Jon Smirl
> ---
>
> sound/soc/fsl/mpc5200_psc_ac97.c | 4
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
>
> diff --git a/sound/soc/fsl/mpc5200_p
-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkpLJMEACgkQD27XaX1/VRs/cwCgn7p7ffxr8WGoW7MwALkBMKtD
> 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
return;
>> + goto out;
>> }
>> /* Write data */
>> out_be32(&psc_dma->psc_regs->ac97_cmd,
>> ((reg & 0x7f) << 24) | (val << 8));
>> +
>> + out:
>> + mutex_unlock(&psc_dma->mutex);
>> }
>>
>> static void psc_ac97_warm_reset(struct snd_ac97 *ac97)
>>
>> ___
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
> --
> Pengutronix e.K. | Wolfram Sang |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkpJrkcACgkQD27XaX1/VRsY/QCgyx8IMANjokbNnrOQlXINRLeW
> 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
involved here. I think this is either a separate patch or it needs
>> at
>> least to be mentioned in the patch description.
>
> Oops, that was sloppy. Yes, I'll put this into a separate patch. Thanks.
Now that you have added the mutexes, do you ever need to force clear
the v
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
gt; AC97 as BROKEN until PowerPC merge issues are resolved)
>
> Tested against 2.6.31-rc1.
>
> Signed-off-by: Grant Likely
Acked-by: Jon Smirl
> ---
>
> sound/soc/fsl/Kconfig | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
>
> diff --git a/so
like the WM9712
> touchscreen driver from getting probed.
>
> Tested against 2.6.31-rc1.
>
> Signed-off-by: Grant Likely
Acked-by: Jon Smirl
> ---
>
> sound/soc/fsl/Kconfig | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> diff --git a/so
Have git ignore generated files from dtc compile
Signed-off-by: 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
---
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
--- a
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
jon
_
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
--
Jon Smirl
jonsm...@gmail.com
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
225
Proposed patch by Arnd 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
ton Vorontsov
> email: cbouatmai...@gmail.com
> irc://irc.freenode.net/bd2
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-in
On Thu, May 28, 2009 at 10:00 AM, Peter Korsgaard wrote:
>>>>>> "Jon" == Jon Smirl writes:
>
> Hi,
>
> Jon> Fabric bindings for STAC9766 AC97 codec on the Efika.
> Jon> Signed-off-by: Jon Smirl
> Jon> ---
> Jon> sound/soc/fsl/Kc
if (!fd) {
return -ENOMEM;
}
- memcpy(&fd->name, rd->name, checkedlen);
+ memcpy_fromio(&fd->name, rd->name, checkedlen);
fd->name[checkedlen] = 0;
crc = crc32(0, fd->name, rd->nsize);
>
> Thanks, Albrecht.
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
---
sound/soc/fsl/mpc5200_psc_ac97
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
---
sound/soc/fsl/mpc5200_psc_ac97.c | 30 ++
1 files
On Tue, May 26, 2009 at 8:53 PM, Timur Tabi wrote:
> On Tue, May 26, 2009 at 7:44 PM, Jon Smirl 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
On Tue, May 26, 2009 at 8:38 PM, Timur Tabi wrote:
> On Tue, May 26, 2009 at 7:25 PM, Jon Smirl wrote:
>
>> - spin_event_timeout(0, 10, 0, rc);
>> + spin_event_timeout(0, 10, 0);
>> out_8(®s->op0, MPC52xx_PSC_OP_RES);
>> -
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
---
sound/soc/fsl/mpc5200_psc_ac97.c | 30 ++
1 files changed, 14 insertions(+), 16 deletions(-)
diff --git
going to be a
source of bugs.
>
> --
> Timur Tabi
> Linux kernel developer at Freescale
> ___
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>
--
Jon Smirl
jonsm...@gmail.com
___
ult = (in_be32(x) & 0x14), ...);
if (rc)
timeout_happened;
if (result & 0x10)
do something here
if (result & 0x04)
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, ..
On Tue, May 26, 2009 at 12:51 PM, Grant Likely
wrote:
> On Tue, May 26, 2009 at 5:01 AM, Mark Brown
> 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.
>>>
>>> Signed
On Tue, May 26, 2009 at 12:20 PM, Geoff Thorpe
wrote:
> Timur Tabi wrote:
>> On Mon, May 25, 2009 at 12:46 PM, Jon Smirl wrote:
>>
>>> I just tried using this. The !rc has the effect of making the error
>>> return be zero instead the normal not zero.
>>
On Tue, May 26, 2009 at 9:03 AM, Mark Brown
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
>> or the
Fabric bindings for STAC9766 AC97 codec on the Efika.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig |8 +++
sound/soc/fsl/Makefile |1
sound/soc/fsl/efika-audio-fabric.c | 90
3 files changed, 99 insertions(+), 0
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 |3 +
sound/soc/fsl/pcm030-audio-fabric.c | 90 +++
3 files changed
ticking. Every once in
a while even five pokes won't get the link started and I have to power
cycle.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig| 11 +
sound/soc/fsl/Makefile |1
sound/soc/fsl/mpc5200_psc_ac97.c | 331 +
Rewrite the mpc5200 audio DMA code to support both I2S and AC97.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig |1
sound/soc/fsl/mpc5200_dma.c | 442 ---
sound/soc/fsl/mpc5200_dma.h | 33 +--
sound/soc/fsl/mpc5200_psc_i2s.c
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 hardware
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
On Mon, May 25, 2009 at 11:44 PM, Timur Tabi wrote:
> On Mon, May 25, 2009 at 5:15 PM, Jon Smirl 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 to re
Fabric bindings for STAC9766 AC97 codec on the Efika.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig |8 +++
sound/soc/fsl/Makefile |1
sound/soc/fsl/efika-audio-fabric.c | 90
3 files changed, 99 insertions(+), 0
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 |3 +
sound/soc/fsl/pcm030-audio-fabric.c | 90 +++
3 files changed
ticking. Every once in
a while even five pokes won't get the link started and I have to power
cycle.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig| 11 +
sound/soc/fsl/Makefile |1
sound/soc/fsl/mpc5200_psc_ac97.c | 331 +
Rewrite the mpc5200 audio DMA code to support both I2S and AC97.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig |1
sound/soc/fsl/mpc5200_dma.c | 442 ---
sound/soc/fsl/mpc5200_dma.h | 43 ++--
sound/soc/fsl/mpc5200_psc_i2s.c
(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 the
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
f (delay) \
> + udelay(delay); \
> + else \
> + cpu_relax(); \
>
gt;
> This locking looks wrong - I'd 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
___
On Mon, May 25, 2009 at 2:16 AM, Grant Likely wrote:
> On Sun, May 24, 2009 at 7:38 PM, Jon Smirl wrote:
>> +static unsigned short psc_ac97_read(struct snd_ac97 *ac97, unsigned short
>> reg)
>> +{
>> + int timeout;
>> + unsigned int val;
>>
On Mon, May 25, 2009 at 2:34 AM, Grant Likely wrote:
> On Sun, May 24, 2009 at 7:38 PM, Jon Smirl 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 that this platform
Fabric bindings for STAC9766 AC97 codec on the Efika.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig |8 +++
sound/soc/fsl/Makefile |1
sound/soc/fsl/efika-audio-fabric.c | 95
3 files changed, 104 insertions(+), 0
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 |3 +
sound/soc/fsl/pcm030-audio-fabric.c | 95 +++
3 files changed
ticking. Every once in
a while even five pokes won't get the link started and I have to power
cycle.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig| 11 +
sound/soc/fsl/Makefile |1
sound/soc/fsl/mpc5200_psc_ac97.c | 392 +
Rewrite the mpc5200 audio DMA code to support both I2S and AC97.
Signed-off-by: Jon Smirl
---
sound/soc/fsl/Kconfig |1
sound/soc/fsl/mpc5200_dma.c | 504 ++-
sound/soc/fsl/mpc5200_dma.h | 33 +--
sound/soc/fsl/mpc5200_psc_i2s.c
ommit 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
olfram Sang |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkoZmA0ACgkQD27XaX1/VRvugwCgsluxfp1rJH2MVFMTH6Yqo8bX
> dnIAn1z0QRIFEUJa0XpGFE937siwf8Cy
500 mapped
to virtual irq 195
Registered 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
On Sun, May 24, 2009 at 7:11 AM, Mark Brown
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
>
> Why do you wish to do this - ASoC does not require or use DAI registration
> fo
n't have an id_table.
My AC97 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
f
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/includ
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.
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
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
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
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
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
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
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
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
ement, 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 AC
On Fri, May 22, 2009 at 11:33 AM, Grant Likely
wrote:
> On Fri, May 22, 2009 at 9:25 AM, Jon Smirl wrote:
>> Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC
>> registers
>>
>> Signed-off-by: Jon Smirl
>
> Thanks Jon,
>
> What
Add a few more mpc5200 PSC defines. More bit fields defines for mpc5200 PSC
registers
Signed-off-by: Jon Smirl
---
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
b/arch/powerpc
*op,
id = *psc_nump + 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);
}
count 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
jon
gt; --
> Pengutronix e.K. | Wolfram Sang |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
>
>
On Wed, May 20, 2009 at 11:28 AM, Eric Millbrandt
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 fe
&gpt5 0 0 /* timer5 44c
> x7-11 */
> - &gpt6 0 0 /* timer6 60c
> x8-15 */
> - &gpt7 0 0 /* timer7 36a
ux Solutions | http://www.pengutronix.de/ |
>
> Wolfram,
>
> Thanks, but no luck with this patch. It was already setup correctly by
> U-Boot.
I don't see where this gets enabled in the u-boot source. Have you
added it locally?
These are the only two I see:
cpu/mpc5xxx/cpu_init.c: *(vu_long *)(MPC5XXX_XLBARB + 0x40) |= (1 << 13);
cpu/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
On Fri, May 1, 2009 at 10:50 AM, Gary Thomas wrote:
> Jon Smirl wrote:
>> On Fri, May 1, 2009 at 10:39 AM, Jon Smirl wrote:
>>> On Fri, May 1, 2009 at 9:04 AM, Gary Thomas wrote:
>>>> I'd like to use an existing I2C driver (a touchscreen device)
>>
On Fri, May 1, 2009 at 10:39 AM, Jon Smirl wrote:
> On Fri, May 1, 2009 at 9:04 AM, Gary Thomas 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->dev.pl
er 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
On Mon, Apr 27, 2009 at 12:08 AM, Grant Likely
wrote:
> On Sun, Apr 26, 2009 at 1:53 PM, Jon Smirl 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
>
> Nack. m
Rename the functions in the mpc5200 DMA file from i2s to dma 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.c | 160
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
---
sound/soc/fsl/mpc5200_dma.c | 18 --
sound/soc/fsl/mpc5200_dma.h | 10 +-
sound/soc/fsl/mpc5200_psc_i2s.c | 14
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 | 457 +
sound/soc/fsl/mpc5200_dma.h
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 the
On Fri, Apr 17, 2009 at 8:58 PM, Jon Smirl 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 is a platform_dev
?
--
Jon Smirl
jonsm...@gmail.com
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
On Tue, Mar 3, 2009 at 3:12 AM, Robert Schwebel
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 wrote:
>> > Would it be easier to get Pengutronix to release a new u-boot for
>> > the pcm030? I'm
6 in Input mode */
compatible = "gpt-ir";
cell-index = <7>;
reg = <0x670 0x10>;
interrupts = <0x1 0x10 0x0>;
interrupt-parent = <&mpc5200_pic>;
1 - 100 of 531 matches
Mail list logo