From: Rob Herring <robh@kernel.org>
To: Alexey Charkov <alchark@flipper.net>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>,
Sebastian Reichel <sre@kernel.org>,
Shawn Lin <shawn.lin@rock-chips.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH v3 2/5] dt-bindings: power: reset: syscon-reboot-mode: allow supplies
Date: Wed, 7 Oct 2026 16:24:32 -0500 [thread overview]
Message-ID: <20261007212432.GA381404-robh@kernel.org> (raw)
In-Reply-To: <20261006-b4-rk3576-reboot-mode-v3-2-6edba064693b@flipper.net>
On Tue, Oct 06, 2026 at 08:02:40PM +0400, Alexey Charkov wrote:
> Whatever program that acts on a reboot mode runs before a full OS, so it
> may lack the capability to enable the regulators it depends on, and a
> reset that preserves the mode register generally leaves the regulators as
> the previously running system left them.
>
> Allow a reboot mode node to name such supplies, so that they can be
> turned on while the mode is being requested.
>
> Signed-off-by: Alexey Charkov <alchark@flipper.net>
> ---
> .../devicetree/bindings/power/reset/syscon-reboot-mode.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
> index 79ffc78b23ea..5ed70c87269e 100644
> --- a/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
> +++ b/Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml
> @@ -36,6 +36,14 @@ patternProperties:
> "^mode-.*$":
> maxItems: 1
>
> + "^[a-z0-9]+(-[a-z0-9]+)*-supply$":
> + description:
> + Supply that has to be powered for whatever program acts on the mode.
> + That could be a boot ROM with no access to regulators, and a warm reset
> + leaves them as the previously running system left them and not necessarily
> + what their expected out-of-reboot state is. Any supply described here is
> + enabled when a mode is requested, and stays enabled.
Sorry, but no. If we allow this, then what next? clocks? power-domains?
GPIO lines? The list is endless. Maybe if a not generic binding is used,
but still pretty much pure configuration.
Rob
next prev parent reply other threads:[~2026-10-07 21:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-06 16:02 [PATCH v3 0/5] power: reset: syscon-reboot-mode: Add support for Rockchip RK3576 reboot modes Alexey Charkov
2026-10-06 16:02 ` [PATCH v3 1/5] dt-bindings: soc: rockchip: add boot ROM download boot mode Alexey Charkov
2026-10-07 21:17 ` Rob Herring (Arm)
2026-10-06 16:02 ` [PATCH v3 2/5] dt-bindings: power: reset: syscon-reboot-mode: allow supplies Alexey Charkov
2026-10-07 21:24 ` Rob Herring [this message]
2026-10-07 21:58 ` Alexey Charkov
2026-10-06 16:02 ` [PATCH v3 3/5] power: reset: syscon-reboot-mode: enable supplies for the next stage Alexey Charkov
2026-10-06 16:02 ` [PATCH v3 4/5] arm64: dts: rockchip: add reboot-mode node to RK3576 Alexey Charkov
2026-10-06 16:02 ` [PATCH v3 5/5] arm64: dts: rockchip: name the reboot mode supplies on RK3576 EVB1 Alexey Charkov
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=20261007212432.GA381404-robh@kernel.org \
--to=robh@kernel.org \
--cc=alchark@flipper.net \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=shawn.lin@rock-chips.com \
--cc=sre@kernel.org \
/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
all inboxes | Powered by JetHome®