Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615221

Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver configure its bit clock and frame clock

From Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Newsgroups linux.kernel
Subject Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver configure its bit clock and frame clock
Date 2017-04-03 16:00 +0200
Message-ID <tsaGt-7Bz-5@gated-at.bofh.it> (permalink)
References (2 earlier) <oIBNE-3mR-15@gated-at.bofh.it> <oIThw-4zb-13@gated-at.bofh.it> <tsa3M-7m2-9@gated-at.bofh.it> <tsan7-7sN-3@gated-at.bofh.it> <tsan7-7sN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Apr 03, 2017 at 04:39:40PM +0300, Daniel Baluta wrote:
> On Mon, Apr 3, 2017 at 4:34 PM, Charles Keepax
> <ckeepax@opensource.wolfsonmicro.com> wrote:
> > On Mon, Apr 03, 2017 at 04:16:23PM +0300, Daniel Baluta wrote:
> > Does this problem still remain after the relaxed clock
> > computation? The maths you quote depends on the derived BCLK
> > being exactly the correct speed for the audio, that is no longer
> > the case anymore.
> >
> > I would have thought the patch would cover both situations, as in
> > if we can produce a suitable LRCLK, then we just pick a BCLK we
> 
> That!
> 
> The problem for remaining rates is that we cannot derive the LRCLK
> 
> <snip>
> + for (j = 0; j < ARRAY_SIZE(dac_divs); ++j) {
> + if (sysclk != dac_divs[j] * lrclk)
> + continue;
> </snip>
> 

If you can't generate the LRCLK you either need a different
source clock or to use the PLL. You don't want to be trying to
pull 44.1k audio over a link that is clocked on a 48k based
clock.

Is the problem here that the PLL part of the code is making the
same assumption as the direct part of the code was, that the bclk
should be exact?

Thanks,
Charles

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver  configure its bit clock and frame clock Daniel Baluta <daniel.baluta@gmail.com> - 2017-04-03 15:20 +0200
  Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver  configure its bit clock and frame clock Daniel Baluta <daniel.baluta@gmail.com> - 2017-04-03 15:40 +0200
    Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver  configure its bit clock and frame clock Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2017-04-03 16:00 +0200
      Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver  configure its bit clock and frame clock Daniel Baluta <daniel.baluta@gmail.com> - 2017-04-04 10:00 +0200
        Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver  configure its bit clock and frame clock Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2017-04-04 11:00 +0200
  Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: Let wm8960 driver  configure its bit clock and frame clock Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2017-04-03 15:40 +0200

csiph-web