Nord bwmon - #963
Open
pussin1801 wants to merge 3 commits into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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