[alsa-devel] davinci-mcasp: extension to use AHCLKX pin as external clock source
Urs Fässler
urs.fassler at bytesatwork.ch
Tue Feb 10 15:17:30 CET 2015
On 06.02.2015 12:50, Peter Ujfalusi wrote:
> On 02/06/2015 11:22 AM, Urs Fässler wrote:
>> The AHCLKX pin seems not to be supported as external source. The first
>> patch is a general fix to allow external clock. The second allows you to
>> select the AHCLKX pin as clock source.
>>
>> Patch built against v3.19-rc7
>>
>
> I don't think this series is correct. You can just issue:
> snd_soc_dai_set_sysclk(cpu_dai, 0, sysclk, SND_SOC_CLOCK_IN);
>
> from the machine driver to select AHCLKX as input.
>
I checked everything and the source of the problem is, that on our
hardware the bit clock of the codec is connected to AHCLKX. According to
the datasheet, AHCLKX is for the master clock only. On the other hand,
it is possible to route a bitclock from AHCLKX to the subsystem (what I
did with my patches).
Now my question is, if it is even worth trying to bring such an option
for the driver (use AHCLKX as bit clock in) upstream?
Thanks
Urs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150210/a8fcdc19/attachment.sig>
More information about the Alsa-devel
mailing list