diff mbox series

[2/3] dt-bindings: qcom,pon: Add 'qcom,pon-reboot-not-used' property

Message ID 20210705025032.12804-3-shawn.guo@linaro.org
State New
Headers show
Series Add 'qcom,pon-reboot-not-used' support in PON driver | expand

Commit Message

Shawn Guo July 5, 2021, 2:50 a.m. UTC
Add an optional 'qcom,pon-reboot-not-used' property for devices, which
do not use PON register to pass reboot mode but other mechanism, e.g.
particular IMEM address.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

---
 Documentation/devicetree/bindings/power/reset/qcom,pon.yaml | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.17.1

Comments

Bjorn Andersson July 12, 2021, 5:08 p.m. UTC | #1
On Sun 04 Jul 21:50 CDT 2021, Shawn Guo wrote:

> Add an optional 'qcom,pon-reboot-not-used' property for devices, which

> do not use PON register to pass reboot mode but other mechanism, e.g.

> particular IMEM address.

> 

> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

> ---

>  Documentation/devicetree/bindings/power/reset/qcom,pon.yaml | 4 ++++

>  1 file changed, 4 insertions(+)

> 

> diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml

> index 7764c804af1d..584eff179904 100644

> --- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml

> +++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml

> @@ -23,6 +23,10 @@ properties:

>    reg:

>      maxItems: 1

>  

> +  qcom,pon-reboot-not-used:

> +    description: Support of reboot mode passing through PON register is not used

> +    type: boolean

> +


How is this different from just not specifying any mode-* properties?

Regards,
Bjorn

>  patternProperties:

>    "^mode-.+":

>      $ref: /schemas/types.yaml#/definitions/uint32

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
index 7764c804af1d..584eff179904 100644
--- a/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
+++ b/Documentation/devicetree/bindings/power/reset/qcom,pon.yaml
@@ -23,6 +23,10 @@  properties:
   reg:
     maxItems: 1
 
+  qcom,pon-reboot-not-used:
+    description: Support of reboot mode passing through PON register is not used
+    type: boolean
+
 patternProperties:
   "^mode-.+":
     $ref: /schemas/types.yaml#/definitions/uint32