[PATCH] cpufreq: dt-platdev: Block the driver from probing on more QC platforms

Konrad Dybcio posted 1 patch 3 weeks, 5 days ago
There is a newer version of this series
drivers/cpufreq/cpufreq-dt-platdev.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] cpufreq: dt-platdev: Block the driver from probing on more QC platforms
Posted by Konrad Dybcio 3 weeks, 5 days ago
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Add a number of QC platforms to the blocklist, they all use either the
qcom-cpufreq-hw or scmi-cpufreq drivers.

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
Note: the "qcom,glymur" compatible is not in -next, but is already
approved by krzk and should be merged shortly
---
 drivers/cpufreq/cpufreq-dt-platdev.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 1708179b2610..de5a33feebb4 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -153,6 +153,8 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "nvidia,tegra234", },
 
 	{ .compatible = "qcom,apq8096", },
+	{ .compatible = "qcom,glymur", },
+	{ .compatible = "qcom,kaanapali", },
 	{ .compatible = "qcom,msm8909", },
 	{ .compatible = "qcom,msm8996", },
 	{ .compatible = "qcom,msm8998", },
@@ -171,6 +173,8 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "qcom,sdm845", },
 	{ .compatible = "qcom,sdx75", },
 	{ .compatible = "qcom,sm6115", },
+	{ .compatible = "qcom,sm6125", },
+	{ .compatible = "qcom,sm6150", },
 	{ .compatible = "qcom,sm6350", },
 	{ .compatible = "qcom,sm6375", },
 	{ .compatible = "qcom,sm7225", },
@@ -181,6 +185,9 @@ static const struct of_device_id blocklist[] __initconst = {
 	{ .compatible = "qcom,sm8450", },
 	{ .compatible = "qcom,sm8550", },
 	{ .compatible = "qcom,sm8650", },
+	{ .compatible = "qcom,sm8750", },
+	{ .compatible = "qcom,x1p42100", },
+	{ .compatible = "qcom,x1e80100", },
 
 	{ .compatible = "st,stih407", },
 	{ .compatible = "st,stih410", },

---
base-commit: 0f853ca2a798ead9d24d39cad99b0966815c582a
change-id: 20260113-topic-cpufreq_block-c9b7c6863a41

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Re: [PATCH] cpufreq: dt-platdev: Block the driver from probing on more QC platforms
Posted by Konrad Dybcio 3 weeks, 5 days ago
On 1/13/26 11:53 AM, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> Add a number of QC platforms to the blocklist, they all use either the
> qcom-cpufreq-hw or scmi-cpufreq drivers.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> ---
> Note: the "qcom,glymur" compatible is not in -next, but is already
> approved by krzk and should be merged shortly

Scratch that, immediately after pressing enter I realized the ones
using cpufreq-scmi won't even have an OPP table attached to the CPUs

I'll send a v2..

Konrad