Devicetree
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Richard Acayan <mailingradian@gmail.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Mathieu Poirier <mathieu.poirier@linaro.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,
	Srinivas Kandagatla <srini@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	Andy Gross <agross@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-remoteproc@vger.kernel.org, linux-sound@vger.kernel.org
Subject: Re: [PATCH v2 10/11] arm64: dts: qcom: sdm670: add digital audio codec
Date: Tue, 27 Oct 2026 15:03:52 +0100	[thread overview]
Message-ID: <b5f0ea6f-1048-48ed-8df7-2502e7b452f7@oss.qualcomm.com> (raw)
In-Reply-To: <atYtSXF6QeTkF6pr@rdacayan>

On 10/19/26 4:46 PM, Richard Acayan wrote:
> On Fri, Oct 16, 2026 at 12:21:10PM +0200, Konrad Dybcio wrote:
>> On 10/3/26 7:56 PM, Richard Acayan wrote:
>>> Add the digital WCD audio codec to the SDM670 device tree.
>>>
>>> Signed-off-by: Richard Acayan <mailingradian@gmail.com>
>>> ---
>>>  arch/arm64/boot/dts/qcom/sdm670.dtsi | 15 +++++++++++++++
>>>  1 file changed, 15 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi
>>> index 038ef0f73ea9..91188acd16b1 100644
>>> --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi
>>> @@ -21,6 +21,7 @@
>>>  #include <dt-bindings/power/qcom-rpmpd.h>
>>>  #include <dt-bindings/soc/qcom,apr.h>
>>>  #include <dt-bindings/soc/qcom,rpmh-rsc.h>
>>> +#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h>
>>>  
>>>  / {
>>>  	interrupt-parent = <&intc>;
>>> @@ -2541,5 +2542,19 @@ data2-pins {
>>>  				};
>>>  			};
>>>  		};
>>> +
>>> +		lpass_codec: audio-codec@62ec0000 {
>>> +			compatible = "qcom,sdm670-wcd-digital-codec",
>>> +				     "qcom,msm8916-wcd-digital-codec";
>>> +			reg = <0 0x62ec0000 0 0x400>;
>>> +
>>> +			clocks = <&q6afecc LPASS_CLK_ID_INT_MCLK_0 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
>>> +			clock-names = "mclk";
>>
>> This clock configuration is forbidden according to bindings
> 
> It is corrected in patch 11 which is why this isn't caught. I'll move
> the fixed clock to sdm670.dtsi.
> 
>> I'm not expert in audio, but an LLM points me towards
>> LPASS_CLK_ID_INTERNAL_DIGITAL_CODEC_CORE
> 
> Does the LLM have access to schematics?

That LLM has access to more than just schematics..

But at the end of the day it's just an LLM. I don't know for sure
and that's why I wrote it that way.

Konrad

  reply	other threads:[~2026-10-27 14:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-03 17:56 [PATCH v2 00/11] ADSP for SDM670 and sound on Google Pixel 3a Richard Acayan
2026-10-03 17:56 ` [PATCH v2 01/11] dt-bindings: soc: qcom,smp2p: add sleepstate support Richard Acayan
2026-10-03 17:56 ` [PATCH v2 02/11] dt-bindings: mailbox: qcom: Add SDM670 APCS compatible Richard Acayan
2026-10-12  1:31   ` Jassi Brar
2026-10-03 17:56 ` [PATCH v2 03/11] dt-bindings: soc: qcom: aoss: Add compatible for SDM670 Richard Acayan
2026-10-03 17:56 ` [PATCH v2 04/11] dt-bindings: remoteproc: qcom: adsp: Add SDM670 ADSP compatible Richard Acayan
2026-10-03 18:05   ` sashiko-bot
2026-10-09  6:52   ` Krzysztof Kozlowski
2026-10-03 17:56 ` [PATCH v2 05/11] ASoC: dt-bindings: msm8916-digital-codec: Add SDM670 compatible Richard Acayan
2026-10-04  7:55   ` Krzysztof Kozlowski
2026-10-03 17:56 ` [PATCH v2 06/11] remoteproc: qcom: pas: Add SDM670 ADSP support Richard Acayan
2026-10-09  8:41   ` Dmitry Baryshkov
2026-10-03 17:56 ` [PATCH v2 07/11] arm64: dts: qcom: sdm670: add adsp Richard Acayan
2026-10-03 18:08   ` sashiko-bot
2026-10-16 10:07   ` Konrad Dybcio
2026-10-19 21:37   ` Dmitry Baryshkov
2026-10-27 13:50     ` Richard Acayan
2026-10-27 14:03       ` Konrad Dybcio
2026-10-03 17:56 ` [PATCH v2 08/11] arm64: dts: qcom: sdm670-google: enable adsp Richard Acayan
2026-10-16  9:57   ` Konrad Dybcio
2026-10-19 21:38   ` Dmitry Baryshkov
2026-10-03 17:56 ` [PATCH v2 09/11] arm64: dts: qcom: pm660l: add analog audio codec Richard Acayan
2026-10-03 18:06   ` sashiko-bot
2026-10-16 10:04   ` Konrad Dybcio
2026-10-03 17:56 ` [PATCH v2 10/11] arm64: dts: qcom: sdm670: add digital " Richard Acayan
2026-10-16 10:21   ` Konrad Dybcio
2026-10-19 14:46     ` Richard Acayan
2026-10-27 14:03       ` Konrad Dybcio [this message]
2026-10-03 17:56 ` [PATCH v2 11/11] arm64: dts: qcom: sdm670-google: add sound card Richard Acayan
2026-10-03 18:11   ` sashiko-bot
2026-10-07 11:05 ` (subset) [PATCH v2 00/11] ADSP for SDM670 and sound on Google Pixel 3a Mark Brown

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=b5f0ea6f-1048-48ed-8df7-2502e7b452f7@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jassisinghbrar@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mailingradian@gmail.com \
    --cc=mani@kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=robh@kernel.org \
    --cc=srini@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