[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9c989e91-741c-72d7-413c-b727e7d107d7@quicinc.com>
Date: Tue, 25 Jul 2023 13:59:46 +0530
From: Mukesh Ojha <quic_mojha@...cinc.com>
To: Elliot Berman <quic_eberman@...cinc.com>,
Mark Rutland <mark.rutland@....com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
"Sebastian Reichel" <sre@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>
CC: <linux-arm-kernel@...ts.infradead.org>, <linux-pm@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-msm@...r.kernel.org>, <kernel@...cinc.com>,
"Satya Durga Srinivasu Prabhala" <quic_satyap@...cinc.com>,
Melody Olvera <quic_molvera@...cinc.com>,
Prasad Sodagudi <quic_psodagud@...cinc.com>
Subject: Re: [RFC PATCH 3/4] dt-bindings: power: reset: Document
arm,psci-vendor-reset
On 7/25/2023 4:00 AM, Elliot Berman wrote:
> Add devicetree bindings for using PSCI SYSTEM_RESET2 with vendor reset types.
>
> Signed-off-by: Elliot Berman <quic_eberman@...cinc.com>
> ---
> .../power/reset/arm,psci-vendor-reset.yaml | 35 +++++++++++++++++++
> MAINTAINERS | 1 +
> 2 files changed, 36 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/power/reset/arm,psci-vendor-reset.yaml
>
> diff --git a/Documentation/devicetree/bindings/power/reset/arm,psci-vendor-reset.yaml b/Documentation/devicetree/bindings/power/reset/arm,psci-vendor-reset.yaml
> new file mode 100644
> index 000000000000..18b0b8c167a1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/reset/arm,psci-vendor-reset.yaml
> @@ -0,0 +1,35 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +# Copyright 2023 Qualcomm Innovation Center, Inc. All Rights Reserved.
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/power/reset/arm,psci-vendor-reset.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: PSCI SYSTEM_RESET2 Vendor Resets
> +
> +maintainers:
> + - Elliot Berman <quic_eberman@...cinc.com>
> +
> +description: |
> + PSCI SYSTEM_RESET2 supports vendor-defined reset types. This describes
> + the conversion of reboot modes to the reset types.
> +
> +properties:
> + compatible:
> + const: arm,psci-vendor-reset
> +
> +allOf:
> + - $ref: reboot-mode.yaml#
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + firmware {
> + psci-vendor-resets {
> + compatible = "arm,psci-vendor-reset";
> + reboot-normal = <0x100>;
> + reboot-bootloader = <0x101>;
> + reboot-fastboot = <0x102>;
Should it start with mode-* ?
-Mukesh
> + };
> + };
> diff --git a/MAINTAINERS b/MAINTAINERS
> index d516295978a4..2da4c5f1917b 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -16982,6 +16982,7 @@ M: Mark Rutland <mark.rutland@....com>
> M: Lorenzo Pieralisi <lpieralisi@...nel.org>
> L: linux-arm-kernel@...ts.infradead.org (moderated for non-subscribers)
> S: Maintained
> +F: Documentation/devicetree/bindings/power/reset/arm,psci-vendor-reset.yaml
> F: drivers/firmware/psci/
> F: include/linux/psci.h
> F: include/uapi/linux/psci.h
Powered by blists - more mailing lists