summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorNeil Armstrong <neil.armstrong@linaro.org>2023-08-21 10:39:14 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2023-08-23 18:01:08 +0300
commit5f19d0969a9a29cff7fbbb0f758c9246e3f6beaf (patch)
tree42f96b7b2945634aa0b873f6fce85d32d467e182 /drivers/cpufreq
parent862c74a56d56a31cb75a15bdd1b6c82e752d4c51 (diff)
downloadlinux-5f19d0969a9a29cff7fbbb0f758c9246e3f6beaf.tar.xz
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;