xref: /freebsd/sys/contrib/device-tree/Bindings/power/reset/qcom,pshold.yaml (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1*b97ee269SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*b97ee269SEmmanuel Vadot%YAML 1.2
3*b97ee269SEmmanuel Vadot---
4*b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/power/reset/qcom,pshold.yaml#
5*b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b97ee269SEmmanuel Vadot
7*b97ee269SEmmanuel Vadottitle: Qualcomm SoC restart and power off
8*b97ee269SEmmanuel Vadot
9*b97ee269SEmmanuel Vadotmaintainers:
10*b97ee269SEmmanuel Vadot  - Bjorn Andersson <bjorn.andersson@linaro.org>
11*b97ee269SEmmanuel Vadot
12*b97ee269SEmmanuel Vadotdescription:
13*b97ee269SEmmanuel Vadot  A power supply hold (ps-hold) bit is set to power the Qualcomm chipsets.
14*b97ee269SEmmanuel Vadot  Clearing that bit allows us to restart/power off. The difference between
15*b97ee269SEmmanuel Vadot  power off and restart is determined by unique power manager IC settings.
16*b97ee269SEmmanuel Vadot
17*b97ee269SEmmanuel Vadotproperties:
18*b97ee269SEmmanuel Vadot  compatible:
19*b97ee269SEmmanuel Vadot    const: qcom,pshold
20*b97ee269SEmmanuel Vadot
21*b97ee269SEmmanuel Vadot  reg:
22*b97ee269SEmmanuel Vadot    maxItems: 1
23*b97ee269SEmmanuel Vadot
24*b97ee269SEmmanuel Vadotrequired:
25*b97ee269SEmmanuel Vadot  - compatible
26*b97ee269SEmmanuel Vadot  - reg
27*b97ee269SEmmanuel Vadot
28*b97ee269SEmmanuel VadotadditionalProperties: false
29*b97ee269SEmmanuel Vadot
30*b97ee269SEmmanuel Vadotexamples:
31*b97ee269SEmmanuel Vadot  - |
32*b97ee269SEmmanuel Vadot    reset-controller@fc4ab000 {
33*b97ee269SEmmanuel Vadot        compatible = "qcom,pshold";
34*b97ee269SEmmanuel Vadot        reg = <0xfc4ab000 0x4>;
35*b97ee269SEmmanuel Vadot    };
36