summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorNeil Armstrong <neil.armstrong@linaro.org>2023-08-21 09:39:14 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2023-08-23 17:01:08 +0200
commit5f19d0969a9a29cff7fbbb0f758c9246e3f6beaf (patch)
tree42f96b7b2945634aa0b873f6fce85d32d467e182 /drivers/cpufreq
parentdt-bindings: cpufreq: qcom-hw: add a 4th frequency domain (diff)
downloadlinux-5f19d0969a9a29cff7fbbb0f758c9246e3f6beaf.tar.xz
linux-5f19d0969a9a29cff7fbbb0f758c9246e3f6beaf.zip
cpufreq: qcom-cpufreq-hw: add support for 4 freq domains
Add support for up to 4 frequency domains as used on new platforms. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/qcom-cpufreq-hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c
index f24cf2eddf1e..70b0f21968a0 100644
--- a/drivers/cpufreq/qcom-cpufreq-hw.c
+++ b/drivers/cpufreq/qcom-cpufreq-hw.c
@@ -28,7 +28,7 @@
#define GT_IRQ_STATUS BIT(2)
-#define MAX_FREQ_DOMAINS 3
+#define MAX_FREQ_DOMAINS 4
struct qcom_cpufreq_soc_data {
u32 reg_enable;