-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: power: reset: qcom,pshold: convert to dtschema
Convert the Qualcomm Power Supply Hold Reset bindings to DT schema. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
- Loading branch information
Krzysztof Kozlowski
authored and
Sebastian Reichel
committed
Jul 16, 2022
1 parent
966f655
commit 491f1f4
Showing
2 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
17 changes: 0 additions & 17 deletions
17
Documentation/devicetree/bindings/power/reset/msm-poweroff.txt
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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>; | ||
}; |