* [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig
@ 2026-06-09 15:32 Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64 Krzysztof Kozlowski
` (7 more replies)
0 siblings, 8 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Dmitry Baryshkov, Krzysztof Kozlowski
Changes in v2:
- Significant rework:
- Add more commits, also for arm32 drivers
- Split defconfig changes to separate commits, so clock can still go
this cycle and defconfig later. Also, less conflicts.
- Link to v1: https://patch.msgid.link/20260416-clk-qcom-defaults-v1-0-579e75c4cfe5@oss.qualcomm.com
- Dropped most review tags, due to changes.
We should not be really asking whether to enable clock controller
drivers. This is obvious choice.
And if it does not seem obvious, then consider [1].
[1] https://lore.kernel.org/all/CAHk-%3Dwhigg3hvOy7c1j1MXFy6o6CHp0g4Tc3Y-MAk%2BXDssHU0A@mail.gmail.com/
If the approach is fine, I will do similarly with inteconnect and
pinctrl (and maybe others).
Best regards,
Krzysztof
---
Krzysztof Kozlowski (7):
clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64
clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM
clk: qcom: Make important ARM64 drivers default
clk: qcom: Make important ARM32 drivers default
clk: qcom: Add defaults for desired arm64 drivers
ARM/arm64: defconfig: Drop redundant Qualcomm clock entries
arm64: defconfig: Switch Qualcomm SDM845, SM8150 and SM8250 drivers to modules
arch/arm/configs/multi_v7_defconfig | 9 --
arch/arm/configs/qcom_defconfig | 14 ---
arch/arm64/configs/defconfig | 119 -----------------------
drivers/clk/qcom/Kconfig | 186 ++++++++++++++++++++++++++++++++++++
4 files changed, 186 insertions(+), 142 deletions(-)
---
base-commit: 6eeab89909ff9d44745e884b65c8e0964a9355ca
change-id: 20260416-clk-qcom-defaults-8c8d956fb0cd
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v2 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
@ 2026-06-09 15:32 ` Krzysztof Kozlowski
2026-06-10 8:59 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM Krzysztof Kozlowski
` (6 subsequent siblings)
7 siblings, 1 reply; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Dmitry Baryshkov, Krzysztof Kozlowski
Some clock drivers for IPQ5424, IPQ9574, QCM2290, QDU1000 and SA8775
already depend on ARM64. IPQ6018 is ARM64 only SoC (at least upstream)
so should not be a choice for ARM 32-bit builds, to make kernels smaller
and user choices easier.
IPQ_CMN_PLL is used only by the SoCs already having clock controllers
restricted to ARM64
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/clk/qcom/Kconfig | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index d9cff5b0281d..799de35c5ee8 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -341,6 +341,7 @@ config IPQ_APSS_PLL
config IPQ_APSS_5424
tristate "IPQ5424 APSS Clock Controller"
+ depends on ARM64 || COMPILE_TEST
select IPQ_APSS_PLL
default y if IPQ_GCC_5424
help
@@ -351,6 +352,7 @@ config IPQ_APSS_5424
config IPQ_APSS_6018
tristate "IPQ6018 APSS Clock Controller"
select IPQ_APSS_PLL
+ depends on ARM64 || COMPILE_TEST
depends on QCOM_APCS_IPC || COMPILE_TEST
depends on QCOM_SMEM
help
@@ -362,6 +364,7 @@ config IPQ_APSS_6018
config IPQ_CMN_PLL
tristate "IPQ CMN PLL Clock Controller"
+ depends on ARM64 || COMPILE_TEST
help
Support for CMN PLL clock controller on IPQ platform. The
CMN PLL consumes the AHB/SYS clocks from GCC and supplies
@@ -410,6 +413,7 @@ config IPQ_GCC_5424
config IPQ_GCC_6018
tristate "IPQ6018 Global Clock Controller"
+ depends on ARM64 || COMPILE_TEST
help
Support for global clock controller on ipq6018 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -435,6 +439,7 @@ config IPQ_LCC_806X
config IPQ_GCC_8074
tristate "IPQ8074 Global Clock Controller"
+ depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
help
Support for global clock controller on ipq8074 devices.
@@ -444,6 +449,7 @@ config IPQ_GCC_8074
config IPQ_GCC_9574
tristate "IPQ9574 Global Clock Controller"
+ depends on ARM64 || COMPILE_TEST
help
Support for global clock controller on ipq9574 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -668,6 +674,7 @@ config MSM_MMCC_8998
config QCM_GCC_2290
tristate "QCM2290 Global Clock Controller"
+ depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
help
Support for the global clock controller on QCM2290 devices.
@@ -676,6 +683,7 @@ config QCM_GCC_2290
config QCM_DISPCC_2290
tristate "QCM2290 Display Clock Controller"
+ depends on ARM64 || COMPILE_TEST
select QCM_GCC_2290
help
Support for the display clock controller on Qualcomm Technologies, Inc
@@ -847,6 +855,7 @@ config SC_DISPCC_8280XP
config SA_GCC_8775P
tristate "SA8775 Global Clock Controller"
select QCOM_GDSC
+ depends on ARM64 || COMPILE_TEST
depends on COMMON_CLK_QCOM
help
Support for the global clock controller on SA8775 devices.
@@ -855,6 +864,7 @@ config SA_GCC_8775P
config SA_GPUCC_8775P
tristate "SA8775P Graphics clock controller"
+ depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
select SA_GCC_8775P
help
@@ -1057,6 +1067,7 @@ config QCS_Q6SSTOP_404
config QDU_GCC_1000
tristate "QDU1000/QRU1000 Global Clock Controller"
+ depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
help
Support for the global clock controller on QDU1000 and
--
2.53.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64 Krzysztof Kozlowski
@ 2026-06-09 15:32 ` Krzysztof Kozlowski
2026-06-09 22:44 ` Dmitry Baryshkov
2026-06-10 9:00 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 3/7] clk: qcom: Make important ARM64 drivers default Krzysztof Kozlowski
` (5 subsequent siblings)
7 siblings, 2 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Krzysztof Kozlowski
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.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
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 799de35c5ee8..3b8768d80d89 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -228,6 +228,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.
@@ -374,6 +375,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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 3/7] clk: qcom: Make important ARM64 drivers default
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64 Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM Krzysztof Kozlowski
@ 2026-06-09 15:32 ` Krzysztof Kozlowski
2026-06-10 9:04 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 4/7] clk: qcom: Make important ARM32 " Krzysztof Kozlowski
` (4 subsequent siblings)
7 siblings, 1 reply; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Krzysztof Kozlowski
Clock controller drivers are essential for booting up SoCs and are not
really optional for a given platform. Kernel should not ask users
choice of drivers when that choice is obvious and known to the
developers that answer should be 'yes' or 'module'.
Switch all Qualcomm clock controller drivers which are chosen in
defconfig to respective default 'yes' or 'module'.
This has no impact on ARM64 defconfig include/generated/autoconf.h,
however changes few drivers for ARM 32-bit:
1. multi_v7_defconfig: Enable QCOM_CLK_RPMH as module, because SDX55
(ARM 32-bit) uses it.
2. qcom_defconfig: Enable QCOM_A53PLL, QCOM_CLK_APCS_MSM8916 and
MSM_GCC_8916 as built-in, because MSM8916 is also used ARM 32-bit.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Changes in v2:
1. Add defaults for msm8994-8996-8998.
2. Move defconfig change to separate commit.
3. Drop Rb tag becauase of above.
---
drivers/clk/qcom/Kconfig | 122 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 122 insertions(+)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index 3b8768d80d89..d8281ed68dc5 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -23,6 +23,7 @@ config CLK_ELIZA_DISPCC
tristate "Eliza Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_ELIZA_GCC
+ default m if ARCH_QCOM
help
Support for the display clock controllers on Eliza SoCs.
Say Y if you want to support display devices and functionality such as
@@ -32,6 +33,7 @@ config CLK_ELIZA_GCC
tristate "Eliza Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Eliza devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -41,6 +43,7 @@ config CLK_ELIZA_TCSRCC
tristate "Eliza TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the TCSR clock controller on Eliza devices.
Say Y if you want to use peripheral devices such as USB/PCIe/UFS.
@@ -49,6 +52,7 @@ config CLK_GLYMUR_DISPCC
tristate "Glymur Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_GLYMUR_GCC
+ default m if ARCH_QCOM
help
Support for the display clock controllers on Qualcomm
Technologies, Inc. Glymur devices.
@@ -59,6 +63,7 @@ config CLK_GLYMUR_GCC
tristate "Glymur Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Glymur devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -77,6 +82,7 @@ config CLK_GLYMUR_TCSRCC
tristate "Glymur TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the TCSR clock controller on Glymur devices.
Say Y if you want to use peripheral devices such as USB/PCIe/EDP.
@@ -94,6 +100,7 @@ config CLK_KAANAPALI_CAMCC
tristate "Kaanapali Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_KAANAPALI_GCC
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
Kaanapali devices.
@@ -104,6 +111,7 @@ config CLK_KAANAPALI_DISPCC
tristate "Kaanapali Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_KAANAPALI_GCC
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
Kaanapali devices.
@@ -114,6 +122,7 @@ config CLK_KAANAPALI_GCC
tristate "Kaanapali Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Kaanapali devices.
Say Y if you want to use peripheral devices such as UART,
@@ -123,6 +132,7 @@ config CLK_KAANAPALI_GPUCC
tristate "Kaanapali Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_KAANAPALI_GCC
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on Kaanapali devices.
Say Y if you want to support graphics controller devices and
@@ -132,6 +142,7 @@ config CLK_KAANAPALI_TCSRCC
tristate "Kaanapali TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the TCSR clock controller on Kaanapali devices.
Say Y if you want to use peripheral devices such as PCIe, USB, UFS.
@@ -140,6 +151,7 @@ config CLK_KAANAPALI_VIDEOCC
tristate "Kaanapali Video Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_KAANAPALI_GCC
+ default m if ARCH_QCOM
help
Support for the video clock controller on Kaanapali devices.
Say Y if you want to support video devices and functionality such as
@@ -159,6 +171,7 @@ config CLK_X1E80100_CAMCC
tristate "X1E80100 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_X1E80100_GCC
+ default m if ARCH_QCOM
help
Support for the camera clock controller on X1E80100 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -167,6 +180,7 @@ config CLK_X1E80100_DISPCC
tristate "X1E80100 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_X1E80100_GCC
+ default m if ARCH_QCOM
help
Support for the two display clock controllers on Qualcomm
Technologies, Inc. X1E80100 devices.
@@ -177,6 +191,7 @@ config CLK_X1E80100_GCC
tristate "X1E80100 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Qualcomm Technologies, Inc
X1E80100 devices.
@@ -187,6 +202,7 @@ config CLK_X1E80100_GPUCC
tristate "X1E80100 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_X1E80100_GCC
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on X1E80100 devices.
Say Y if you want to support graphics controller devices and
@@ -196,6 +212,7 @@ config CLK_X1E80100_TCSRCC
tristate "X1E80100 TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the TCSR clock controller on X1E80100 devices.
Say Y if you want to use peripheral devices such as SD/UFS.
@@ -204,6 +221,7 @@ config CLK_X1P42100_GPUCC
tristate "X1P42100 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_X1E80100_GCC
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on X1P42100 devices.
Say Y if you want to support graphics controller devices and
@@ -213,6 +231,7 @@ config CLK_QCM2290_GPUCC
tristate "QCM2290 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCM_GCC_2290
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on QCM2290 devices.
Say Y if you want to support graphics controller devices and
@@ -220,6 +239,7 @@ config CLK_QCM2290_GPUCC
config QCOM_A53PLL
tristate "MSM8916 A53 PLL"
+ default ARCH_QCOM
help
Support for the A53 PLL on MSM8916 devices. It provides
the CPU with frequencies above 1GHz.
@@ -238,6 +258,7 @@ config QCOM_A7PLL
config QCOM_CLK_APCS_MSM8916
tristate "MSM8916 APCS Clock Controller"
depends on QCOM_APCS_IPC || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the APCS Clock Controller on msm8916 devices. The
APCS is managing the mux and divider which feeds the CPUs.
@@ -249,6 +270,7 @@ config QCOM_CLK_APCC_MSM8996
select QCOM_KRYO_L2_ACCESSORS
select INTERCONNECT_CLK if INTERCONNECT
depends on ARM64
+ default ARCH_QCOM
help
Support for the CPU clock controller on msm8996 devices.
Say Y if you want to support CPU clock scaling using CPUfreq
@@ -279,6 +301,7 @@ config QCOM_CLK_RPM
config QCOM_CLK_SMD_RPM
tristate "RPM over SMD based Clock Controller"
depends on QCOM_SMD_RPM
+ default ARCH_QCOM
help
The RPM (Resource Power Manager) is a dedicated hardware engine for
managing the shared SoC resources in order to keep the lowest power
@@ -291,6 +314,7 @@ config QCOM_CLK_SMD_RPM
config QCOM_CLK_RPMH
tristate "RPMh Clock Driver"
depends on QCOM_RPMH
+ default ARCH_QCOM
help
RPMh manages shared resources on some Qualcomm Technologies, Inc.
SoCs. It accepts requests from other hardware subsystems via RSC.
@@ -356,6 +380,7 @@ config IPQ_APSS_6018
depends on ARM64 || COMPILE_TEST
depends on QCOM_APCS_IPC || COMPILE_TEST
depends on QCOM_SMEM
+ default ARCH_QCOM
help
Support for APSS clock controller on IPQ platforms. The
APSS clock controller manages the Mux and enable block that feeds the
@@ -366,6 +391,7 @@ config IPQ_APSS_6018
config IPQ_CMN_PLL
tristate "IPQ CMN PLL Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default m if ARCH_QCOM
help
Support for CMN PLL clock controller on IPQ platform. The
CMN PLL consumes the AHB/SYS clocks from GCC and supplies
@@ -384,6 +410,7 @@ config IPQ_GCC_4019
config IPQ_GCC_5018
tristate "IPQ5018 Global Clock Controller"
depends on ARM || ARM64 || COMPILE_TEST
+ default ARCH_QCOM && ARM64
help
Support for global clock controller on ipq5018 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -392,6 +419,7 @@ config IPQ_GCC_5018
config IPQ_GCC_5210
tristate "IPQ5210 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on ipq5210 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -400,6 +428,7 @@ config IPQ_GCC_5210
config IPQ_GCC_5332
tristate "IPQ5332 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on ipq5332 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -408,6 +437,7 @@ config IPQ_GCC_5332
config IPQ_GCC_5424
tristate "IPQ5424 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on ipq5424 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -416,6 +446,7 @@ config IPQ_GCC_5424
config IPQ_GCC_6018
tristate "IPQ6018 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for global clock controller on ipq6018 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -443,6 +474,7 @@ config IPQ_GCC_8074
tristate "IPQ8074 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for global clock controller on ipq8074 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -452,6 +484,7 @@ config IPQ_GCC_8074
config IPQ_GCC_9574
tristate "IPQ9574 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for global clock controller on ipq9574 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -472,6 +505,7 @@ config IPQ_NSSCC_5424
tristate "IPQ5424 NSS Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on IPQ_GCC_5424
+ default m if ARCH_QCOM
help
Support for NSS clock controller on ipq5424 devices.
NSSCC receives the clock sources from GCC, CMN PLL and UNIPHY (PCS).
@@ -483,6 +517,7 @@ config IPQ_NSSCC_9574
tristate "IPQ9574 NSS Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on IPQ_GCC_9574
+ default m if ARCH_QCOM
help
Support for NSS clock controller on ipq9574 devices.
@@ -515,6 +550,7 @@ config MSM_GCC_8909
config MSM_GCC_8916
tristate "MSM8916 Global Clock Controller"
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on msm8916 devices.
Say Y if you want to use devices such as UART, SPI i2c, USB,
@@ -583,6 +619,7 @@ config MSM_MMCC_8960
config MSM_GCC_8953
tristate "MSM8953 Global Clock Controller"
select QCOM_GDSC
+ default ARCH_QCOM if ARM64
help
Support for the global clock controller on msm8953 devices.
Say Y if you want to use devices such as UART, SPI i2c, USB,
@@ -619,6 +656,7 @@ config MSM_MMCC_8994
tristate "MSM8994 Multimedia Clock Controller"
select MSM_GCC_8994
select QCOM_GDSC
+ default m if ARCH_QCOM && ARM64
help
Support for the multimedia clock controller on msm8994 devices.
Say Y if you want to support multimedia devices such as display,
@@ -626,6 +664,7 @@ config MSM_MMCC_8994
config MSM_GCC_8994
tristate "MSM8994 Global Clock Controller"
+ default ARCH_QCOM if ARM64
help
Support for the global clock controller on msm8994 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -634,6 +673,7 @@ config MSM_GCC_8994
config MSM_GCC_8996
tristate "MSM8996 Global Clock Controller"
select QCOM_GDSC
+ default ARCH_QCOM if ARM64
help
Support for the global clock controller on msm8996 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -643,6 +683,7 @@ config MSM_MMCC_8996
tristate "MSM8996 Multimedia Clock Controller"
select MSM_GCC_8996
select QCOM_GDSC
+ default m if ARCH_QCOM && ARM64
help
Support for the multimedia clock controller on msm8996 devices.
Say Y if you want to support multimedia devices such as display,
@@ -651,6 +692,7 @@ config MSM_MMCC_8996
config MSM_GCC_8998
tristate "MSM8998 Global Clock Controller"
select QCOM_GDSC
+ default ARCH_QCOM if ARM64
help
Support for the global clock controller on msm8998 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -669,6 +711,7 @@ config MSM_MMCC_8998
tristate "MSM8998 Multimedia Clock Controller"
select MSM_GCC_8998
select QCOM_GDSC
+ default m if ARCH_QCOM && ARM64
help
Support for the multimedia clock controller on msm8998 devices.
Say Y if you want to support multimedia devices such as display,
@@ -678,6 +721,7 @@ config QCM_GCC_2290
tristate "QCM2290 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on QCM2290 devices.
Say Y if you want to use multimedia devices or peripheral
@@ -687,6 +731,7 @@ config QCM_DISPCC_2290
tristate "QCM2290 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCM_GCC_2290
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
QCM2290 devices.
@@ -697,6 +742,7 @@ config QCS_DISPCC_615
tristate "QCS615 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCS_GCC_615
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
QCS615 devices.
@@ -707,6 +753,7 @@ config QCS_CAMCC_615
tristate "QCS615 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCS_GCC_615
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
QCS615 devices.
@@ -715,6 +762,7 @@ config QCS_CAMCC_615
config QCS_GCC_404
tristate "QCS404 Global Clock Controller"
+ default y if ARCH_QCOM && ARM64
help
Support for the global clock controller on QCS404 devices.
Say Y if you want to use multimedia devices or peripheral
@@ -731,6 +779,7 @@ config SA_CAMCC_8775P
tristate "SA8775P Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SA_GCC_8775P
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
SA8775P devices.
@@ -741,6 +790,7 @@ config QCS_GCC_8300
tristate "QCS8300 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Qualcomm Technologies, Inc
QCS8300 devices.
@@ -751,6 +801,7 @@ config QCS_GCC_615
tristate "QCS615 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on QCS615 devices.
Say Y if you want to use multimedia devices or peripheral
@@ -760,6 +811,7 @@ config QCS_GPUCC_615
tristate "QCS615 Graphics clock controller"
depends on ARM64 || COMPILE_TEST
select QCS_GCC_615
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on QCS615 devices.
Say Y if you want to support graphics controller devices and
@@ -769,6 +821,7 @@ config QCS_VIDEOCC_615
tristate "QCS615 Video Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCS_GCC_615
+ default m if ARCH_QCOM
help
Support for the video clock controller on QCS615 devices.
Say Y if you want to support video devices and functionality such as
@@ -788,6 +841,7 @@ config SC_CAMCC_7280
tristate "SC7280 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7280
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
SC7280 devices.
@@ -808,6 +862,7 @@ config SC_CAMCC_8280XP
tristate "SC8280XP Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_8280XP
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
SC8280XP devices.
@@ -818,6 +873,7 @@ config SA_DISPCC_8775P
tristate "SA8775P Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select SA_GCC_8775P
+ default m if ARCH_QCOM
help
Support for the two display clock controllers on Qualcomm
Technologies, Inc. SA8775P devices.
@@ -838,6 +894,7 @@ config SC_DISPCC_7280
tristate "SC7280 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7280
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc.
SC7280 devices.
@@ -848,6 +905,7 @@ config SC_DISPCC_8280XP
tristate "SC8280XP Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_8280XP
+ default m if ARCH_QCOM
help
Support for the two display clock controllers on Qualcomm
Technologies, Inc. SC8280XP devices.
@@ -859,6 +917,7 @@ config SA_GCC_8775P
select QCOM_GDSC
depends on ARM64 || COMPILE_TEST
depends on COMMON_CLK_QCOM
+ default ARCH_QCOM
help
Support for the global clock controller on SA8775 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -869,6 +928,7 @@ config SA_GPUCC_8775P
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
select SA_GCC_8775P
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SA8775P devices.
Say Y if you want to support graphics controller devices and
@@ -897,6 +957,7 @@ config SC_GCC_7180
select QCOM_GDSC
depends on COMMON_CLK_QCOM
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on SC7180 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -907,6 +968,7 @@ config SC_GCC_7280
select QCOM_GDSC
depends on COMMON_CLK_QCOM
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on SC7280 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -917,6 +979,7 @@ config SC_GCC_8180X
select QCOM_GDSC
depends on COMMON_CLK_QCOM
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on SC8180X devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -927,6 +990,7 @@ config SC_GCC_8280XP
select QCOM_GDSC
depends on COMMON_CLK_QCOM
depends on ARM64 || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on SC8280XP devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -945,6 +1009,7 @@ config SC_GPUCC_7280
tristate "SC7280 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7280
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SC7280 devices.
Say Y if you want to support graphics controller devices and
@@ -954,6 +1019,7 @@ config SC_GPUCC_8280XP
tristate "SC8280XP Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_8280XP
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SC8280XP devices.
Say Y if you want to support graphics controller devices and
@@ -972,6 +1038,7 @@ config SC_LPASSCC_8280XP
tristate "SC8280 Low Power Audio Subsystem (LPASS) Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_8280XP
+ default m if ARCH_QCOM
help
Support for the LPASS clock controller on SC8280XP devices.
Say Y if you want to use the LPASS branch clocks of the LPASS clock
@@ -992,6 +1059,7 @@ config SC_LPASS_CORECC_7280
depends on ARM64 || COMPILE_TEST
select SC_GCC_7280
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the LPASS(Low Power Audio Subsystem) core and audio clock
controller on SC7280 devices.
@@ -1011,6 +1079,7 @@ config SC_VIDEOCC_7280
tristate "SC7280 Video Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7280
+ default m if ARCH_QCOM
help
Support for the video clock controller on SC7280 devices.
Say Y if you want to support video devices and functionality such as
@@ -1020,6 +1089,7 @@ config SDM_CAMCC_845
tristate "SDM845 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SDM_GCC_845
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SDM845 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1071,6 +1141,7 @@ config QDU_GCC_1000
tristate "QDU1000/QRU1000 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on QDU1000 and
QRU1000 devices. Say Y if you want to use peripheral
@@ -1089,6 +1160,7 @@ config SDM_GCC_845
tristate "SDM845/SDM670 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SDM845 and SDM670 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -1098,6 +1170,7 @@ config SDM_GPUCC_845
tristate "SDM845 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SDM_GCC_845
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SDM845 devices.
Say Y if you want to support graphics controller devices and
@@ -1108,6 +1181,7 @@ config SDM_VIDEOCC_845
depends on ARM64 || COMPILE_TEST
select SDM_GCC_845
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on SDM845 devices.
Say Y if you want to support video devices and functionality such as
@@ -1117,6 +1191,7 @@ config SDM_DISPCC_845
tristate "SDM845 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select SDM_GCC_845
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SDM845 devices.
@@ -1127,6 +1202,7 @@ config SDM_LPASSCC_845
tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
depends on ARM64 || COMPILE_TEST
select SDM_GCC_845
+ default m if ARCH_QCOM
help
Support for the LPASS clock controller on SDM845 devices.
Say Y if you want to use the LPASS branch clocks of the LPASS clock
@@ -1153,6 +1229,7 @@ config SDX_GCC_65
config SDX_GCC_75
tristate "SDX75 Global Clock Controller"
select QCOM_GDSC
+ default ARCH_QCOM if ARM64
help
Support for the global clock controller on SDX75 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1170,6 +1247,7 @@ config SM_CAMCC_6350
tristate "SM6350 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_6350
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM6350 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1186,6 +1264,7 @@ config SM_CAMCC_MILOS
tristate "Milos Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_MILOS
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Milos devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1204,6 +1283,7 @@ config SM_CAMCC_8250
tristate "SM8250 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8250
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM8250 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1220,6 +1300,7 @@ config SM_CAMCC_8550
tristate "SM8550 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8550
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM8550 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1228,6 +1309,7 @@ config SM_CAMCC_8650
tristate "SM8650 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8650
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM8650 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1236,6 +1318,7 @@ config SM_CAMCC_8750
tristate "SM8750 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8750
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM8750 devices.
The camera clock controller has a separate cambist controller which
@@ -1256,6 +1339,7 @@ config SM_DISPCC_6115
tristate "SM6115 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_6115
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM6115/SM4250 devices.
@@ -1286,6 +1370,7 @@ config SM_DISPCC_8250
tristate "SM8150/SM8250/SM8350 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_8150 || SM_GCC_8250 || SM_GCC_8350
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM8150/SM8250/SM8350 devices.
@@ -1296,6 +1381,7 @@ config SM_DISPCC_6350
tristate "SM6350 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_6350
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM6350 devices.
@@ -1316,6 +1402,7 @@ config SM_DISPCC_MILOS
tristate "Milos Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_MILOS
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
Milos devices.
@@ -1326,6 +1413,7 @@ config SM_DISPCC_8450
tristate "SM8450 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_8450
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM8450 or SM8475 devices.
@@ -1336,6 +1424,7 @@ config SM_DISPCC_8550
tristate "SM8550 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_8550 || SM_GCC_8650 || SAR_GCC_2130P
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SAR2130P, SM8550 or SM8650 devices.
@@ -1347,6 +1436,7 @@ config SM_DISPCC_8750
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_8750
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM8750 devices.
@@ -1357,6 +1447,7 @@ config SM_GCC_4450
tristate "SM4450 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM4450 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -1366,6 +1457,7 @@ config SM_GCC_6115
tristate "SM6115 and SM4250 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM6115 and SM4250 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -1384,6 +1476,7 @@ config SM_GCC_6350
tristate "SM6350 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM6350 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1411,6 +1504,7 @@ config SM_GCC_MILOS
tristate "Milos Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Milos devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1420,6 +1514,7 @@ config SM_GCC_8150
tristate "SM8150 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM8150 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1429,6 +1524,7 @@ config SM_GCC_8250
tristate "SM8250 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM8250 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1438,6 +1534,7 @@ config SM_GCC_8350
tristate "SM8350 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM8350 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1447,6 +1544,7 @@ config SM_GCC_8450
tristate "SM8450 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM8450 or SM8475
devices.
@@ -1457,6 +1555,7 @@ config SM_GCC_8550
tristate "SM8550 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM8550 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1466,6 +1565,7 @@ config SM_GCC_8650
tristate "SM8650 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM8650 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1475,6 +1575,7 @@ config SM_GCC_8750
tristate "SM8750 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM8750 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1493,6 +1594,7 @@ config SM_GPUCC_6115
tristate "SM6115 Graphics Clock Controller"
select SM_GCC_6115
depends on ARM64 || COMPILE_TEST
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM6115 devices.
Say Y if you want to support graphics controller devices and
@@ -1520,6 +1622,7 @@ config SM_GPUCC_6350
tristate "SM6350 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_6350
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM6350 devices.
Say Y if you want to support graphics controller devices and
@@ -1529,6 +1632,7 @@ config SM_GPUCC_MILOS
tristate "Milos Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_MILOS
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on Milos devices.
Say Y if you want to support graphics controller devices and
@@ -1538,6 +1642,7 @@ config SM_GPUCC_8150
tristate "SM8150 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8150
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM8150 devices.
Say Y if you want to support graphics controller devices and
@@ -1547,6 +1652,7 @@ config SM_GPUCC_8250
tristate "SM8250 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8250
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM8250 devices.
Say Y if you want to support graphics controller devices and
@@ -1556,6 +1662,7 @@ config SM_GPUCC_8350
tristate "SM8350 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8350
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM8350 devices.
Say Y if you want to support graphics controller devices and
@@ -1565,6 +1672,7 @@ config SM_GPUCC_8450
tristate "SM8450 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8450
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM8450 or SM8475
devices.
@@ -1575,6 +1683,7 @@ config SM_GPUCC_8550
tristate "SM8550 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8550
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM8550 devices.
Say Y if you want to support graphics controller devices and
@@ -1584,6 +1693,7 @@ config SM_GPUCC_8650
tristate "SM8650 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8650
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM8650 devices.
Say Y if you want to support graphics controller devices and
@@ -1593,6 +1703,7 @@ config SM_GPUCC_8750
tristate "SM8750 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8750
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM8750 devices.
Say Y if you want to support graphics controller devices and
@@ -1611,6 +1722,7 @@ config SM_TCSRCC_8550
tristate "SM8550 TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the TCSR clock controller on SM8550 devices.
Say Y if you want to use peripheral devices such as SD/UFS.
@@ -1619,6 +1731,7 @@ config SM_TCSRCC_8650
tristate "SM8650 TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the TCSR clock controller on SM8650 devices.
Say Y if you want to use peripheral devices such as SD/UFS.
@@ -1627,6 +1740,7 @@ config SM_TCSRCC_8750
tristate "SM8750 TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the TCSR clock controller on SM8750 devices.
Say Y if you want to use peripheral devices such as UFS/USB/PCIe.
@@ -1636,6 +1750,7 @@ config SA_VIDEOCC_8775P
depends on ARM64 || COMPILE_TEST
select SA_GCC_8775P
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on Qualcomm Technologies, Inc.
SA8775P devices.
@@ -1647,6 +1762,7 @@ config SM_VIDEOCC_6350
depends on ARM64 || COMPILE_TEST
select SM_GCC_6350
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on SM6350 devices.
Say Y if you want to support video devices and functionality such as
@@ -1667,6 +1783,7 @@ config SM_VIDEOCC_MILOS
depends on ARM64 || COMPILE_TEST
select SM_GCC_MILOS
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on Qualcomm Technologies, Inc.
Milos devices.
@@ -1688,6 +1805,7 @@ config SM_VIDEOCC_8250
depends on ARM64 || COMPILE_TEST
select SM_GCC_8250
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on SM8250 devices.
Say Y if you want to support video devices and functionality such as
@@ -1707,6 +1825,7 @@ config SM_VIDEOCC_8550
tristate "SM8550 Video Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on Qualcomm Technologies, Inc.
SM8550 or SM8650 or X1E80100 devices.
@@ -1718,6 +1837,7 @@ config SM_VIDEOCC_8750
depends on ARM64 || COMPILE_TEST
select SM_GCC_8750
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on Qualcomm Technologies, Inc.
SM8750 devices.
@@ -1758,6 +1878,7 @@ config KRAITCC
config CLK_GFM_LPASS_SM8250
tristate "SM8250 GFM LPASS Clocks"
depends on ARM64 || COMPILE_TEST
+ default m if ARCH_QCOM
help
Support for the Glitch Free Mux (GFM) Low power audio
subsystem (LPASS) clocks found on SM8250 SoCs.
@@ -1767,6 +1888,7 @@ config SM_VIDEOCC_8450
depends on ARM64 || COMPILE_TEST
select SM_GCC_8450
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on Qualcomm Technologies, Inc.
SM8450 or SM8475 devices.
--
2.53.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 4/7] clk: qcom: Make important ARM32 drivers default
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
` (2 preceding siblings ...)
2026-06-09 15:32 ` [PATCH v2 3/7] clk: qcom: Make important ARM64 drivers default Krzysztof Kozlowski
@ 2026-06-09 15:32 ` Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 5/7] clk: qcom: Add defaults for desired arm64 drivers Krzysztof Kozlowski
` (3 subsequent siblings)
7 siblings, 0 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Krzysztof Kozlowski
Clock controller drivers are essential for booting up SoCs and are not
really optional for a given platform. Kernel should not ask users
choice of drivers when that choice is obvious and known to the
developers that answer should be 'yes' or 'module'.
Switch all Qualcomm clock controller drivers which are chosen in
ARM 32-bit qcom defconfig to a default 'yes'.
This has no impact on ARM32 qcom defconfig and ARM64 defconfig
include/generated/autoconf.h, however enables a few drivers for ARM32
multi_v7 defconfig: IPQ_GCC_4019, QCOM_CLK_APCS_SDX55, MSM_LCC_8960,
SDX_GCC_55, QCOM_CLK_RPMH as module, IPQ_GCC_806X, IPQ_LCC_806X and
QCOM_A7PLL. Enabling these on multi_v7 is expected to properly boot
these SoCs with defconfig.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Changes in v2:
1. New patch
---
drivers/clk/qcom/Kconfig | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index d8281ed68dc5..ed969553649c 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -249,6 +249,7 @@ config QCOM_A53PLL
config QCOM_A7PLL
tristate "A7 PLL driver for SDX55 and SDX65"
depends on ARM || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the A7 PLL on SDX55 and SDX65 devices. It provides the CPU with
frequencies above 1GHz.
@@ -280,6 +281,7 @@ config QCOM_CLK_APCS_SDX55
tristate "SDX55 and SDX65 APCS Clock Controller"
depends on QCOM_APCS_IPC || COMPILE_TEST
depends on ARM || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the APCS Clock Controller on SDX55, SDX65 platforms. The
APCS is managing the mux and divider which feeds the CPUs.
@@ -289,6 +291,7 @@ config QCOM_CLK_APCS_SDX55
config QCOM_CLK_RPM
tristate "RPM based Clock Controller"
depends on MFD_QCOM_RPM
+ default ARCH_QCOM
help
The RPM (Resource Power Manager) is a dedicated hardware engine for
managing the shared SoC resources in order to keep the lowest power
@@ -341,6 +344,7 @@ config APQ_GCC_8084
tristate "APQ8084 Global Clock Controller"
depends on ARM || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on apq8084 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -351,6 +355,7 @@ config APQ_MMCC_8084
depends on ARM || COMPILE_TEST
select APQ_GCC_8084
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the multimedia clock controller on apq8084 devices.
Say Y if you want to support multimedia devices such as display,
@@ -402,6 +407,7 @@ config IPQ_CMN_PLL
config IPQ_GCC_4019
tristate "IPQ4019 Global Clock Controller"
depends on ARM || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on ipq4019 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -456,6 +462,7 @@ config IPQ_GCC_6018
config IPQ_GCC_806X
tristate "IPQ806x Global Clock Controller"
depends on ARM || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on ipq806x devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -465,6 +472,7 @@ config IPQ_LCC_806X
tristate "IPQ806x LPASS Clock Controller"
depends on ARM || COMPILE_TEST
select IPQ_GCC_806X
+ default ARCH_QCOM
help
Support for the LPASS clock controller on ipq806x devices.
Say Y if you want to use audio devices such as i2s, pcm,
@@ -533,6 +541,7 @@ config IPQ_NSSCC_QCA8K
config MSM_GCC_8660
tristate "MSM8660 Global Clock Controller"
depends on ARM || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on msm8660 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -577,6 +586,7 @@ config MSM_GCC_8939
config MSM_GCC_8960
tristate "APQ8064/MSM8960 Global Clock Controller"
depends on ARM || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the global clock controller on apq8064/msm8960 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -585,6 +595,7 @@ config MSM_GCC_8960
config MSM_LCC_8960
tristate "APQ8064/MSM8960/MDM9650 LPASS Clock Controller"
depends on ARM || COMPILE_TEST
+ default ARCH_QCOM
help
Support for the LPASS clock controller on apq8064/msm8960/mdm9650
devices.
@@ -611,6 +622,7 @@ config MSM_MMCC_8960
tristate "MSM8960 Multimedia Clock Controller"
depends on ARM || COMPILE_TEST
select MSM_GCC_8960
+ default ARCH_QCOM
help
Support for the multimedia clock controller on msm8960 devices.
Say Y if you want to support multimedia devices such as display,
@@ -629,6 +641,7 @@ config MSM_GCC_8974
tristate "MSM8974 Global Clock Controller"
depends on ARM || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on msm8974 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -639,6 +652,7 @@ config MSM_MMCC_8974
depends on ARM || COMPILE_TEST
select MSM_GCC_8974
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the multimedia clock controller on msm8974 devices.
Say Y if you want to support multimedia devices such as display,
@@ -1212,6 +1226,7 @@ config SDX_GCC_55
tristate "SDX55 Global Clock Controller"
depends on ARM || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SDX55 devices.
Say Y if you want to use peripheral devices such as UART,
--
2.53.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 5/7] clk: qcom: Add defaults for desired arm64 drivers
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
` (3 preceding siblings ...)
2026-06-09 15:32 ` [PATCH v2 4/7] clk: qcom: Make important ARM32 " Krzysztof Kozlowski
@ 2026-06-09 15:32 ` Krzysztof Kozlowski
2026-06-10 9:07 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 6/7] ARM/arm64: defconfig: Drop redundant Qualcomm clock entries Krzysztof Kozlowski
` (2 subsequent siblings)
7 siblings, 1 reply; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Krzysztof Kozlowski
Clock controller drivers are essential for booting up SoCs and are not
really optional for a given platform. Kernel should not ask users
choice of drivers when that choice is obvious and known to the
developers that answer should be 'yes' or 'module'.
Enable drivers for upstreamed or being upstreamed SoCs, which are not
yed enabled in defconfig: Glymur, Hawi, Nord, MSM8976, MSM8998 (GPU CC),
SC7180, SC8180X, SC8280XP, SC7280, SDM660, QDU1000, SM4450, SM7150,
SM8150, SM8450, SM6125, SM6375. Note that main GCC clock controller
drivers are usually already enabled for these.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Changes in v2:
1. Add defaults for: MSM_GCC_8976, MSM_GPUCC_8998, SDM_GCC_660,
SDM_MMCC_660, SDM_GPUCC_660, HAWI
2. Drop the Konrad RB tag, considering above a significant change.
---
drivers/clk/qcom/Kconfig | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index ed969553649c..9afd4d752f3a 100644
--- a/drivers/clk/qcom/Kconfig
+++ b/drivers/clk/qcom/Kconfig
@@ -73,6 +73,7 @@ config CLK_GLYMUR_GPUCC
tristate "GLYMUR Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_GLYMUR_GCC
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on GLYMUR devices.
Say Y if you want to support graphics controller devices and
@@ -91,6 +92,7 @@ config CLK_GLYMUR_VIDEOCC
tristate "Glymur Video Clock Controller"
depends on ARM64 || COMPILE_TEST
select CLK_GLYMUR_GCC
+ default m if ARCH_QCOM
help
Support for the video clock controller on Glymur devices.
Say Y if you want to support video devices and functionality such as
@@ -161,6 +163,7 @@ config CLK_NORD_GCC
tristate "Nord Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Nord devices.
Say Y if you want to use peripheral devices such as UART,
@@ -328,6 +331,7 @@ config CLK_HAWI_GCC
tristate "Hawi Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on Hawi devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -336,6 +340,7 @@ config CLK_HAWI_GCC
config CLK_HAWI_TCSRCC
tristate "Hawi TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default m if ARCH_QCOM
help
Support for the TCSR clock controller on Hawi devices.
Say Y if you want to use peripheral devices such as PCIe, USB, UFS.
@@ -661,6 +666,7 @@ config MSM_MMCC_8974
config MSM_GCC_8976
tristate "MSM8956/76 Global Clock Controller"
select QCOM_GDSC
+ default ARCH_QCOM if ARM64
help
Support for the global clock controller on msm8956/76 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -716,6 +722,7 @@ config MSM_GPUCC_8998
tristate "MSM8998 Graphics Clock Controller"
select MSM_GCC_8998
select QCOM_GDSC
+ default m if ARCH_QCOM && ARM64
help
Support for the graphics clock controller on MSM8998 devices.
Say Y if you want to support graphics controller devices and
@@ -785,6 +792,7 @@ config QCS_GCC_404
config CLK_NORD_TCSRCC
tristate "Nord TCSR Clock Controller"
depends on ARM64 || COMPILE_TEST
+ default m if ARCH_QCOM
help
Support for the TCSR clock controller on Nord devices.
Say Y if you want to use peripheral devices such as PCIe, USB, UFS etc.
@@ -845,6 +853,7 @@ config SC_CAMCC_7180
tristate "SC7180 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7180
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
SC7180 devices.
@@ -866,6 +875,7 @@ config SC_CAMCC_8180X
tristate "SC8180X Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_8180X
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
SC8180X devices.
@@ -898,6 +908,7 @@ config SC_DISPCC_7180
tristate "SC7180 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7180
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SC7180 devices.
@@ -1014,6 +1025,7 @@ config SC_GPUCC_7180
tristate "SC7180 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7180
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SC7180 devices.
Say Y if you want to support graphics controller devices and
@@ -1043,6 +1055,7 @@ config SC_LPASSCC_7280
tristate "SC7280 Low Power Audio Subsystem (LPASS) Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7280
+ default m if ARCH_QCOM
help
Support for the LPASS clock controller on SC7280 devices.
Say Y if you want to use the LPASS branch clocks of the LPASS clock
@@ -1084,6 +1097,7 @@ config SC_VIDEOCC_7180
tristate "SC7180 Video Clock Controller"
depends on ARM64 || COMPILE_TEST
select SC_GCC_7180
+ default m if ARCH_QCOM
help
Support for the video clock controller on SC7180 devices.
Say Y if you want to support video devices and functionality such as
@@ -1112,6 +1126,7 @@ config SDM_GCC_660
tristate "SDM660 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the global clock controller on SDM660 devices.
Say Y if you want to use peripheral devices such as UART, SPI,
@@ -1122,6 +1137,7 @@ config SDM_MMCC_660
depends on ARM64 || COMPILE_TEST
select SDM_GCC_660
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the multimedia clock controller on SDM660 devices.
Say Y if you want to support multimedia devices such as display,
@@ -1132,6 +1148,7 @@ config SDM_GPUCC_660
depends on ARM64 || COMPILE_TEST
select SDM_GCC_660
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SDM630/636/660 devices.
Say Y if you want to support graphics controller devices and
@@ -1165,6 +1182,7 @@ config QDU_ECPRICC_1000
tristate "QDU1000/QRU1000 ECPRI Clock Controller"
depends on ARM64 || COMPILE_TEST
select QDU_GCC_1000
+ default m if ARCH_QCOM
help
Support for the ECPRI clock controller on QDU1000 and
QRU1000 devices. Say Y if you want to support the ECPRI
@@ -1254,6 +1272,7 @@ config SM_CAMCC_4450
tristate "SM4450 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_4450
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM4450 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1271,6 +1290,7 @@ config SM_CAMCC_7150
tristate "SM7150 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_7150
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM7150 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1288,6 +1308,7 @@ config SM_CAMCC_8150
tristate "SM8150 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8150
+ default m if ARCH_QCOM
help
Support for the camera clock controller on Qualcomm Technologies, Inc
SM8150 devices.
@@ -1307,6 +1328,7 @@ config SM_CAMCC_8450
tristate "SM8450 Camera Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_8450
+ default m if ARCH_QCOM
help
Support for the camera clock controller on SM8450 or SM8475 devices.
Say Y if you want to support camera devices and camera functionality.
@@ -1344,6 +1366,7 @@ config SM_DISPCC_4450
tristate "SM4450 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_4450
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM4450 devices.
@@ -1365,6 +1388,7 @@ config SM_DISPCC_6125
tristate "SM6125 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_6125
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM6125 devices.
@@ -1375,6 +1399,7 @@ config SM_DISPCC_7150
tristate "SM7150 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_7150
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM7150 devices.
@@ -1407,6 +1432,7 @@ config SM_DISPCC_6375
tristate "SM6375 Display Clock Controller"
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_6375
+ default m if ARCH_QCOM
help
Support for the display clock controller on Qualcomm Technologies, Inc
SM6375 devices.
@@ -1482,6 +1508,7 @@ config SM_GCC_6125
tristate "SM6125 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM6125 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1501,6 +1528,7 @@ config SM_GCC_6375
tristate "SM6375 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM6375 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1510,6 +1538,7 @@ config SM_GCC_7150
tristate "SM7150 Global Clock Controller"
depends on ARM64 || COMPILE_TEST
select QCOM_GDSC
+ default ARCH_QCOM
help
Support for the global clock controller on SM7150 devices.
Say Y if you want to use peripheral devices such as UART,
@@ -1600,6 +1629,7 @@ config SM_GPUCC_4450
tristate "SM4450 Graphics Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_4450
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM4450 devices.
Say Y if you want to support graphics controller devices and
@@ -1619,6 +1649,7 @@ config SM_GPUCC_6125
tristate "SM6125 Graphics Clock Controller"
select SM_GCC_6125
depends on ARM64 || COMPILE_TEST
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM6125 devices.
Say Y if you want to support graphics controller devices and
@@ -1628,6 +1659,7 @@ config SM_GPUCC_6375
tristate "SM6375 Graphics Clock Controller"
select SM_GCC_6375
depends on ARM64 || COMPILE_TEST
+ default m if ARCH_QCOM
help
Support for the graphics clock controller on SM6375 devices.
Say Y if you want to support graphics controller devices and
@@ -1728,6 +1760,7 @@ config SM_LPASSCC_6115
tristate "SM6115 Low Power Audio Subsystem (LPASS) Clock Controller"
depends on ARM64 || COMPILE_TEST
select SM_GCC_6115
+ default m if ARCH_QCOM
help
Support for the LPASS clock controller on SM6115 devices.
Say Y if you want to toggle LPASS-adjacent resets within
@@ -1788,6 +1821,7 @@ config SM_VIDEOCC_7150
depends on ARM64 || COMPILE_TEST
select SM_GCC_7150
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on SM7150 devices.
Say Y if you want to support video devices and functionality such as
@@ -1810,6 +1844,7 @@ config SM_VIDEOCC_8150
depends on ARM64 || COMPILE_TEST
select SM_GCC_8150
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on SM8150 devices.
Say Y if you want to support video devices and functionality such as
@@ -1831,6 +1866,7 @@ config SM_VIDEOCC_8350
depends on ARM64 || COMPILE_TEST
depends on SM_GCC_8350 || SC_GCC_8280XP
select QCOM_GDSC
+ default m if ARCH_QCOM
help
Support for the video clock controller on SM8350 or SC8280XP devices.
Say Y if you want to support video devices and functionality such as
--
2.53.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 6/7] ARM/arm64: defconfig: Drop redundant Qualcomm clock entries
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
` (4 preceding siblings ...)
2026-06-09 15:32 ` [PATCH v2 5/7] clk: qcom: Add defaults for desired arm64 drivers Krzysztof Kozlowski
@ 2026-06-09 15:32 ` Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 7/7] arm64: defconfig: Switch Qualcomm SDM845, SM8150 and SM8250 drivers to modules Krzysztof Kozlowski
2026-06-10 13:54 ` [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Stephan Gerhold
7 siblings, 0 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Krzysztof Kozlowski
Drop all drivers from defconfig which have defaults in Kconfig. Drop
also MDM_LCC_9615 which is gone since commit bac4675a4d1b ("clk: qcom:
drop lcc-mdm9615 in favour of lcc-msm8960").
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Depends on clock patches - this can wait a cycle.
Changes in v2:
1. New patch (split from previous)
---
arch/arm/configs/multi_v7_defconfig | 9 ---
arch/arm/configs/qcom_defconfig | 14 -----
arch/arm64/configs/defconfig | 112 ------------------------------------
3 files changed, 135 deletions(-)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 2891eeba9032..e075da05c7e0 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -1095,15 +1095,6 @@ CONFIG_COMMON_CLK_S2MPS11=m
CONFIG_CLK_TWL=m
CONFIG_CLK_RASPBERRYPI=y
CONFIG_COMMON_CLK_QCOM=y
-CONFIG_QCOM_A53PLL=y
-CONFIG_QCOM_CLK_APCS_MSM8916=y
-CONFIG_QCOM_CLK_RPM=y
-CONFIG_QCOM_CLK_SMD_RPM=y
-CONFIG_APQ_MMCC_8084=y
-CONFIG_MSM_GCC_8660=y
-CONFIG_MSM_GCC_8916=y
-CONFIG_MSM_MMCC_8960=y
-CONFIG_MSM_MMCC_8974=y
CONFIG_HWSPINLOCK=y
CONFIG_HWSPINLOCK_OMAP=y
CONFIG_HWSPINLOCK_QCOM=y
diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig
index 03309b89ea4c..5316126fb41e 100644
--- a/arch/arm/configs/qcom_defconfig
+++ b/arch/arm/configs/qcom_defconfig
@@ -205,20 +205,6 @@ CONFIG_DMADEVICES=y
CONFIG_QCOM_BAM_DMA=y
CONFIG_STAGING=y
CONFIG_COMMON_CLK_QCOM=y
-CONFIG_QCOM_A7PLL=y
-CONFIG_QCOM_CLK_APCS_SDX55=y
-CONFIG_QCOM_CLK_RPM=y
-CONFIG_QCOM_CLK_SMD_RPM=y
-CONFIG_QCOM_CLK_RPMH=y
-CONFIG_APQ_MMCC_8084=y
-CONFIG_IPQ_GCC_4019=y
-CONFIG_IPQ_LCC_806X=y
-CONFIG_MSM_GCC_8660=y
-CONFIG_MSM_LCC_8960=y
-CONFIG_MDM_LCC_9615=y
-CONFIG_MSM_MMCC_8960=y
-CONFIG_MSM_MMCC_8974=y
-CONFIG_SDX_GCC_55=y
CONFIG_HWSPINLOCK=y
CONFIG_HWSPINLOCK_QCOM=y
CONFIG_MAILBOX=y
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index cb753cc0f5a4..91c8e9435dd6 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1458,126 +1458,14 @@ CONFIG_COMMON_CLK_MT8192_SCP_ADSP=y
CONFIG_COMMON_CLK_MT8192_VDECSYS=y
CONFIG_COMMON_CLK_MT8192_VENCSYS=y
CONFIG_COMMON_CLK_QCOM=y
-CONFIG_CLK_ELIZA_DISPCC=m
-CONFIG_CLK_ELIZA_GCC=y
-CONFIG_CLK_ELIZA_TCSRCC=m
-CONFIG_CLK_GLYMUR_DISPCC=m
-CONFIG_CLK_GLYMUR_GCC=y
-CONFIG_CLK_GLYMUR_TCSRCC=m
-CONFIG_CLK_KAANAPALI_CAMCC=m
-CONFIG_CLK_KAANAPALI_DISPCC=m
-CONFIG_CLK_KAANAPALI_GCC=y
-CONFIG_CLK_KAANAPALI_GPUCC=m
-CONFIG_CLK_KAANAPALI_TCSRCC=m
-CONFIG_CLK_KAANAPALI_VIDEOCC=m
-CONFIG_CLK_X1E80100_CAMCC=m
-CONFIG_CLK_X1E80100_DISPCC=m
-CONFIG_CLK_X1E80100_GCC=y
-CONFIG_CLK_X1E80100_GPUCC=m
-CONFIG_CLK_X1E80100_TCSRCC=y
-CONFIG_CLK_X1P42100_GPUCC=m
-CONFIG_CLK_QCM2290_GPUCC=m
-CONFIG_QCOM_A53PLL=y
-CONFIG_QCOM_CLK_APCS_MSM8916=y
-CONFIG_QCOM_CLK_APCC_MSM8996=y
-CONFIG_QCOM_CLK_SMD_RPM=y
-CONFIG_QCOM_CLK_RPMH=y
-CONFIG_IPQ_APSS_6018=y
-CONFIG_IPQ_CMN_PLL=m
-CONFIG_IPQ_GCC_5018=y
-CONFIG_IPQ_GCC_5210=y
-CONFIG_IPQ_GCC_5332=y
-CONFIG_IPQ_GCC_5424=y
-CONFIG_IPQ_GCC_6018=y
-CONFIG_IPQ_GCC_8074=y
-CONFIG_IPQ_GCC_9574=y
-CONFIG_IPQ_NSSCC_5424=m
-CONFIG_IPQ_NSSCC_9574=m
-CONFIG_MSM_GCC_8916=y
-CONFIG_MSM_GCC_8953=y
-CONFIG_MSM_MMCC_8994=m
-CONFIG_MSM_GCC_8994=y
-CONFIG_MSM_GCC_8996=y
-CONFIG_MSM_MMCC_8996=m
-CONFIG_MSM_GCC_8998=y
-CONFIG_MSM_MMCC_8998=m
-CONFIG_QCM_GCC_2290=y
-CONFIG_QCM_DISPCC_2290=m
-CONFIG_QCS_DISPCC_615=m
-CONFIG_QCS_CAMCC_615=m
-CONFIG_QCS_GCC_404=y
-CONFIG_SA_CAMCC_8775P=m
-CONFIG_QCS_GCC_8300=y
-CONFIG_QCS_GCC_615=y
-CONFIG_QCS_GPUCC_615=m
-CONFIG_QCS_VIDEOCC_615=m
-CONFIG_SC_CAMCC_7280=m
-CONFIG_SC_CAMCC_8280XP=m
-CONFIG_SA_DISPCC_8775P=m
-CONFIG_SC_DISPCC_7280=m
-CONFIG_SC_DISPCC_8280XP=m
-CONFIG_SA_GCC_8775P=y
-CONFIG_SA_GPUCC_8775P=m
-CONFIG_SC_GCC_7180=y
-CONFIG_SC_GCC_7280=y
-CONFIG_SC_GCC_8180X=y
-CONFIG_SC_GCC_8280XP=y
-CONFIG_SC_GPUCC_7280=m
-CONFIG_SC_GPUCC_8280XP=m
-CONFIG_SC_LPASSCC_8280XP=m
-CONFIG_SC_LPASS_CORECC_7280=m
-CONFIG_SC_VIDEOCC_7280=m
-CONFIG_SDM_CAMCC_845=m
-CONFIG_QDU_GCC_1000=y
CONFIG_SDM_GPUCC_845=y
CONFIG_SDM_VIDEOCC_845=y
CONFIG_SDM_DISPCC_845=y
-CONFIG_SDM_LPASSCC_845=m
-CONFIG_SDX_GCC_75=y
-CONFIG_SM_CAMCC_6350=m
-CONFIG_SM_CAMCC_MILOS=m
-CONFIG_SM_CAMCC_8250=m
-CONFIG_SM_CAMCC_8550=m
-CONFIG_SM_CAMCC_8650=m
-CONFIG_SM_CAMCC_8750=m
-CONFIG_SM_DISPCC_6115=m
CONFIG_SM_DISPCC_8250=y
-CONFIG_SM_DISPCC_6350=m
-CONFIG_SM_DISPCC_MILOS=m
-CONFIG_SM_DISPCC_8450=m
-CONFIG_SM_DISPCC_8550=m
-CONFIG_SM_DISPCC_8750=m
-CONFIG_SM_GCC_4450=y
-CONFIG_SM_GCC_6115=y
-CONFIG_SM_GCC_6350=y
-CONFIG_SM_GCC_MILOS=y
-CONFIG_SM_GCC_8350=y
-CONFIG_SM_GCC_8450=y
-CONFIG_SM_GCC_8550=y
-CONFIG_SM_GCC_8650=y
-CONFIG_SM_GCC_8750=y
-CONFIG_SM_GPUCC_6115=m
-CONFIG_SM_GPUCC_6350=m
-CONFIG_SM_GPUCC_MILOS=m
CONFIG_SM_GPUCC_8150=y
CONFIG_SM_GPUCC_8250=y
-CONFIG_SM_GPUCC_8350=m
-CONFIG_SM_GPUCC_8450=m
-CONFIG_SM_GPUCC_8550=m
-CONFIG_SM_GPUCC_8650=m
-CONFIG_SM_GPUCC_8750=m
-CONFIG_SM_TCSRCC_8550=y
-CONFIG_SM_TCSRCC_8650=y
-CONFIG_SM_TCSRCC_8750=m
-CONFIG_SA_VIDEOCC_8775P=m
-CONFIG_SM_VIDEOCC_6350=m
-CONFIG_SM_VIDEOCC_MILOS=m
CONFIG_SM_VIDEOCC_8250=y
-CONFIG_SM_VIDEOCC_8550=m
-CONFIG_SM_VIDEOCC_8750=m
CONFIG_QCOM_HFPLL=y
-CONFIG_CLK_GFM_LPASS_SM8250=m
-CONFIG_SM_VIDEOCC_8450=m
CONFIG_CLK_RCAR_USB2_CLOCK_SEL=y
CONFIG_CLK_RENESAS_VBATTB=m
CONFIG_EXYNOS_ACPM_CLK=m
--
2.53.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v2 7/7] arm64: defconfig: Switch Qualcomm SDM845, SM8150 and SM8250 drivers to modules
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
` (5 preceding siblings ...)
2026-06-09 15:32 ` [PATCH v2 6/7] ARM/arm64: defconfig: Drop redundant Qualcomm clock entries Krzysztof Kozlowski
@ 2026-06-09 15:32 ` Krzysztof Kozlowski
2026-06-10 9:07 ` Konrad Dybcio
2026-06-10 13:54 ` [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Stephan Gerhold
7 siblings, 1 reply; 15+ messages in thread
From: Krzysztof Kozlowski @ 2026-06-09 15:32 UTC (permalink / raw)
To: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Krzysztof Kozlowski
Display, GPU and video clock controllers on Qualcomm SDM845, SM8150 and
SM8250 SoCs should not be built-in because they are not necessary for
platform bring-up to shell or even mounting rootfs. Drop their explicit
selection in defconfig, relying on defaults which makes them modules.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Depends on previous patches.
Changes in v2:
1. Rebase
---
arch/arm64/configs/defconfig | 7 -------
1 file changed, 7 deletions(-)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 91c8e9435dd6..766915f8a050 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1458,13 +1458,6 @@ CONFIG_COMMON_CLK_MT8192_SCP_ADSP=y
CONFIG_COMMON_CLK_MT8192_VDECSYS=y
CONFIG_COMMON_CLK_MT8192_VENCSYS=y
CONFIG_COMMON_CLK_QCOM=y
-CONFIG_SDM_GPUCC_845=y
-CONFIG_SDM_VIDEOCC_845=y
-CONFIG_SDM_DISPCC_845=y
-CONFIG_SM_DISPCC_8250=y
-CONFIG_SM_GPUCC_8150=y
-CONFIG_SM_GPUCC_8250=y
-CONFIG_SM_VIDEOCC_8250=y
CONFIG_QCOM_HFPLL=y
CONFIG_CLK_RCAR_USB2_CLOCK_SEL=y
CONFIG_CLK_RENESAS_VBATTB=m
--
2.53.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM
2026-06-09 15:32 ` [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM Krzysztof Kozlowski
@ 2026-06-09 22:44 ` Dmitry Baryshkov
2026-06-10 9:00 ` Konrad Dybcio
1 sibling, 0 replies; 15+ messages in thread
From: Dmitry Baryshkov @ 2026-06-09 22:44 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio, linux-arm-msm, linux-clk, linux-kernel,
linux-arm-kernel
On Tue, Jun 09, 2026 at 05:32:36PM +0200, Krzysztof Kozlowski wrote:
> 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.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v2 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64
2026-06-09 15:32 ` [PATCH v2 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64 Krzysztof Kozlowski
@ 2026-06-10 8:59 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-06-10 8:59 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Michael Turquette,
Stephen Boyd, Brian Masney, Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel,
Dmitry Baryshkov
On 6/9/26 5:32 PM, Krzysztof Kozlowski wrote:
> Some clock drivers for IPQ5424, IPQ9574, QCM2290, QDU1000 and SA8775
> already depend on ARM64. IPQ6018 is ARM64 only SoC (at least upstream)
> so should not be a choice for ARM 32-bit builds, to make kernels smaller
> and user choices easier.
>
> IPQ_CMN_PLL is used only by the SoCs already having clock controllers
> restricted to ARM64
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM
2026-06-09 15:32 ` [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM Krzysztof Kozlowski
2026-06-09 22:44 ` Dmitry Baryshkov
@ 2026-06-10 9:00 ` Konrad Dybcio
1 sibling, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-06-10 9:00 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Michael Turquette,
Stephen Boyd, Brian Masney, Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel
On 6/9/26 5:32 PM, Krzysztof Kozlowski wrote:
> 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.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v2 3/7] clk: qcom: Make important ARM64 drivers default
2026-06-09 15:32 ` [PATCH v2 3/7] clk: qcom: Make important ARM64 drivers default Krzysztof Kozlowski
@ 2026-06-10 9:04 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-06-10 9:04 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Michael Turquette,
Stephen Boyd, Brian Masney, Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel
On 6/9/26 5:32 PM, Krzysztof Kozlowski wrote:
> Clock controller drivers are essential for booting up SoCs and are not
> really optional for a given platform. Kernel should not ask users
> choice of drivers when that choice is obvious and known to the
> developers that answer should be 'yes' or 'module'.
>
> Switch all Qualcomm clock controller drivers which are chosen in
> defconfig to respective default 'yes' or 'module'.
>
> This has no impact on ARM64 defconfig include/generated/autoconf.h,
> however changes few drivers for ARM 32-bit:
>
> 1. multi_v7_defconfig: Enable QCOM_CLK_RPMH as module, because SDX55
> (ARM 32-bit) uses it.
FWIW RPMHCC is a provider to GCC
I think TCSR_CC is also a good candidate for =y, as on platforms that
have it, it's necessary for USB/PCIe/UFS
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v2 5/7] clk: qcom: Add defaults for desired arm64 drivers
2026-06-09 15:32 ` [PATCH v2 5/7] clk: qcom: Add defaults for desired arm64 drivers Krzysztof Kozlowski
@ 2026-06-10 9:07 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-06-10 9:07 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Michael Turquette,
Stephen Boyd, Brian Masney, Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel
On 6/9/26 5:32 PM, Krzysztof Kozlowski wrote:
> Clock controller drivers are essential for booting up SoCs and are not
> really optional for a given platform. Kernel should not ask users
> choice of drivers when that choice is obvious and known to the
> developers that answer should be 'yes' or 'module'.
>
> Enable drivers for upstreamed or being upstreamed SoCs, which are not
> yed enabled in defconfig: Glymur, Hawi, Nord, MSM8976, MSM8998 (GPU CC),
> SC7180, SC8180X, SC8280XP, SC7280, SDM660, QDU1000, SM4450, SM7150,
> SM8150, SM8450, SM6125, SM6375. Note that main GCC clock controller
> drivers are usually already enabled for these.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>
> ---
>
> Changes in v2:
> 1. Add defaults for: MSM_GCC_8976, MSM_GPUCC_8998, SDM_GCC_660,
> SDM_MMCC_660, SDM_GPUCC_660, HAWI
>
> 2. Drop the Konrad RB tag, considering above a significant change.
> ---
[...]
> tristate "SDM660 Global Clock Controller"
> depends on ARM64 || COMPILE_TEST
> select QCOM_GDSC
> + default m if ARCH_QCOM
Drop the 'm'
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v2 7/7] arm64: defconfig: Switch Qualcomm SDM845, SM8150 and SM8250 drivers to modules
2026-06-09 15:32 ` [PATCH v2 7/7] arm64: defconfig: Switch Qualcomm SDM845, SM8150 and SM8250 drivers to modules Krzysztof Kozlowski
@ 2026-06-10 9:07 ` Konrad Dybcio
0 siblings, 0 replies; 15+ messages in thread
From: Konrad Dybcio @ 2026-06-10 9:07 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bjorn Andersson, Michael Turquette,
Stephen Boyd, Brian Masney, Konrad Dybcio
Cc: linux-arm-msm, linux-clk, linux-kernel, linux-arm-kernel
On 6/9/26 5:32 PM, Krzysztof Kozlowski wrote:
> Display, GPU and video clock controllers on Qualcomm SDM845, SM8150 and
> SM8250 SoCs should not be built-in because they are not necessary for
> platform bring-up to shell or even mounting rootfs. Drop their explicit
> selection in defconfig, relying on defaults which makes them modules.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
` (6 preceding siblings ...)
2026-06-09 15:32 ` [PATCH v2 7/7] arm64: defconfig: Switch Qualcomm SDM845, SM8150 and SM8250 drivers to modules Krzysztof Kozlowski
@ 2026-06-10 13:54 ` Stephan Gerhold
7 siblings, 0 replies; 15+ messages in thread
From: Stephan Gerhold @ 2026-06-10 13:54 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Bjorn Andersson, Michael Turquette, Stephen Boyd, Brian Masney,
Konrad Dybcio, linux-arm-msm, linux-clk, linux-kernel,
linux-arm-kernel, Dmitry Baryshkov
On Tue, Jun 09, 2026 at 05:32:34PM +0200, Krzysztof Kozlowski wrote:
> Changes in v2:
> - Significant rework:
> - Add more commits, also for arm32 drivers
> - Split defconfig changes to separate commits, so clock can still go
> this cycle and defconfig later. Also, less conflicts.
> - Link to v1: https://patch.msgid.link/20260416-clk-qcom-defaults-v1-0-579e75c4cfe5@oss.qualcomm.com
> - Dropped most review tags, due to changes.
>
> We should not be really asking whether to enable clock controller
> drivers. This is obvious choice.
>
> And if it does not seem obvious, then consider [1].
>
> [1] https://lore.kernel.org/all/CAHk-%3Dwhigg3hvOy7c1j1MXFy6o6CHp0g4Tc3Y-MAk%2BXDssHU0A@mail.gmail.com/
>
> If the approach is fine, I will do similarly with inteconnect and
> pinctrl (and maybe others).
>
Perhaps we could add some option that disables the defaults for users
who need to compile a minimal kernel for space-constrained systems? All
the clock drivers combined can take up quite a bit of space because of
all the clock definitions (a quick test suggests 2.6 MiB on ARM64 for
all gcc-*.o), which can be already quite problematic e.g. for MDM*/SDX*
systems with sometimes only 256 MiB RAM or less.
The defaults applied in this patch set can be individually disabled, but
this becomes quite a mess when you really just want to have a minimal
configuration for a single SoC. Whenever a new SoC is added, you need to
go through all the menus and disable all the new options that were
added because they are going to be enabled by default.
This could be easily solved with an additional option, e.g.
config ARCH_QCOM_DEFAULT
bool "Select important Qualcomm SoC drivers by default"
default ARCH_QCOM
config ..._GCC_...
default ARCH_QCOM_DEFAULT
Then you just need to disable that one option once, and all future new
options won't get enabled by default. The media subsystem has something
similar (MEDIA_SUBDRV_AUTOSELECT).
Thanks,
Stephan
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2026-06-10 13:55 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 15:32 [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 1/7] clk: qcom: Restrict IPQ5424, IPQ6018,IPQ9574, QCM2290 and others to ARM64 Krzysztof Kozlowski
2026-06-10 8:59 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 2/7] clk: qcom: Restrict A7PLL and IPQ4019 GCC to ARM Krzysztof Kozlowski
2026-06-09 22:44 ` Dmitry Baryshkov
2026-06-10 9:00 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 3/7] clk: qcom: Make important ARM64 drivers default Krzysztof Kozlowski
2026-06-10 9:04 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 4/7] clk: qcom: Make important ARM32 " Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 5/7] clk: qcom: Add defaults for desired arm64 drivers Krzysztof Kozlowski
2026-06-10 9:07 ` Konrad Dybcio
2026-06-09 15:32 ` [PATCH v2 6/7] ARM/arm64: defconfig: Drop redundant Qualcomm clock entries Krzysztof Kozlowski
2026-06-09 15:32 ` [PATCH v2 7/7] arm64: defconfig: Switch Qualcomm SDM845, SM8150 and SM8250 drivers to modules Krzysztof Kozlowski
2026-06-10 9:07 ` Konrad Dybcio
2026-06-10 13:54 ` [PATCH v2 0/7] clk: qcom: Add sane defaults and drop defconfig Stephan Gerhold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.