mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 17:45:09 +07:00
78be3176c4
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>
18 lines
433 B
Plaintext
18 lines
433 B
Plaintext
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>;
|
|
};
|