aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKonrad Dybcio <[email protected]>2024-06-05 22:10:15 +0200
committerBjorn Andersson <[email protected]>2024-06-21 00:15:34 -0500
commit81bbb2b891174da9301fc0d4fe9622bd4cb6a995 (patch)
tree22e4bc3769c14ed6dde1fcc171a54ec683257cec /scripts/generate_rust_analyzer.py
parent9267997fa7aa0b597e8b32cb3fdfe91be1d35a83 (diff)
soc: qcom: smem: Add a feature code getter
Recent (SM8550+ ish) Qualcomm SoCs have a new mechanism for precisely identifying the specific SKU and the precise speed bin (in the general meaning of this word, anyway): a pair of values called Product Code and Feature Code. Based on this information, we can deduce the available frequencies for things such as Adreno. In the case of Adreno specifically, Pcode is useless for non-prototype SoCs. Introduce a getter for the feature code and export it. Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions