From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, linux-sound@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/7] arm64: dts: qcom: glymur-crd: enable WCD9378 headset codec
Date: Thu, 26 Nov 2026 18:49:58 +0000 [thread overview]
Message-ID: <sashiko-outbox-236034@kernel.org> (raw)
In-Reply-To: <20261126183806.172485-3-srinivas.kandagatla@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] arm64: dts: qcom: glymur-crd: reversed unit-address in codec@3,0
for reg <0 3>
- [Low] arm64: dts: qcom: glymur-crd: non-standard property order in swr
and wcd nodes
--
commit 89daa162b345f778b119d25e91fe91d54941becc
Author: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
arm64: dts: qcom: glymur-crd: enable WCD9378 headset codec
This commit enables the WCD9378 SDCA headset codec over SoundWire (swr2
primary and swr1 dependent) along with the playback/capture DAI links and
reset GPIO pinctrl state on Glymur CRD.
> diff --git a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi b/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
> index 3a9cd5f3ec2b8..be0a2cf10f543 100644
> --- a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
> +++ b/arch/arm64/boot/dts/qcom/glymur-crd.dtsi
[ ... ]
> @@ -791,6 +826,44 @@ right_tweeter: speaker@0,1 {
> };
> };
>
> +/* WCD9378 multi-master: swr2 primary + swr1 dependent (DATA lanes 2/3). */
> +&swr1 {
> + qcom,multi-master-mode = "dependent";
> + qcom,multi-master-peer = <&swr2 0>;
> + num-lanes = <2>;
> +
> + status = "okay";
> +};
> +
> +&swr2 {
> + qcom,multi-master-mode = "primary";
> + qcom,multi-master-peer = <&swr1 5>;
> + num-lanes = <2>;
> +
> + status = "okay";
> +
> + wcd9378c: codec@3,0 {
> + compatible = "sdw20217011000";
> + reg = <0 3>;
[Severity: Low]
Should the unit-address on wcd9378c be codec@0,3 (or audio-codec@0,3) to
match reg = <0 3>? SoundWire slave reg cells are <link_id instance_id>,
so @3,0 reverses the link ID and instance ID relative to reg and the
qcom,wcd9378-sdw.yaml binding example.
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&wcd_default>;
> +
> + qcom,sdca-compliant;
> +
> + qcom,port-mapping = <2 2 3 4 5 6 7 8>;
> +
> + reset-gpios = <&tlmm 191 GPIO_ACTIVE_LOW>;
> +
> + vdd-buck-supply = <&vreg_l15b0>;
> + vdd-rxtx-supply = <&vreg_l15b0>;
> + vdd-io-supply = <&vreg_l18b0>;
> + vdd-mic-bias-supply = <&vreg_bob1_e0>;
> +
> + #sound-dai-cells = <1>;
> + };
> +};
[Severity: Low]
This isn't a bug, but per the DTS coding style, standard properties should
precede vendor-specific qcom,* properties (num-lanes before
qcom,multi-master-* in &swr1 and &swr2, and reset-gpios, vdd-*-supply and
#sound-dai-cells before qcom,sdca-compliant and qcom,port-mapping in
wcd9378c), with pinctrl-0 placed before pinctrl-names.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126183806.172485-1-srinivas.kandagatla@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-11-26 18:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 18:37 [PATCH 0/7] arm64: qcom: enable WCD9378 headset and DisplayPort audio on Glymur boards Srinivas Kandagatla
2026-11-26 18:38 ` [PATCH 1/7] arm64: dts: qcom: glymur: add LPASS macros and RX/TX SoundWire Srinivas Kandagatla
2026-11-26 18:53 ` sashiko-bot
2026-11-26 18:38 ` [PATCH 2/7] arm64: dts: qcom: glymur-crd: enable WCD9378 headset codec Srinivas Kandagatla
2026-11-26 18:49 ` sashiko-bot [this message]
2026-11-26 18:38 ` [PATCH 3/7] arm64: dts: qcom: mahua-t14s: " Srinivas Kandagatla
2026-11-26 18:50 ` sashiko-bot
2026-11-26 18:38 ` [PATCH 4/7] arm64: dts: qcom: glymur-crd: add DisplayPort audio DAI links Srinivas Kandagatla
2026-11-26 18:38 ` [PATCH 5/7] arm64: dts: qcom: glymur-asus-zenbook-a16: enable WCD9378 headset codec Srinivas Kandagatla
2026-11-26 18:47 ` sashiko-bot
2026-11-26 18:38 ` [PATCH 6/7] arm64: dts: qcom: glymur-asus-zenbook-a16: add DisplayPort audio DAI links Srinivas Kandagatla
2026-11-26 18:38 ` [PATCH 7/7] arm64: defconfig: enable SDCA class driver and WCD9378 codec Srinivas Kandagatla
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-236034@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=srinivas.kandagatla@oss.qualcomm.com \
/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