All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v3 3/5] arm64: dts: qcom: agatti: add LPASS devices
Date: Tue, 22 Sep 2026 22:21:14 +0000	[thread overview]
Message-ID: <20260922222114.7583E1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <30285f0267cacf2dc2f7c19cfbb10bd42d50310c.1790114902.git.srinivas.kandagatla@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] dt-bindings: qcom,agatti: unit address mismatch for lpasscc node
- [Low] dt-bindings: qcom,agatti: swr nodes lack status disabled or pinctrl
--

commit 0dce088f4d3617832ec5dd0787d22b15acf31f29
Author: Alexey Klimov <alexey.klimov@linaro.org>

arm64: dts: qcom: agatti: add LPASS devices
    
This commit adds the rxmacro, txmacro, vamacro, soundwire nodes, and lpass
clock controllers required to support audio playback and capture on sm6115
and its derivatives.

> diff --git a/arch/arm64/boot/dts/qcom/agatti.dtsi b/arch/arm64/boot/dts/qcom/agatti.dtsi
> index e7fed60a59d93..6d99e24e3dc2a 100644
> --- a/arch/arm64/boot/dts/qcom/agatti.dtsi
> +++ b/arch/arm64/boot/dts/qcom/agatti.dtsi

[ ... ]

> @@ -2238,6 +2274,127 @@ glink-edge {
>  			};
>  		};
>  
> +		rxmacro: codec@a600000 {

[ ... ]

> +		swr1: soundwire@a610000 {
> +			compatible = "qcom,soundwire-v1.6.0";
> +			reg = <0x0 0x0a610000 0x0 0x10000>;
> +			interrupts = <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>;

[Severity: Low]
Does this node need to be disabled by default?

The swr1 RX soundwire node is added to the common .dtsi without a
status = "disabled" property or default pinctrl properties. If a downstream
board file includes this .dtsi but does not explicitly configure the pinctrl
or disable the node, the driver will unconditionally probe and fail to
operate correctly due to unlinked pins. 

Would it be better to disable external bus interfaces in common includes?

> +
> +			clocks = <&rxmacro>;
> +			clock-names = "iface";

[ ... ]

> +		swr0: soundwire@a740000 {
> +			compatible = "qcom,soundwire-v1.6.0";
> +			reg = <0x0 0x0a740000 0x0 0x10000>;
> +			interrupts = <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;

[Severity: Low]
Similarly for the swr0 TX soundwire node, should this node also be disabled
or provided with default pinctrl properties to prevent unconditional probing
on boards that do not configure it?

> +			clocks = <&txmacro>;
> +			clock-names = "iface";

[ ... ]

> +		lpasscc: clock-controller@a7ec000 {
> +			compatible = "qcom,sm6115-lpasscc";
> +			reg = <0x0 0x0a7e0000 0x0 0x12000>;

[Severity: Low]
Is there a typo in the unit address or the reg property here?

The node name clock-controller@a7ec000 does not match the base address in
its reg property (0x0a7e0000). This causes a simple_bus_reg validation
warning during dtc compilation.

> +			#reset-cells = <1>;
> +		};
> +
>  		remoteproc_adsp: remoteproc@ab00000 {

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1790114902.git.srinivas.kandagatla@oss.qualcomm.com?part=3

  reply	other threads:[~2026-09-22 22:21 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 13:39 [PATCH v2 0/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-02-23 13:39 ` [PATCH v2 1/5] clk: qcom: fix SM6115 lpasscc register offset Srinivas Kandagatla
2026-02-24 12:20   ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec Srinivas Kandagatla
2026-02-23 16:56   ` Rob Herring
2026-02-23 18:14     ` Srinivas Kandagatla
2026-02-23 13:39 ` [PATCH v2 3/5] arm64: dts: qcom: agatti: add LPASS devices Srinivas Kandagatla
2026-02-24  2:58   ` Dmitry Baryshkov
2026-02-24 12:24   ` Konrad Dybcio
2026-02-24 12:28   ` Konrad Dybcio
2026-05-15  8:29     ` Srinivas Kandagatla
2026-07-17  9:39       ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 4/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-02-24 11:48   ` Konrad Dybcio
2026-02-23 13:39 ` [PATCH v2 5/5] arm64: defconfig: Enable configs for audio drivers on Arduino UnoQ Srinivas Kandagatla
2026-02-24  2:57   ` Dmitry Baryshkov
2026-09-22 22:11 ` [PATCH v3 0/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-22 22:11   ` [PATCH v3 1/5] clk: qcom: fix SM6115 lpasscc register offset Srinivas Kandagatla
2026-09-22 23:42     ` Alexey Klimov
2026-09-22 22:11   ` [PATCH v3 2/5] dt-bindings: mfd: qcom,spmi-pmic: add compatibles for pm4124-codec Srinivas Kandagatla
2026-09-22 22:21     ` sashiko-bot
2026-09-28 10:09     ` Krzysztof Kozlowski
2026-09-28 17:42       ` Srinivas Kandagatla
2026-09-22 22:11   ` [PATCH v3 3/5] arm64: dts: qcom: agatti: add LPASS devices Srinivas Kandagatla
2026-09-22 22:21     ` sashiko-bot [this message]
2026-09-22 22:11   ` [PATCH v3 4/5] arm64: dts: arduino-imola: add support for sound Srinivas Kandagatla
2026-09-22 22:26     ` sashiko-bot
2026-09-23 19:31     ` Alexey Klimov
2026-09-22 22:11   ` [PATCH v3 5/5] arm64: defconfig: Enable configs for audio drivers on Arduino UnoQ Srinivas Kandagatla
2026-09-22 23:39     ` Alexey Klimov

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=20260922222114.7583E1F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@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 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.