| 1 |
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/power/reset/qcom,pshold.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm SoC restart and power off |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Bjorn Andersson <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
A power supply hold (ps-hold) bit is set to power the Qualcomm chipsets. |
| 14 |
Clearing that bit allows us to restart/power off. The difference between |
| 15 |
power off and restart is determined by unique power manager IC settings. |
| 16 |
|
| 17 |
properties: |
| 18 |
compatible: |
| 19 |
const: qcom,pshold |
| 20 |
|
| 21 |
reg: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
required: |
| 25 |
- compatible |
| 26 |
- reg |
| 27 |
|
| 28 |
additionalProperties: false |
| 29 |
|
| 30 |
examples: |
| 31 |
- | |
| 32 |
reset-controller@fc4ab000 { |
| 33 |
compatible = "qcom,pshold"; |
| 34 |
reg = <0xfc4ab000 0x4>; |
| 35 |
}; |