[PATCH 3/4] clk: qcom: Add defaults for desired arm64 drivers
From: Krzysztof Kozlowski
Date: Thu Apr 16 2026 - 04:13:34 EST
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, Nord, SC7180, SC8180X, SC8280XP,
SC7280, 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@xxxxxxxxxxxxxxxx>
---
drivers/clk/qcom/Kconfig | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig
index d11c5ea8be83..b0c0208d7574 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,
@@ -737,6 +740,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.
@@ -797,6 +801,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.
@@ -818,6 +823,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.
@@ -850,6 +856,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.
@@ -966,6 +973,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
@@ -995,6 +1003,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
@@ -1036,6 +1045,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
@@ -1117,6 +1127,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
@@ -1204,6 +1215,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.
@@ -1221,6 +1233,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.
@@ -1238,6 +1251,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.
@@ -1257,6 +1271,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.
@@ -1294,6 +1309,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.
@@ -1315,6 +1331,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.
@@ -1325,6 +1342,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.
@@ -1357,6 +1375,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.
@@ -1432,6 +1451,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,
@@ -1451,6 +1471,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,
@@ -1460,6 +1481,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,
@@ -1550,6 +1572,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
@@ -1569,6 +1592,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
@@ -1578,6 +1602,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
@@ -1678,6 +1703,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
@@ -1738,6 +1764,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
@@ -1760,6 +1787,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
@@ -1781,6 +1809,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.51.0