Skip to content

Nord bwmon - #963

Open
pussin1801 wants to merge 3 commits into
qualcomm-linux:staging/nordfrom
pussin1801:nord_bwmon
Open

Nord bwmon#963
pussin1801 wants to merge 3 commits into
qualcomm-linux:staging/nordfrom
pussin1801:nord_bwmon

Conversation

@pussin1801

Copy link
Copy Markdown

Summary

Document qcom,sa8797p-cpu-bwmon and qcom,sa8797p-llcc-bwmon fallback compatibles in the qcom-bwmon binding
Add driver support in icc-bwmon.c for both BWMON instance
Add the corresponding cpu-bwmon and llcc-bwmon DT nodes to nord-embedded.dtsi
Commits

dt-bindings: interconnect: qcom-bwmon: add sa8797p compatibles
soc: qcom: icc-bwmon: Add SA8797P cpu-bwmon and llcc-bwmon support
arm64: dts: qcom: nord-embedded: Add CPU and LLCC BWMONs

Document the qcom,sa8797p-cpu-bwmon and qcom,sa8797p-llcc-bwmon
fallback compatibles used by the CPU and LLCC bandwidth monitors
on Nord Embedded.

Signed-off-by: Pushpendra Singh <pussin@qti.qualcomm.com>
Added the node for cpu and llcc bwmon for NORD.

Signed-off-by: Pushpendra Singh <pussin@qti.qualcomm.com>
Add register field, regmap config and icc_bwmon_data definitions for
the SA8797P cpu-bwmon (throttle_bwmon_wrapper_apss) and llcc-bwmon
instances.

cpu-bwmon uses a unified register space with a different layout than
BWMON v4/v5 (global and local IRQ registers do not overlap, and
threshold/zone-max fields are 16 bits wide instead of 12), so it needs
its own register fields, access tables and regmap config, wired up via
the new "qcom,sa8797p-cpu-bwmon" compatible.

llcc-bwmon reuses the BWMON v5 register offsets, only the threshold
and zone-max fields are wider (16 bits vs 12 bits), so it reuses the
v5 read/volatile tables and reg_defaults, wired up via the new
"qcom,sa8797p-llcc-bwmon" compatible.

Signed-off-by: Pushpendra Singh <pussin@qti.qualcomm.com>
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.

1 participant