[PATCH 1/3] dt-bindings: arm,psci: Allow S2RAM power_state parameter description
Lorenzo Pieralisi
lpieralisi at kernel.org
Wed Nov 13 04:43:13 PST 2024
On Mon, Oct 28, 2024 at 03:22:57PM +0100, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio at oss.qualcomm.com>
>
> Certain firmware implementations (such as the ones found on Qualcomm
> SoCs between roughly 2015 and 2023) expose an S3-like S2RAM state
> through the CPU_SUSPEND call, as opposed to exposing PSCIv1.0's
> optional PSCI_SYSTEM_SUSPEND.
>
> This really doesn't work well with the model where we associate all
> calls to CPU_SUSPEND with cpuidle. Allow specifying a single special
> CPU_SUSPEND suspend parameter value that is to be treated just like
> SYSTEM_SUSPEND from the OS's point of view.
For the records, the info above is not relevant.
These are generic firmware bindings for PSCI specifications - how CPUidle
is implemented in Linux must play no role here.
> Signed-off-by: Konrad Dybcio <konrad.dybcio at oss.qualcomm.com>
> ---
> Documentation/devicetree/bindings/arm/psci.yaml | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/psci.yaml b/Documentation/devicetree/bindings/arm/psci.yaml
> index cbb012e217ab80c1ca88e611e7acc06c6d56fad0..a6901878697c8e1ec1cbfed62298ae3bc58f2501 100644
> --- a/Documentation/devicetree/bindings/arm/psci.yaml
> +++ b/Documentation/devicetree/bindings/arm/psci.yaml
> @@ -98,6 +98,12 @@ properties:
> [1] Kernel documentation - ARM idle states bindings
> Documentation/devicetree/bindings/cpu/idle-states.yaml
>
> + arm,psci-s2ram-param:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + power_state parameter denoting the S2RAM/S3-like system suspend state
> + maxItems: 1
NACK
This is nothing that has ever been specified in the PSCI specifications,
see above.
> patternProperties:
> "^power-domain-":
> $ref: /schemas/power/power-domain.yaml#
>
> --
> 2.47.0
>
More information about the linux-arm-kernel
mailing list