From: sashiko-bot@kernel.org
To: "Richard Acayan" <mailingradian@gmail.com>, devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 4/5] arm64: dts: qcom: sdm670: add digital audio codec
Date: Tue, 24 Nov 2026 02:17:14 +0000 [thread overview]
Message-ID: <sashiko-outbox-230394@kernel.org> (raw)
In-Reply-To: <20261124015611.187024-5-mailingradian@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: sdm670: dummy fixed-clock lpass-cdc-bclk
used for ahbix-clk
--
commit d9e07e74287b546598a2354eda9db9ff7cfc53b3
Author: Richard Acayan <mailingradian@gmail.com>
arm64: dts: qcom: sdm670: add digital audio codec
This commit adds the LPASS digital WCD audio codec node and its clock
configuration to the SDM670 device tree.
> diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi
> index 8de8f3f7ea0fb..1df63c38cf876 100644
> --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi
[ ... ]
> @@ -34,6 +35,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>;
> @@ -2831,5 +2838,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";
[Severity: Medium]
As reported by Konrad Dybcio on v2 [1], should ahbix-clk on lpass_codec
be wired to a dummy fixed-clock under /clocks?
In Qualcomm SoC device trees, /clocks is reserved for off-SoC board
reference clocks, and ahbix-clk represents the LPASS AHB interconnect
clock for codec register access rather than a 1.536 MHz bit clock.
Depending on how SDM670 clocks this block, ahbix-clk should either
reference the Q6AFE clock from q6afecc (such as
LPASS_CLK_ID_INTERNAL_DIGITAL_CODEC_CORE or LPASS_HW_DCODEC_VOTE) or be
made optional for qcom,sdm670-wcd-digital-codec in the binding and driver.
[1] https://lore.kernel.org/r/87839ad6-c489-40b3-bfcc-60c436cd1a6f@oss.qualcomm.com
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124015611.187024-1-mailingradian@gmail.com?part=4
next prev parent reply other threads:[~2026-11-24 2:17 UTC|newest]
Thread overview: 9+ 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 2:14 ` sashiko-bot
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 ` [PATCH v4 4/5] arm64: dts: qcom: sdm670: add digital " Richard Acayan
2026-11-24 2:17 ` sashiko-bot [this message]
2026-11-24 1:56 ` [PATCH v4 5/5] arm64: dts: qcom: sdm670-google: add sound card Richard Acayan
2026-11-24 5:58 ` Abel Vesa
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=sashiko-outbox-230394@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=mailingradian@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.