[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cadc59f29bbb2e0d02235d4c10cb7f4d@walle.cc>
Date: Thu, 11 Mar 2021 12:16:22 +0100
From: Michael Walle <michael@...le.cc>
To: Sameer Pujar <spujar@...dia.com>
Cc: alsa-devel@...a-project.org, broonie@...nel.org,
devicetree@...r.kernel.org, jonathanh@...dia.com,
kuninori.morimoto.gx@...esas.com, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org, robh@...nel.org, sharadg@...dia.com,
thierry.reding@...il.com
Subject: Re: [PATCH 1/3] ASoC: simple-card-utils: Fix device module clock
Am 2021-03-11 12:05, schrieb Sameer Pujar:
> It would work and initially I had similar patch, see [0] and related
> series. Suggestion is to always use "clocks" property with devices
> only.
I see. But again, I don't think it is correct to change the clock of
the codec by default. What happens if this is for example a
compatible = "fixed-clock"?
As you pointed out in the referred thread [0]. simple-audio-card has
that clock and judging from the code it is exactly for this reason:
to either change/enable it or not.
With this patch you'll switch that to "always change it". Therefore,
shouldn't there be a dt flag to indicate wheter simple-audio-card/graph
should be in charge of the codecs clock input?
And its fetching just the first clock, doesn't it? What happens if a
codec has two clock inputs?
-michael
[0]
https://patchwork.kernel.org/project/alsa-devel/patch/1611944866-29373-4-git-send-email-spujar@nvidia.com/
Powered by blists - more mailing lists