Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Prasad Kumpatla" <prasad.kumpatla@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v7 4/7] ASoC: qcom: q6prm: add Audio IF clock IDs
Date: Tue, 04 Aug 2026 07:11:49 +0000	[thread overview]
Message-ID: <20260804071149.D23321F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260804070307.117119-5-prasad.kumpatla@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The newly added clock macros use the misspelled prefix `LAPSS_` instead of the correct subsystem acronym `LPASS_` (Low Power Audio SubSystem), baking a typo into the Device Tree ABI and userspace sysfs.
--

--- Patch [4]: [PATCH v7 4/7] ASoC: qcom: q6prm: add Audio IF clock IDs ---
commit 92df360c5a0420b85998ac3f1d9ff28298be694a
Author: Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>

ASoC: qcom: q6prm: add Audio IF clock IDs

This commit adds the q6prm clock table entries and internal DSP clock IDs
for LPASS Audio IF backend clocks so machine drivers can request them
through the APM clock controller.

> diff --git a/sound/soc/qcom/qdsp6/q6prm-clocks.c b/sound/soc/qcom/qdsp6/q6prm-clocks.c
> index 02dad9ee98049..f613e2aee75e6 100644
> --- a/sound/soc/qcom/qdsp6/q6prm-clocks.c
> +++ b/sound/soc/qcom/qdsp6/q6prm-clocks.c
[ ... ]
> @@ -64,6 +64,34 @@ static const struct q6dsp_clk_init q6prm_clks[] = {
>  	Q6PRM_CLK(LPASS_CLK_ID_WSA2_CORE_TX_MCLK),
>  	Q6PRM_CLK(LPASS_CLK_ID_WSA2_CORE_TX_2X_MCLK),
>  	Q6PRM_CLK(LPASS_CLK_ID_RX_CORE_MCLK2_2X_MCLK),
> +	Q6PRM_CLK(LAPSS_CLK_ID_QAIF_IF0_IBIT),

[Severity: Low]
This isn't a bug, but the prefix here is spelled LAPSS instead of LPASS
(Low Power Audio SubSystem). Since Q6PRM_CLK stringifies the ID to set
the clock's name, this typo will be exposed to userspace in sysfs and
debugfs, and it will become baked into the Device Tree ABI.

[ ... ]

> diff --git a/sound/soc/qcom/qdsp6/q6prm.h b/sound/soc/qcom/qdsp6/q6prm.h
> index 938b1bfce2873..cca77cd92bc17 100644
> --- a/sound/soc/qcom/qdsp6/q6prm.h
> +++ b/sound/soc/qcom/qdsp6/q6prm.h
[ ... ]
> @@ -97,6 +97,35 @@
>  /* Clock ID for RX CORE MCLK2 2X  MCLK */
>  #define Q6PRM_LPASS_CLK_ID_RX_CORE_MCLK2_2X_MCLK 0x318
>  
> +#define Q6PRM_LAPSS_CLK_ID_QAIF_IF0_IBIT		0x500

[Severity: Low]
This isn't a bug, but similar to the above, these macros use the misspelled
LAPSS prefix instead of the established LPASS prefix.

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260804070307.117119-1-prasad.kumpatla@oss.qualcomm.com?part=4

  reply	other threads:[~2026-08-04  7:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-04  7:03 [PATCH v7 0/7] ASoC: qcom: add AudioReach TDM backend support Prasad Kumpatla
2026-08-04  7:03 ` [PATCH v7 1/7] ASoC: qcom: qdsp6: add topology-driven Audio IF support Prasad Kumpatla
2026-08-04  7:16   ` sashiko-bot
2026-08-04 17:46   ` Cezary Rojewski
2026-08-04 17:50     ` Mark Brown
2026-08-04 17:58       ` Cezary Rojewski
2026-08-04  7:03 ` [PATCH v7 2/7] ASoC: qcom: q6apm-lpass-dais: add TDM DAI operations Prasad Kumpatla
2026-08-04  7:03 ` [PATCH v7 3/7] dt-bindings: sound: qcom,q6dsp-lpass-ports: add Audio IF clocks Prasad Kumpatla
2026-08-04  7:08   ` sashiko-bot
2026-08-04 20:16   ` Rob Herring
2026-08-05  4:40     ` Prasad Kumpatla
2026-08-05  6:10       ` Krzysztof Kozlowski
2026-08-05  6:29         ` Prasad Kumpatla
2026-08-05  6:33           ` Krzysztof Kozlowski
2026-08-05  6:36             ` Krzysztof Kozlowski
2026-08-05  6:50             ` Prasad Kumpatla
2026-08-04  7:03 ` [PATCH v7 4/7] ASoC: qcom: q6prm: add Audio IF clock IDs Prasad Kumpatla
2026-08-04  7:11   ` sashiko-bot [this message]
2026-08-04  7:03 ` [PATCH v7 5/7] dt-bindings: sound: qcom,sm8250: allow TDM slot properties Prasad Kumpatla
2026-08-04  7:17   ` sashiko-bot
2026-08-04  7:03 ` [PATCH v7 6/7] ASoC: qcom: common: add DAI-node TDM slot helpers Prasad Kumpatla
2026-08-04  7:18   ` sashiko-bot
2026-08-04  7:03 ` [PATCH v7 7/7] ASoC: qcom: sc8280xp: add TDM hw_params support Prasad Kumpatla
2026-08-04  7:23   ` sashiko-bot
2026-08-04 16:32 ` [PATCH v7 0/7] ASoC: qcom: add AudioReach TDM backend support 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=20260804071149.D23321F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=prasad.kumpatla@oss.qualcomm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox