diff options
author | Abhimanyu Kapur <abhimany@codeaurora.org> | 2013-07-31 02:05:28 +0200 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-08-09 20:47:53 +0200 |
commit | 78be3176c4335b8ff3d9625ed3fc571e7d2ba8f4 (patch) | |
tree | 08a71d66ac0069147b18f76e3265f7b9b8bbbc84 /Documentation | |
parent | MAINTAINERS: drivers/power: add entry for SmartReflex AVS drivers (diff) | |
download | linux-78be3176c4335b8ff3d9625ed3fc571e7d2ba8f4.tar.xz linux-78be3176c4335b8ff3d9625ed3fc571e7d2ba8f4.zip |
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')
-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>; + }; |