diff options
author | Abhimanyu Kapur <abhimany@codeaurora.org> | 2013-07-30 17:05:28 -0700 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-08-09 11:47:53 -0700 |
commit | 78be3176c4335b8ff3d9625ed3fc571e7d2ba8f4 (patch) | |
tree | 08a71d66ac0069147b18f76e3265f7b9b8bbbc84 /Documentation/devicetree/bindings/power_supply | |
parent | 68ace3e1886b94925c73e08702437f6dcd539a4d (diff) |
power: reset: Add msm restart support
Add support for restart and poweroff functionality present on MSM chipsets
with the MPM2 ps-hold hardware.
Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
Tested-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'Documentation/devicetree/bindings/power_supply')
-rw-r--r-- | Documentation/devicetree/bindings/power_supply/msm-poweroff.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power_supply/msm-poweroff.txt b/Documentation/devicetree/bindings/power_supply/msm-poweroff.txt new file mode 100644 index 000000000000..ce44ad357565 --- /dev/null +++ b/Documentation/devicetree/bindings/power_supply/msm-poweroff.txt @@ -0,0 +1,17 @@ +MSM Restart Driver + +A power supply hold (ps-hold) bit is set to power the msm chipsets. +Clearing that bit allows us to restart/poweroff. The difference +between poweroff and restart is determined by unique power manager IC +settings. + +Required Properties: +-compatible: "qcom,pshold" +-reg: Specifies the physical address of the ps-hold register + +Example: + + restart@fc4ab000 { + compatible = "qcom,pshold"; + reg = <0xfc4ab000 0x4>; + }; |