[PATCH v2 3/3] arm64: dts: qcom: shikra: Update rpm-stats compatible to SoC specific

Sneh Mankad posted 3 patches 4 weeks, 1 day ago
There is a newer version of this series
[PATCH v2 3/3] arm64: dts: qcom: shikra: Update rpm-stats compatible to SoC specific
Posted by Sneh Mankad 4 weeks, 1 day ago
A generic "qcom,rpm-stats" compatible only reads stats for SoC level LPM
stats like vmin and vlow.

Shikra SoC specific compatible allows reading individual subsystem level
LPM stats along with SoC level LPM stats. Change it.

Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/shikra.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
index 4e5bc9e17c8ed8914733ac9fdc9b69128b40216e..53f40283a3b70bccdc510716b39251d377be7d24 100644
--- a/arch/arm64/boot/dts/qcom/shikra.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
@@ -535,7 +535,7 @@ apss_mpm: sram@1b8 {
 		};
 
 		sram@4690000 {
-			compatible = "qcom,rpm-stats";
+			compatible = "qcom,shikra-rpm-stats";
 			reg = <0x0 0x04690000 0x0 0x14000>;
 		};
 

-- 
2.34.1
Re: [PATCH v2 3/3] arm64: dts: qcom: shikra: Update rpm-stats compatible to SoC specific
Posted by Konrad Dybcio 3 weeks, 6 days ago
On 7/8/26 5:49 PM, Sneh Mankad wrote:
> A generic "qcom,rpm-stats" compatible only reads stats for SoC level LPM
> stats like vmin and vlow.
> 
> Shikra SoC specific compatible allows reading individual subsystem level
> LPM stats along with SoC level LPM stats. Change it.
> 
> Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad
Re: [PATCH v2 3/3] arm64: dts: qcom: shikra: Update rpm-stats compatible to SoC specific
Posted by Dmitry Baryshkov 4 weeks, 1 day ago
On Wed, Jul 08, 2026 at 09:19:12PM +0530, Sneh Mankad wrote:
> A generic "qcom,rpm-stats" compatible only reads stats for SoC level LPM
> stats like vmin and vlow.
> 
> Shikra SoC specific compatible allows reading individual subsystem level
> LPM stats along with SoC level LPM stats. Change it.
> 
> Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/shikra.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
> index 4e5bc9e17c8ed8914733ac9fdc9b69128b40216e..53f40283a3b70bccdc510716b39251d377be7d24 100644
> --- a/arch/arm64/boot/dts/qcom/shikra.dtsi
> +++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
> @@ -535,7 +535,7 @@ apss_mpm: sram@1b8 {
>  		};
>  
>  		sram@4690000 {
> -			compatible = "qcom,rpm-stats";
> +			compatible = "qcom,shikra-rpm-stats";

Is it compatible with the generic rpm-stats format? If so,
qcom-rpm-stats should be a fallback compatible.

>  			reg = <0x0 0x04690000 0x0 0x14000>;
>  		};
>  
> 
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry
Re: [PATCH v2 3/3] arm64: dts: qcom: shikra: Update rpm-stats compatible to SoC specific
Posted by Sneh Mankad 3 weeks, 4 days ago

On 09-Jul-26 3:20 PM, Dmitry Baryshkov wrote:
[...]
> 
> Is it compatible with the generic rpm-stats format? If so,
> qcom-rpm-stats should be a fallback compatible.
> 
Agreed Dmitry, thanks for pointing out. Will send out v3 with "qcom,rpm-stats"
as fallback compatible.

Thanks,
Sneh
>>  			reg = <0x0 0x04690000 0x0 0x14000>;
>>  		};
>>  
>>
>> -- 
>> 2.34.1
>>
>