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@xxxxxxxxxx> Regards, Bjorn > Cc: Maulik Shah <mkshah@xxxxxxxxxxxxxx> > Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx> > --- > 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 >