From: sashiko-bot@kernel.org
To: "Bhargav Joshi" <j.bhargav.u@gmail.com>
Cc: lee@kernel.org, devicetree@vger.kernel.org, robh@kernel.org,
conor+dt@kernel.org, mfd@lists.linux.dev
Subject: Re: [PATCH v4 2/2] dt-bindings: mfd: ti,keystone-devctrl: Convert to DT schema
Date: Mon, 31 Aug 2026 23:50:51 +0000 [thread overview]
Message-ID: <20260831235052.338CD1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260901-ti-keystone-devctrl-v4-2-2922f2a44792@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The YAML example block contains phandle references to labels that are not defined, causing `dt_binding_check` to fail compilation.
--
commit afa65fa8e16c9a7e5fce2efb40236086a0eed689
Author: Bhargav Joshi <j.bhargav.u@gmail.com>
dt-bindings: mfd: ti,keystone-devctrl: Convert to DT schema
Convert the Texas Instruments Keystone Device State Control binding from
legacy text format to DT schema.
> diff --git a/Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml b/Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml
> new file mode 100644
> index 0000000000000..564dfc8a731f2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml
[ ... ]
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + device-state-control@2620000 {
[Severity: Low]
Does omitting the devctrl: label from this node cause compilation to fail?
When make dt_binding_check is run, it extracts the examples block in
Documentation/devicetree/bindings/mfd/ti,keystone-devctrl.yaml into a
standalone .dts file and compiles it. Without the label, subsequent
references to &devctrl in the child nodes cannot be resolved by dtc.
> + compatible = "ti,keystone-devctrl", "syscon", "simple-mfd";
> + reg = <0x02620000 0x1000>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0x0 0x02620000 0x1000>;
> +
> + interrupt-controller@2a0 {
> + compatible = "ti,keystone-irq";
> + reg = <0x2a0 0x4>;
> + interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
> + interrupt-controller;
> + #interrupt-cells = <1>;
> + ti,syscon-dev = <&devctrl 0x2a0>;
[Severity: Low]
Can this use the &devctrl phandle since the label wasn't defined on the
parent node?
> + };
> +
> + reset-controller@328 {
> + compatible = "ti,keystone-reset";
> + reg = <0x328 0x10>;
> + ti,syscon-pll = <&pllctrl 0xe4>;
[Severity: Low]
Is the &pllctrl phandle defined anywhere in this example?
Because the examples block is compiled independently during dt_binding_check,
referencing an undefined &pllctrl phandle will cause dtc compilation to fail.
A dummy pllctrl node might be required here.
> + ti,syscon-dev = <&devctrl 0x328>;
> + ti,wdt-list = <0>;
> + };
> + };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260901-ti-keystone-devctrl-v4-0-2922f2a44792@gmail.com?part=2
next prev parent reply other threads:[~2026-08-31 23:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 23:38 [PATCH v4 0/2] ti,keystone-devctrl: Convert to DT schema and DTS cleanups Bhargav Joshi
2026-08-31 23:38 ` [PATCH v4 1/2] ARM: dts: ti: keystone: Align devctrl child node names with dtschema Bhargav Joshi
2026-08-31 23:49 ` sashiko-bot
2026-08-31 23:38 ` [PATCH v4 2/2] dt-bindings: mfd: ti,keystone-devctrl: Convert to DT schema Bhargav Joshi
2026-08-31 23:50 ` sashiko-bot [this message]
2026-09-04 15:59 ` (subset) [PATCH v4 0/2] ti,keystone-devctrl: Convert to DT schema and DTS cleanups Nishanth Menon
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=20260831235052.338CD1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j.bhargav.u@gmail.com \
--cc=lee@kernel.org \
--cc=mfd@lists.linux.dev \
--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.