2023-10-25 08:47:02

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v3 6/7] regulator: dt-bindings: Add regulator-uv-survival-time-ms property

Introduce a new Device Tree property 'regulator-uv-survival-time-ms' to
specify the survival time post a critical under-voltage event. This
property defines the time in milliseconds the system can operate before
the on-board capacitors fail, providing a window for necessary actions
or preparations to be taken before power loss, aligning with the
under-voltage event handling mechanism.

Signed-off-by: Oleksij Rempel <[email protected]>
---
Documentation/devicetree/bindings/regulator/regulator.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml
index 5b8d55f7c43b..85b8c51f8ede 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/regulator.yaml
@@ -186,6 +186,13 @@ properties:
be enabled but limit setting can be omitted. Limit is given as microvolt
offset from voltage set to regulator.

+ regulator-uv-survival-time-ms:
+ description: Specifies the time (in milliseconds) the system can continue
+ to operate after a critical under-voltage event has been triggered,
+ before the on-board capacitors fail. This time essentially represents the
+ duration the system has to take any necessary actions or preparations
+ before power loss.
+
regulator-temp-protection-kelvin:
description: Set over temperature protection limit. This is a limit where
hardware performs emergency shutdown. Zero can be passed to disable
--
2.39.2


2023-10-27 20:36:52

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v3 6/7] regulator: dt-bindings: Add regulator-uv-survival-time-ms property


On Wed, 25 Oct 2023 10:46:13 +0200, Oleksij Rempel wrote:
> Introduce a new Device Tree property 'regulator-uv-survival-time-ms' to
> specify the survival time post a critical under-voltage event. This
> property defines the time in milliseconds the system can operate before
> the on-board capacitors fail, providing a window for necessary actions
> or preparations to be taken before power loss, aligning with the
> under-voltage event handling mechanism.
>
> Signed-off-by: Oleksij Rempel <[email protected]>
> ---
> Documentation/devicetree/bindings/regulator/regulator.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>

Acked-by: Rob Herring <[email protected]>