From: Richard Acayan <mailingradian@gmail.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org
Cc: phone-devel@vger.kernel.org, Richard Acayan <mailingradian@gmail.com>
Subject: [PATCH v4 4/5] arm64: dts: qcom: sdm670: add digital audio codec
Date: Mon, 23 Nov 2026 20:56:10 -0500 [thread overview]
Message-ID: <20261124015611.187024-5-mailingradian@gmail.com> (raw)
In-Reply-To: <20261124015611.187024-1-mailingradian@gmail.com>
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 | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi
index e99183c22208..54d903b89cc1 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>;
@@ -33,6 +34,12 @@ / {
chosen { };
clocks {
+ lpass_cdc_bclk: lpass-cdc-bclk {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <1536000>;
+ };
+
sleep_clk: sleep-clk {
compatible = "fixed-clock";
#clock-cells = <0>;
@@ -2822,5 +2829,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 = <&lpass_cdc_bclk>,
+ <&q6afecc LPASS_CLK_ID_INT_MCLK_0 LPASS_CLK_ATTRIBUTE_COUPLE_NO>;
+ clock-names = "ahbix-clk", "mclk";
+
+ #sound-dai-cells = <1>;
+
+ status = "disabled";
+ };
};
};
--
2.56.1
prev parent reply other threads:[~2026-11-24 1:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 1:56 [PATCH v4 0/5] ADSP for SDM670 and sound on Google Pixel 3a Richard Acayan
2026-11-24 1:56 ` [PATCH v4 1/5] arm64: dts: qcom: sdm670: add adsp Richard Acayan
2026-11-24 1:56 ` [PATCH v4 2/5] arm64: dts: qcom: sdm670-google: enable adsp Richard Acayan
2026-11-24 1:56 ` [PATCH v4 3/5] arm64: dts: qcom: pm660l: add analog audio codec Richard Acayan
2026-11-24 1:56 ` Richard Acayan [this message]
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=20261124015611.187024-5-mailingradian@gmail.com \
--to=mailingradian@gmail.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@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