lkml.org 
[lkml]   [2020]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [alsa-devel] [PATCH] ASoC: da7219: check SRM lock in trigger callback
    Date
    On 19 February 2020 05:57, Lu, Brent wrote:

    > > Am not going to make myself popular here. It's MCLK and FSYNC (or WCLK as
    > > it's termed for our device) that is required for SRM to lock in the PLL.
    > >
    > > So far I've not found a way in the codec driver to be able to get around this.
    > > I spent a very long time with Sathya in the early days (Apollo Lake) looking at
    > > options but nothing would fit which is why I have the solution that's in place
    > > right now. We could probably reduce the number of rechecks before
    > > timeout in the driver but that's really just papering over the crack and there's
    > > still the possibility of noise later when SRM finally does lock.
    >
    > Hi Adam,
    >
    > For Google CTS requirement (200ms cold output latency), we plan to upload a
    > patch which reduces the recheck number to 4 and interval to 20ms so the total
    > delay here would be 80ms for our platform. We think the time is still sufficient
    > for other platforms to generate a stable WCLK and for the codec SRM to lock but
    > still needs your confirmation. How do you think?

    Hi Brent,

    I'm concerned that just setting a timeout to suit the Google CTS requirement
    isn't necessarily suitable for all targets, and this doesn't actually fix the
    real problem here.

    How long do you determine platforms will take to generate a stable WCLK? Do we
    have an idea of how long that might be in a worst case scenario? If so then we
    can look at adjusting this down, but I'd like to be clear.

    >
    >
    > Regards,
    > Brent
    \
     
     \ /
      Last update: 2020-02-19 11:06    [W:2.137 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site