Message ID | 20211119213953.31970-2-stephan@gerhold.net |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | Add RPM sleep stats for MSM8916 | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | warning | total: 0 errors, 1 warnings, 11 lines checked |
robh/dt-meta-schema | success | |
robh/dtbs-check | success |
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 >
On Fri, 19 Nov 2021 22:39:51 +0100, 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. > > 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(+) > Acked-by: Rob Herring <robh@kernel.org>
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
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. 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(+)