diff options
author | Mark Brown <broonie@kernel.org> | 2023-11-13 19:15:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-13 19:15:05 +0100 |
commit | 753e4d5c433da57da75dd4c3e1aececc8e874a62 (patch) | |
tree | a10c9d13347d764c620f014c7869d3e66ce4f9af /Documentation/devicetree/bindings/regulator | |
parent | Add PM8937 PMIC support (diff) | |
parent | regulator: Implement uv_survival_time for handling under-voltage events (diff) | |
download | linux-753e4d5c433da57da75dd4c3e1aececc8e874a62.tar.xz linux-753e4d5c433da57da75dd4c3e1aececc8e874a62.zip |
regulator: add under-voltage support (part 2)
Merge series from Oleksij Rempel <o.rempel@pengutronix.de>:
This series add under-voltage and emergency shutdown for system critical
regulators
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/regulator/regulator.yaml | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index ce7751b9129c..9ff9abf2691a 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -105,6 +105,8 @@ properties: description: Interrupt signaling a critical under-voltage event. + system-critical-regulator: true + required: - compatible - regulator-name diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml index 9daf0fc2465f..1ef380d1515e 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/regulator.yaml @@ -114,6 +114,11 @@ properties: description: Enable pull down resistor when the regulator is disabled. type: boolean + system-critical-regulator: + description: Set if the regulator is critical to system stability or + functionality. + type: boolean + regulator-over-current-protection: description: Enable over current protection. type: boolean @@ -181,6 +186,14 @@ properties: be enabled but limit setting can be omitted. Limit is given as microvolt offset from voltage set to regulator. + regulator-uv-less-critical-window-ms: + description: Specifies the time window (in milliseconds) following a + critical under-voltage event during which the system can continue to + operate safely while performing less critical operations. This property + provides a defined duration before a more severe reaction to the + under-voltage event is needed, allowing for certain non-urgent actions to + be carried out in preparation for potential 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 |