From: sashiko-bot@kernel.org
To: "Rosen Penev" <rosenp@gmail.com>
Cc: conor+dt@kernel.org, robh@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: mtd: convert IBM NDFC binding to YAML
Date: Mon, 21 Sep 2026 02:04:41 +0000 [thread overview]
Message-ID: <20260921020442.2F3171F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260921015719.1045365-1-rosenp@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] mtd: missing eiger.dts update breaks dtbs_check
- [Low] dt-bindings: unit address mismatch in YAML example
--
commit ef4d9a61ebafb45b3d3ff44afa9f87f46f05cad7
Author: Rosen Penev <rosenp@gmail.com>
dt-bindings: mtd: convert IBM NDFC binding to YAML
The NDFC NAND flash controller was only described in a legacy text file,
so dtbs_check reported a failure to match any schema for the ndfc nodes
of several device trees. This patch converts the binding to YAML format
and describes the node's properties.
> eiger's ndfc node omits reg (supplied by U-Boot), so add a placeholder
> there to satisfy the newly required property, matching the flash@0,0
> node in the same file.
[Severity: Medium]
Since the new ibm,ndfc.yaml makes the reg property required, running
make dtbs_check on PowerPC architectures will fail for eiger.dts because
the node omits it.
The commit message mentions adding a placeholder to eiger.dts, but the
patch entirely omits any modification to arch/powerpc/boot/dts/eiger.dts.
Could the eiger.dts update have been accidentally dropped from this patch?
> diff --git a/Documentation/devicetree/bindings/mtd/ibm,ndfc.yaml b/Documentation/devicetree/bindings/mtd/ibm,ndfc.yaml
> new file mode 100644
> index 0000000000000..96e25771a8fe9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mtd/ibm,ndfc.yaml
[ ... ]
> + partition@0 {
> + label = "kernel";
> + reg = <0x00000000 0x00200000>;
> + };
> + partition@200000 {
> + label = "root";
> + reg = <0x00000000 0x03e00000>;
[Severity: Low]
Will this mismatched unit address cause a simple_bus_reg warning?
In the example, partition@200000 defines reg = <0x00000000 0x03e00000>.
The address 0x00000000 does not match the unit address 200000 (which was
correctly 0x00200000 in the old text bindings). Running validation on the
newly added YAML schema might fail here.
> + };
> + };
> + };
> + };
> +...
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260921015719.1045365-1-rosenp@gmail.com?part=1
prev parent reply other threads:[~2026-09-21 2:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 1:57 [PATCH] dt-bindings: mtd: convert IBM NDFC binding to YAML Rosen Penev
2026-09-21 2:04 ` sashiko-bot [this message]
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=20260921020442.2F3171F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=rosenp@gmail.com \
--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