summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml
blob: 527962d54a8f81933a0da0ab8d43689d3c90a3a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/reset/qcom,pshold.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm SoC restart and power off

maintainers:
  - Bjorn Andersson <bjorn.andersson@linaro.org>

description:
  A power supply hold (ps-hold) bit is set to power the Qualcomm chipsets.
  Clearing that bit allows us to restart/power off. The difference between
  power off and restart is determined by unique power manager IC settings.

properties:
  compatible:
    const: qcom,pshold

  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    reset-controller@fc4ab000 {
        compatible = "qcom,pshold";
        reg = <0xfc4ab000 0x4>;
    };