[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1402309780-8118-3-git-send-email-cw00.choi@samsung.com>
Date: Mon, 09 Jun 2014 19:29:40 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: broonie@...nel.org, lgirdwood@...il.com, grant.likely@...aro.org,
robh+dt@...nel.org
Cc: myungjoo.ham@...sung.com, kyungmin.park@...sung.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Chanwoo Choi <cw00.choi@...sung.com>
Subject: [PATCH 2/2] dt-bindings: regulator: Add regulator suspend state for PM
state
This patch add regulator suspend state to constraint in dt file. The regulation_
constraints structure already has regulator suspend state field as following.
The regulator suspend state control the state of regulator according to
PM (Power Management) state.
- struct regulator_state state_disk
- struct regulator_state state_mem
- struct regulator_state state_standby
Signed-off-by: Chanwoo Choi <cw00.choi@...sung.com>
---
Documentation/devicetree/bindings/regulator/regulator.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt
index e2c7f1e..b2a4a72 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/regulator.txt
@@ -19,6 +19,12 @@ Optional properties:
design requires. This property describes the total system ramp time
required due to the combination of internal ramping of the regulator itself,
and board design issues such as trace capacitance and load on the supply.
+- regulator-initial-state: initial state for suspend state
+- regulator-state-[standby/mem/disk] sub-root node for suspend state
+ regulator-volt: voltage consumers may set in suspend state
+ regulator-mode: voltage mode in suspend state
+ regulator-on-in-suspend: regulator should be on in suspend state
+ regulator-off-in-suspend: regulator should be off in suspend state
Deprecated properties:
- regulator-compatible: If a regulator chip contains multiple
@@ -34,6 +40,12 @@ Example:
regulator-max-microvolt = <2500000>;
regulator-always-on;
vin-supply = <&vin>;
+
+ regulator-state-mem {
+ regulator-volt = <1000000>;
+ regulator-mode = <0x8>;
+ regulator-off-in-suspend;
+ };
};
Regulator Consumers:
--
1.8.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists