* [PATCH] dt-bindings: power: reset: qcom,pshold: convert to dtschema
@ 2022-06-29 12:38 Krzysztof Kozlowski
2022-07-01 17:36 ` Rob Herring
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-29 12:38 UTC (permalink / raw)
To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski,
Bjorn Andersson, linux-pm, devicetree, linux-kernel
Cc: Krzysztof Kozlowski
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
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>;
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] dt-bindings: power: reset: qcom,pshold: convert to dtschema
2022-06-29 12:38 [PATCH] dt-bindings: power: reset: qcom,pshold: convert to dtschema Krzysztof Kozlowski
@ 2022-07-01 17:36 ` Rob Herring
2022-07-16 22:47 ` Sebastian Reichel
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2022-07-01 17:36 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: linux-pm, linux-kernel, Bjorn Andersson, Sebastian Reichel,
devicetree, Krzysztof Kozlowski, Rob Herring
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: power: reset: qcom,pshold: convert to dtschema
2022-07-01 17:36 ` Rob Herring
@ 2022-07-16 22:47 ` Sebastian Reichel
0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2022-07-16 22:47 UTC (permalink / raw)
To: Rob Herring
Cc: Krzysztof Kozlowski, linux-pm, linux-kernel, Bjorn Andersson,
devicetree, Krzysztof Kozlowski, Rob Herring
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-16 22:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-29 12:38 [PATCH] dt-bindings: power: reset: qcom,pshold: convert to dtschema Krzysztof Kozlowski
2022-07-01 17:36 ` Rob Herring
2022-07-16 22:47 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).