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


Groups > linux.kernel > #1615799

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-04 11:00 +0200
Message-ID <tsstH-2xK-9@gated-at.bofh.it> (permalink)
References (4 earlier) <tsa3M-7m2-9@gated-at.bofh.it> <tsan7-7sN-3@gated-at.bofh.it> <tsan7-7sN-1@gated-at.bofh.it> <tsaGt-7Bz-5@gated-at.bofh.it> <tsrxD-1Uf-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Apr 04, 2017 at 10:55:00AM +0300, Daniel Baluta wrote:
> <Removing Zidan from thread because the address no longer exists>
> 
> On Mon, Apr 3, 2017 at 4:54 PM, Charles Keepax
> <ckeepax@opensource.wolfsonmicro.com> wrote:
> > 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:
> > 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?
> 
> Yes.
> 
> 
> After wm8960_configure_sysclk fails to find a LRCLK, we try to use the
> PLL.
> 
> Anyhow, here we don't even reach to check if the PLL can be used because
> there is no solution for the following system:
> 
> freq_out = sysclk * sysclk_divs[i];
> sysclk = lrclk * dac_divs[j];
> sysclk == bclk * bclk_divs[k]
> 
> 
> Perhaps, we can also try here to relax bitclk computation like we did for when
> sysclk was directly derived from mclk.

Exactly that is what I am saying it looks like the PLL part
of the process still assumes it requires bclk to be an exact
frequency if we relax that, the same way we did for the direct
MCLK then we should be good.

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