[PATCH v3 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM

From: Krzysztof Kozlowski

Date: Fri Jul 03 2026 - 06:10:32 EST


IPQ4019 is ARM 32-bit only SoC and QCOM_A7PLL is used only on SDX55 and
SDX65, which are 32-bit as well.

Do not allow building them for ARM64 to make built kernels smaller and
user choices easier.

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
---
Changes in v2:
1. New patch
---
drivers/clk/qcom/Kconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index d4f80c6953e3..f07455328e5c 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -250,6 +250,7 @@ config QCOM_A53PLL

config QCOM_A7PLL
tristate "A7 PLL driver for SDX55 and SDX65"
+ depends on ARM || COMPILE_TEST
help
Support for the A7 PLL on SDX55 and SDX65 devices. It provides the CPU with
frequencies above 1GHz.
@@ -396,6 +397,7 @@ config IPQ_CMN_PLL

config IPQ_GCC_4019
tristate "IPQ4019 Global Clock Controller"
+ depends on ARM || COMPILE_TEST
help
Support for the global clock controller on ipq4019 devices.
Say Y if you want to use peripheral devices such as UART, SPI,

--
2.53.0