Skip to content

FROMLIST: dt-bindings: soc: qcom: stats: Add compatible for Shikra - #1780

Closed
smankad-oss wants to merge 2 commits into
qualcomm-linux:early/hwe/shikra/driversfrom
smankad-oss:early/hwe/shikra/drivers
Closed

FROMLIST: dt-bindings: soc: qcom: stats: Add compatible for Shikra#1780
smankad-oss wants to merge 2 commits into
qualcomm-linux:early/hwe/shikra/driversfrom
smankad-oss:early/hwe/shikra/drivers

Conversation

@smankad-oss

Copy link
Copy Markdown
Contributor

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.

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@oss.qualcomm.com>
Signed-off-by: smankad-oss <sneh.mankad@oss.qualcomm.com>
@Komal-Bajaj

Copy link
Copy Markdown

Replaced with PR #1788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants