Re: davinci-mcasp: extension to use AHCLKX pin as external clock source

From: Urs FÃssler
Date: Tue Feb 10 2015 - 09:17:39 EST

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?


Attachment: signature.asc
Description: OpenPGP digital signature