From: sashiko-bot@kernel.org
To: "Shawn Guo" <shengchao.guo@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 2/3] dt-bindings: remoteproc: qcom,nord-pas: Document Nord PAS
Date: Wed, 29 Jul 2026 02:44:45 +0000 [thread overview]
Message-ID: <20260729024446.39F2F1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260729023508.879752-3-shengchao.guo@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The macro `IPCC_MPROC_ADSP0` is defined without a value in the YAML example, causing a cell count mismatch that breaks `dt_binding_check` validation.
--
--- Patch [2]: [PATCH v5 2/3] dt-bindings: remoteproc: qcom,nord-pas: Document Nord PAS ---
commit 6e5bdff8032d03019c9e668110ed03437c7f4597
Author: Shawn Guo <shengchao.guo@oss.qualcomm.com>
dt-bindings: remoteproc: qcom,nord-pas: Document Nord PAS
Add a dedicated binding for the Qualcomm Nord SoC PAS devices: ADSP
and CDSPs. Nord ADSP uses CX and MX power domains while the CDSPs
add an NSP domain on top of that.
> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml
> new file mode 100644
> index 0000000000000..e90d2953ba692
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,nord-pas.yaml
[ ... ]
> +examples:
> + - |
> + #include <dt-bindings/clock/qcom,rpmh.h>
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> + #include <dt-bindings/mailbox/qcom-ipcc.h>
> + #include <dt-bindings/power/qcom,rpmhpd.h>
> + #define IPCC_MPROC_ADSP0
[Severity: Low]
Is this macro missing a value?
Because it is defined without a placeholder value, the C preprocessor will
evaluate it to nothing.
> +
> + remoteproc@4c00000 {
[ ... ]
> + glink-edge {
> + interrupts-extended = <&ipcc IPCC_MPROC_ADSP0
> + IPCC_MPROC_SIGNAL_GLINK_QMP
> + IRQ_TYPE_EDGE_RISING>;
> + mboxes = <&ipcc IPCC_MPROC_ADSP0 IPCC_MPROC_SIGNAL_GLINK_QMP>;
[Severity: Low]
Will this cause dt_binding_check validation to fail?
Since IPCC_MPROC_ADSP0 evaluates to nothing, the cell count for both
interrupts-extended and mboxes will be missing one cell. The ipcc interrupt
and mailbox controllers expect 3 and 2 cells respectively.
> +
> + label = "adsp";
> + qcom,remote-pid = <2>;
> +
> + /* ... */
> + };
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260729023508.879752-1-shengchao.guo@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-07-29 2:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-29 2:35 [PATCH v5 0/3] Add ADSP and CDSP support for Nord SoC Shawn Guo
2026-07-29 2:35 ` [PATCH v5 1/3] dt-bindings: soc: qcom,aoss-qmp: Document Nord AOSS side channel Shawn Guo
2026-07-29 2:35 ` [PATCH v5 2/3] dt-bindings: remoteproc: qcom,nord-pas: Document Nord PAS Shawn Guo
2026-07-29 2:44 ` sashiko-bot [this message]
2026-07-29 2:35 ` [PATCH v5 3/3] remoteproc: qcom: pas: Add Nord ADSP and CDSP support Shawn Guo
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=20260729024446.39F2F1F000E9@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=shengchao.guo@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.