diff mbox series

[1/3] dt-bindings: soc: qcom: stats: Document qcom,rpm-legacy-stats

Message ID 20211018110803.32777-2-stephan@gerhold.net
State Not Applicable, archived
Headers show
Series Add RPM sleep stats for MSM8916 | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Stephan Gerhold Oct. 18, 2021, 11:08 a.m. UTC
Document an additional qcom,rpm-legacy-stats compatible that can be
used similarly to qcom,rpm-stats for older RPM firmware versions that
have the sleep stats at a fixed offset rather than a dynamic one.

Cc: Maulik Shah <mkshah@codeaurora.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml | 2 ++
 1 file changed, 2 insertions(+)

Comments

Maulik Shah Oct. 21, 2021, 9:29 a.m. UTC | #1
Hi,

Reviewed-by: Maulik Shah <mkshah@codeaurora.org>

Thanks,
Maulik

On 10/18/2021 4:38 PM, Stephan Gerhold wrote:
> Document an additional qcom,rpm-legacy-stats compatible that can be
> used similarly to qcom,rpm-stats for older RPM firmware versions that
> have the sleep stats at a fixed offset rather than a dynamic one.
> 
> Cc: Maulik Shah <mkshah@codeaurora.org>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
>   Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
> index 99dff7d73b7e..566678d02008 100644
> --- a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
> @@ -21,6 +21,8 @@ properties:
>       enum:
>         - qcom,rpmh-stats
>         - qcom,rpm-stats
> +      # For older RPM firmware versions with fixed offset for the sleep stats
> +      - qcom,rpm-legacy-stats
>   
>     reg:
>       maxItems: 1
>
Rob Herring Oct. 26, 2021, 11:38 p.m. UTC | #2
On Mon, 18 Oct 2021 13:08:01 +0200, Stephan Gerhold wrote:
> Document an additional qcom,rpm-legacy-stats compatible that can be
> used similarly to qcom,rpm-stats for older RPM firmware versions that
> have the sleep stats at a fixed offset rather than a dynamic one.
> 
> Cc: Maulik Shah <mkshah@codeaurora.org>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
>  Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
index 99dff7d73b7e..566678d02008 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
@@ -21,6 +21,8 @@  properties:
     enum:
       - qcom,rpmh-stats
       - qcom,rpm-stats
+      # For older RPM firmware versions with fixed offset for the sleep stats
+      - qcom,rpm-legacy-stats
 
   reg:
     maxItems: 1