Re: beagleboardxm 2.6.39rc4 mcbsp problems.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 12, 2011 at 10:59 PM, Peter Ujfalusi <peter.ujfalusi@xxxxxx> wrote:
> On Thursday 12 May 2011 21:43:20 Steve Calfee wrote:
>> Since it is set to 0xF0F, doesn't this set it as master?
>
> Sorry, that is correct, McBSP is configured as msater.
>
>> Also, spelunking the kernel sources, I cannot seem to find the source
>> for mcbsp_data->regs -- do you know where it gets set initially?
>
> They configured within sound/soc/omap/omap-pcm.c
>
> Have you configured the clk source, and divider correctly for McBSP port from
> the machine driver (with snd_soc_dai_set_sysclk)?
>

Hi, Thanks for the suggestions.

I think I have it correct. I was able to load the original
sound/soc/beagleboard.c and the codec/twl4030 and play a wav file. I
have been copying that to try and get my new codec driver to work. One
immediate difference is that the system sets up the twl4030 as the
master i2s device on the bus. So I changed my codec over to do that
too. Now the mcbsp register dump matches the working setup.

I put in a few debug statements. It appears that my DMA never gets
started. I know it can work with a different machine and codec driver,
but not mine. I don't see any explicit DMA init, but that must be the
problem.  Any more ideas?

Thanks, Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux