mirror-linux/include/linux/soc
Konrad Dybcio 81bbb2b891 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 <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240605-topic-smem_speedbin-v2-2-8989d7e3d176@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-06-21 00:15:34 -05:00
..
actions
amlogic
andes irqchip/riscv-intc: Introduce Andes hart-level interrupt controller 2024-02-23 09:57:42 +01:00
apple soc: apple: rtkit: Get rid of apple_rtkit_send_message_wait 2023-11-23 19:09:24 +09:00
brcmstb
cirrus
dove
ixp4xx
marvell/octeontx2
mediatek soc: mediatek: mtk-cmdq: Add cmdq_pkt_acquire_event() function 2024-04-23 12:16:55 +02:00
mmp
nxp
pxa
qcom soc: qcom: smem: Add a feature code getter 2024-06-21 00:15:34 -05:00
renesas
samsung soc: samsung: exynos-pmu: Add regmap support for SoCs that protect PMU regs 2024-02-25 11:39:23 +01:00
sunxi
ti