[PATCH 2/2] cpufreq: qcom-cpufreq-hw: add support for 4 freq domains

From: Neil Armstrong
Date: Mon Aug 21 2023 - 03:39:29 EST


Add support for up to 4 frequency domains as used on new
platforms.

Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
drivers/cpufreq/qcom-cpufreq-hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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;

--
2.34.1