From: sashiko-bot@kernel.org
To: "Anjana Hari" <anjana.hari@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 v2 1/2] dt-bindings: mmc: sdhci-msm: Document Nord SDCC
Date: Sat, 05 Dec 2026 00:35:42 +0000 [thread overview]
Message-ID: <sashiko-outbox-250840@kernel.org> (raw)
In-Reply-To: <20261205002150.2655647-2-anjana.hari@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [Medium] dt-bindings: mmc: qcom,nord-sdhci collides with Nord Embedded
vs SA8797P naming
- [Low] dt-bindings: mmc: redundant single-entry reg-names marked
required
- [Low] dt-bindings: mmc: example reg address uses 9-hex-digit literal
0x000b84000
--
commit f71cc97145dbc2a8d1da9006072225a9e778904d
Author: Anjana Hari <anjana.hari@oss.qualcomm.com>
dt-bindings: mmc: sdhci-msm: Document Nord SDCC
This commit adds a Device Tree binding schema for the Qualcomm Nord
SDHCI controller variant whose clocks and power rails are managed by
firmware via SCMI power and performance domains.
> diff --git a/Documentation/devicetree/bindings/mmc/qcom,nord-sdhci.yaml b/Documentation/devicetree/bindings/mmc/qcom,nord-sdhci.yaml
> new file mode 100644
> index 0000000000000..883a607accb6b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mmc/qcom,nord-sdhci.yaml
> @@ -0,0 +1,89 @@
[ ... ]
> +properties:
> + compatible:
> + const: qcom,nord-sdhci
[Severity: Medium]
Should this binding use qcom,sa8797p-sdhci (and qcom,sa8797p-sdhci.yaml)
instead of qcom,nord-sdhci?
Nord Embedded (nord-embedded.dtsi) exposes OS-managed SDCC4 clocks and
resets in drivers/clk/qcom/negcc-nord.c, while this schema targets the
SCMI firmware-managed GearVM/SA8797P variant (nord-gearvm.dtsi, where
scmi34_pd and scmi34_dvfs live) and disallows clocks and resets.
Other Nord bindings reserve qcom,nord-* for OS-managed Nord Embedded
(e.g., qcom,nord-ufshc) and use qcom,sa8797p-* for SCMI GearVM (e.g.,
qcom,sa8797p-ufshc). Claiming qcom,nord-sdhci here prevents Nord
Embedded from using it under qcom,sdhci-msm.yaml without schema clashes.
> +
> + reg:
> + maxItems: 1
> +
> + reg-names:
> + items:
> + - const: hc
[Severity: Low]
Can reg-names be dropped from properties and required?
With reg fixed to maxItems: 1, a single-entry reg-names ("hc") adds no
value: sdhci_pltfm_init() maps the region by index 0 rather than by
name. Marking it required adds unnecessary DT ABI boilerplate and
rejects valid single-region nodes that omit it.
[ ... ]
> + mmc@b84000 {
> + compatible = "qcom,nord-sdhci";
> + reg = <0x000b84000 0x1000>;
[Severity: Low]
This isn't a bug, but 0x000b84000 has an extraneous leading zero (9 hex
digits for a 32-bit address cell) and should be 0x00b84000 or 0xb84000.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261205002150.2655647-1-anjana.hari@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-12-05 0:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 0:21 [PATCH v2 v2 0/2] mmc: sdhci-msm: Add firmware-managed resource support for Nord SDCC Anjana Hari
2026-12-05 0:21 ` [PATCH v2 v2 1/2] dt-bindings: mmc: sdhci-msm: Document " Anjana Hari
2026-12-05 0:35 ` sashiko-bot [this message]
2026-12-05 0:21 ` [PATCH v2 v2 2/2] mmc: sdhci-msm: Add support for firmware-managed resource platforms Anjana Hari
2026-12-05 0:39 ` sashiko-bot
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-250840@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=anjana.hari@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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.