From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: qcom: sm8450-hdk: add other analogue microphones
Date: Tue, 18 Jul 2023 10:40:37 +0100 [thread overview]
Message-ID: <76c99543-4f77-38c2-5940-517f2715060d@linaro.org> (raw)
In-Reply-To: <20230717143824.203352-1-krzysztof.kozlowski@linaro.org>
On 17/07/2023 15:38, Krzysztof Kozlowski wrote:
> Add proper audio routes for onboard analogue microphones: AMIC[1345].
> Use also new DAPM input widget (TX SWR_INPUTn) for them, not the
> deprecated ADC one. Change is not compatible with older kernels not
> having the new SWR_INPUTn input widget.
>
> Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> ---
>
> Depends on ASoC driver changes:
> https://lore.kernel.org/alsa-devel/20230717140138.201745-1-krzysztof.kozlowski@linaro.org/T/#t
> This patch should wait till respective ASoC changes got merged.
> ---
> arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 23 ++++++++++++++++-------
> 1 file changed, 16 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> index bd5e8181f2aa..9bd1ef401ca3 100644
> --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
> @@ -915,14 +915,23 @@ &sound {
> "SpkrRight IN", "WSA_SPK2 OUT",
> "IN1_HPHL", "HPHL_OUT",
> "IN2_HPHR", "HPHR_OUT",
> + "AMIC1", "MIC BIAS1",
> "AMIC2", "MIC BIAS2",
> - "VA DMIC0", "MIC BIAS1",
> - "VA DMIC1", "MIC BIAS1",
> - "VA DMIC2", "MIC BIAS3",
> - "TX DMIC0", "MIC BIAS1",
> - "TX DMIC1", "MIC BIAS2",
> - "TX DMIC2", "MIC BIAS3",
> - "TX SWR_ADC1", "ADC2_OUTPUT";
> + "AMIC3", "MIC BIAS3",
> + "AMIC4", "MIC BIAS3",
> + "AMIC5", "MIC BIAS4",
These should reflect the board-level wiring of MIC BIAS, are you sure
that this is how the hdk is wired up?
> + "VA DMIC0", "MIC BIAS3",
> + "VA DMIC1", "MIC BIAS3",
> + "VA DMIC2", "MIC BIAS1",
> + "VA DMIC3", "MIC BIAS1",
> + "TX DMIC0", "MIC BIAS3",
> + "TX DMIC1", "MIC BIAS3",
> + "TX DMIC2", "MIC BIAS1",
> + "TX DMIC3", "MIC BIAS1",
Same here.
--srini
> + "TX SWR_INPUT0", "ADC1_OUTPUT",
> + "TX SWR_INPUT1", "ADC2_OUTPUT",
> + "TX SWR_INPUT2", "ADC3_OUTPUT",
> + "TX SWR_INPUT3", "ADC4_OUTPUT";
>
> wcd-playback-dai-link {
> link-name = "WCD Playback";
next prev parent reply other threads:[~2023-07-18 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-17 14:38 Krzysztof Kozlowski
2023-07-18 9:40 ` Srinivas Kandagatla [this message]
2023-07-18 9:47 ` Krzysztof Kozlowski
2023-09-19 23:07 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76c99543-4f77-38c2-5940-517f2715060d@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®