From: sashiko-bot@kernel.org
To: "Yaozhong Li" <yaozhonguwl@gmail.com>
Cc: mfd@lists.linux.dev, devicetree@vger.kernel.org, lee@kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [RFC PATCH v2 1/3] dt-bindings: mfd: rk808: add board level power hold GPIOs
Date: Sat, 19 Sep 2026 12:35:17 +0000 [thread overview]
Message-ID: <20260919123517.C0FD71F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260919122930.1418-2-yaozhonguwl@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: mfd: rk808: missing dependency constraint for power-hold-gpios
--
commit d0bbedcd800c9f7a3be4e2c8731dfd10b907acc4
Author: Yaozhong Li <yaozhonguwl@gmail.com>
dt-bindings: mfd: rk808: add board level power hold GPIOs
Some boards route "power hold" lines from the SoC into the board's power
circuitry. Those lines have to be held asserted while the system is
running and released before the PMIC shutdown request is written. Add
power-hold-gpios to describe those lines and power-hold-delay-ms for
the settle time.
> diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
> index 50dfffac8fbf5..d59f6baf502a2 100644
> --- a/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
> +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk808.yaml
[ ... ]
> @@ -113,6 +131,9 @@ properties:
> unevaluatedProperties: false
> unevaluatedProperties: false
>
> +dependencies:
> + power-hold-delay-ms: [ power-hold-gpios ]
> +
[Severity: Low]
Does this also need a dependency constraint enforcing that power-hold-gpios
requires system-power-controller?
The documentation states it is "Only meaningful together with
system-power-controller". Without the constraint, a device tree could define
power-hold-gpios without configuring the PMIC as the system-power-controller
(or using the legacy rockchip,system-power-controller property).
This misconfiguration would silently pass schema validation but fail at runtime
because the driver ignores the GPIOs in that configuration.
> required:
> - compatible
> - reg
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260919122930.1418-1-yaozhonguwl@gmail.com?part=1
next prev parent reply other threads:[~2026-09-19 12:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 9:27 [RFC PATCH 0/3] Fix poweroff restarting the board on Firefly-RK3399 Yaozhong Li
2026-09-09 9:27 ` [RFC PATCH 1/3] dt-bindings: mfd: rk808: add board level power hold GPIOs Yaozhong Li
2026-09-09 9:32 ` sashiko-bot
2026-09-09 9:27 ` [RFC PATCH 2/3] mfd: rk8xx: release the power hold GPIOs before powering off Yaozhong Li
2026-09-09 9:35 ` sashiko-bot
2026-09-09 13:08 ` Lee Jones
2026-09-09 9:27 ` [RFC PATCH 3/3] arm64: dts: rockchip: fix power-off on Firefly-RK3399 Yaozhong Li
2026-09-09 9:35 ` sashiko-bot
2026-09-19 12:29 ` [RFC PATCH v2 0/3] Fix poweroff restarting the board " Yaozhong Li
2026-09-19 12:29 ` [RFC PATCH v2 1/3] dt-bindings: mfd: rk808: add board level power hold GPIOs Yaozhong Li
2026-09-19 12:35 ` sashiko-bot [this message]
2026-09-19 12:29 ` [RFC PATCH v2 2/3] mfd: rk8xx: Release the power hold GPIOs before powering off Yaozhong Li
2026-09-19 12:35 ` sashiko-bot
2026-09-23 16:08 ` Lee Jones
2026-09-19 12:29 ` [RFC PATCH v2 3/3] arm64: dts: rockchip: fix power-off on Firefly-RK3399 Yaozhong Li
2026-09-19 12:37 ` 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=20260919123517.C0FD71F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=mfd@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=yaozhonguwl@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox