Re: [PATCH v4 1/3] dt-bindings: soc: qcom: stats: Add compatible for Shikra

From: Komal Bajaj

Date: Sun Sep 13 2026 - 14:11:13 EST


On 9/7/2026 7:17 PM, Sneh Mankad wrote:
SoC LPM stats are present in RPM MSGRAM and subsystem LPM stats are present
in SMEM for Shikra.

A generic "qcom,rpm-stats" compatible only reads SoC LPM stats like vmin
and vlow.

Document shikra rpm compatible to read subsystem LPM stats too along with
SoC LPM stats.

Keep "qcom,rpm-stats" as a fallback for RPM targets, so that SoC level
stats are still shown even without subsystem level stats support. A plain
enum can't express that, since it caps compatible at one item. Add a oneOf
branch with items for this pattern.

Signed-off-by: Sneh Mankad <sneh.mankad@xxxxxxxxxxxxxxxx>

Reviewed-by: Komal Bajaj <komal.bajaj@xxxxxxxxxxxxxxxx>