From: sashiko-bot@kernel.org
To: "Anurag Pateriya" <anurag.pateriya@oss.qualcomm.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 2/2] arm64: dts: qcom: kaanapali: add reboot-mode support
Date: Fri, 29 May 2026 15:25:54 +0000 [thread overview]
Message-ID: <20260529152555.00C5D1F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260529-psci_sys_reset-dt-changes-for-pakala-v2-2-1964ebf1924c@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] The newly added `reboot-mode` child nodes under `&psci` lack a `compatible` property, preventing the intended driver from probing.
- [Low] Adding a `reboot-mode` child node to the `psci` node causes a DT schema validation failure.
--
commit 079cf5018c165ba61e6369f973cc92a5ec2da280
Author: Xin Liu <xin.liu@oss.qualcomm.com>
arm64: dts: qcom: kaanapali: add reboot-mode support
This commit adds PSCI SYSTEM_RESET2 reboot-modes for the kaanapali-mtp
and kaanapali-qrd boards. It defines the bootloader and edl modes for
use by the psci-reboot-mode driver.
> diff --git a/arch/arm64/boot/dts/qcom/kaanapali-mtp.dts b/arch/arm64/boot/dts/qcom/kaanapali-mtp.dts
[ ... ]
> @@ -1321,3 +1321,10 @@ &ufs_mem_phy {
>
> status = "okay";
> };
> +
> +&psci {
> + reboot-mode {
[Severity: Low]
Will this new child node cause a device tree schema validation failure?
The core PSCI schema (Documentation/devicetree/bindings/arm/psci.yaml)
enforces additionalProperties: false at the top level and does not currently
document or allow a reboot-mode child node.
The binding schema may need to be updated to explicitly allow the
reboot-mode node to avoid errors during dtbs_check.
[Severity: Medium]
Does this node need a compatible string to successfully probe the driver?
Standard device tree matching via of_platform_populate() requires a
compatible property to bind a device node to a platform driver.
Without a compatible property (such as compatible = "qcom,psci-reboot-mode";),
the driver core will likely ignore these nodes, leaving the bootloader and edl
reboot functionality inoperative.
> + mode-bootloader = <0x80010001 0x2>;
> + mode-edl = <0x80000000 0x1>;
> + };
> +};
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260529-psci_sys_reset-dt-changes-for-pakala-v2-0-1964ebf1924c@oss.qualcomm.com?part=2
next prev parent reply other threads:[~2026-05-29 15:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-29 14:23 [PATCH v2 0/2] Add psci_sys_reset2 reboot modes for Qualcomm boards Anurag Pateriya
2026-05-29 14:23 ` [PATCH v2 1/2] arm64: dts: qcom: sm8750: add reboot-mode support Anurag Pateriya
2026-05-29 14:54 ` sashiko-bot
2026-05-29 14:23 ` [PATCH v2 2/2] arm64: dts: qcom: kaanapali: " Anurag Pateriya
2026-05-29 15:25 ` sashiko-bot [this message]
2026-06-10 12:57 ` [PATCH v2 0/2] Add psci_sys_reset2 reboot modes for Qualcomm boards Loic Poulain
2026-06-12 8:21 ` Lorenzo Pieralisi
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=20260529152555.00C5D1F00893@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=anurag.pateriya@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox