From c0bc4bc58eaad416178120c241aed61581fbb831 Mon Sep 17 00:00:00 2001 From: Jishnu Prakash Date: Mon, 8 Aug 2022 15:33:23 +0530 Subject: [PATCH] dt-bindings: regulator: add disable-mode for rpmh-regulator Add an optional property "qcom,disable-mode" for LDOs which gets set when they get disabled and removed when they are re-enabled, to avoid unexpected high power consumption when they are disabled and the mode gets set from another subsystem. Change-Id: Ie0173335d7574fb9e71daa1ee878d20bc32d8904 --- bindings/regulator/rpmh-regulator.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bindings/regulator/rpmh-regulator.txt b/bindings/regulator/rpmh-regulator.txt index 2fa2b820..26a36079 100644 --- a/bindings/regulator/rpmh-regulator.txt +++ b/bindings/regulator/rpmh-regulator.txt @@ -89,6 +89,14 @@ First Level Nodes - RPMh Interface parameters values will only be sent after some consumer makes a request. +- qcom,disable-mode + Usage: optional + Value type: + Definition: Specifies the mode to set for a VRM regulator when it gets disabled. + The actual previously voted mode will be restored when the regulator + is enabled. + Supported values are RPMH_REGULATOR_MODE_* (i.e. 0 to 4). + ========================================= Second Level Nodes - Regulator Interfaces =========================================