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

From: Oleksij Rempel
Date: Wed Oct 25 2023 - 04:46:38 EST


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 <o.rempel@xxxxxxxxxxxxxx>
---
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