Message ID | 20220629123804.94906-1-krzysztof.kozlowski@linaro.org |
---|---|
State | Accepted |
Commit | 491f1f483f4284fb2db0e09a5de4664683a25a88 |
Headers | show |
Series | dt-bindings: power: reset: qcom,pshold: convert to dtschema | expand |
On Wed, 29 Jun 2022 14:38:04 +0200, Krzysztof Kozlowski wrote: > Convert the Qualcomm Power Supply Hold Reset bindings to DT schema. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > .../bindings/power/reset/msm-poweroff.txt | 17 --------- > .../bindings/power/reset/qcom,pshold.yaml | 35 +++++++++++++++++++ > 2 files changed, 35 insertions(+), 17 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/power/reset/msm-poweroff.txt > create mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml > Reviewed-by: Rob Herring <robh@kernel.org>
Hi, On Fri, Jul 01, 2022 at 11:36:01AM -0600, Rob Herring wrote: > On Wed, 29 Jun 2022 14:38:04 +0200, Krzysztof Kozlowski wrote: > > Convert the Qualcomm Power Supply Hold Reset bindings to DT schema. > > > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- > > .../bindings/power/reset/msm-poweroff.txt | 17 --------- > > .../bindings/power/reset/qcom,pshold.yaml | 35 +++++++++++++++++++ > > 2 files changed, 35 insertions(+), 17 deletions(-) > > delete mode 100644 Documentation/devicetree/bindings/power/reset/msm-poweroff.txt > > create mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml > > > > Reviewed-by: Rob Herring <robh@kernel.org> Thanks, queued. -- Sebastian
diff --git a/Documentation/devicetree/bindings/power/reset/msm-poweroff.txt b/Documentation/devicetree/bindings/power/reset/msm-poweroff.txt deleted file mode 100644 index ce44ad357565..000000000000 --- a/Documentation/devicetree/bindings/power/reset/msm-poweroff.txt +++ /dev/null @@ -1,17 +0,0 @@ -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>; - }; diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml new file mode 100644 index 000000000000..527962d54a8f --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml @@ -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>; + };
Convert the Qualcomm Power Supply Hold Reset bindings to DT schema. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- .../bindings/power/reset/msm-poweroff.txt | 17 --------- .../bindings/power/reset/qcom,pshold.yaml | 35 +++++++++++++++++++ 2 files changed, 35 insertions(+), 17 deletions(-) delete mode 100644 Documentation/devicetree/bindings/power/reset/msm-poweroff.txt create mode 100644 Documentation/devicetree/bindings/power/reset/qcom,pshold.yaml