From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Stephan Gerhold <stephan@gerhold.net>
Cc: Andy Gross <agross@kernel.org>,
linux-arm-msm@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
Maulik Shah <mkshah@codeaurora.org>
Subject: Re: [PATCH v2 1/3] dt-bindings: soc: qcom: stats: Document compatibles with fixed offset
Date: Sat, 20 Nov 2021 16:39:38 -0800 [thread overview]
Message-ID: <YZmVSgVzUigHzrdt@ripper> (raw)
In-Reply-To: <20211119213953.31970-2-stephan@gerhold.net>
On Fri 19 Nov 13:39 PST 2021, Stephan Gerhold wrote:
> Document additional compatibles 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. The exact offset might vary depending on the SoC
> so use SoC-specific compatible names to avoid confusion.
>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
> Cc: Maulik Shah <mkshah@codeaurora.org>
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
> Changes in v2:
> - Use SoC-specific compatibles instead of qcom,rpm-legacy-stats
> ---
> Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
> index 99dff7d73b7e..473adca4e973 100644
> --- a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
> @@ -21,6 +21,11 @@ properties:
> enum:
> - qcom,rpmh-stats
> - qcom,rpm-stats
> + # For older RPM firmware versions with fixed offset for the sleep stats
> + - qcom,apq8084-rpm-stats
> + - qcom,msm8226-rpm-stats
> + - qcom,msm8916-rpm-stats
> + - qcom,msm8974-rpm-stats
>
> reg:
> maxItems: 1
> --
> 2.34.0
>
next prev parent reply other threads:[~2021-11-21 0:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 21:39 [PATCH v2 0/3] Add RPM sleep stats for MSM8916 Stephan Gerhold
2021-11-19 21:39 ` [PATCH v2 1/3] dt-bindings: soc: qcom: stats: Document compatibles with fixed offset Stephan Gerhold
2021-11-21 0:39 ` Bjorn Andersson [this message]
2021-11-30 1:47 ` Rob Herring
2021-11-19 21:39 ` [PATCH v2 2/3] soc: qcom: stats: Add fixed sleep stats offset for older RPM firmwares Stephan Gerhold
2021-11-21 0:39 ` Bjorn Andersson
2021-11-19 21:39 ` [PATCH v2 3/3] arm64: dts: qcom: msm8916: Add RPM sleep stats Stephan Gerhold
2021-12-01 15:13 ` (subset) " Bjorn Andersson
2021-12-01 15:13 ` (subset) [PATCH v2 0/3] Add RPM sleep stats for MSM8916 Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YZmVSgVzUigHzrdt@ripper \
--to=bjorn.andersson@linaro.org \
--cc=agross@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=mkshah@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=stephan@gerhold.net \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).