]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: qcom: Make important drivers default (1)
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Tue, 28 Apr 2026 16:35:49 +0000 (18:35 +0200)
committerLinus Walleij <linusw@kernel.org>
Wed, 6 May 2026 19:10:08 +0000 (21:10 +0200)
The main SoC TLMM (Top-Level Multiplexer) pin 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 TLMM pin controller drivers to a default 'yes' for
ARCH_QCOM.  This has impact:

1. arm64 defconfig: enable PINCTRL_SM7150, PINCTRL_IPQ9650 and
   PINCTRL_HAWI, which were not selected before but should be, because
   these platforms need them for proper boot.

2. arm qcom_defconfig: no changes.

3. arm multi_v7 defconfig: enable drivers necessary to boot ARM 32-bit
   platforms, which are already enabled on qcom_defconfig.

4. COMPILE_TEST builds: enable by default all drivers for arm or arm64
   builds, whenever ARCH_QCOM is selected.  This has impact on build
   time and feels logical, because if one selects ARCH_QCOM then
   probably by default wants to build test it entirely.  Kernels with
   COMPILE_TEST are not supposed to be used for booting.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
[linusw@kernel.org: Split off the defconfig changes to a separate patch]
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/qcom/Kconfig
drivers/pinctrl/qcom/Kconfig.msm

index 5452b128c2e51edce63145aace7fbec32fea47fb..a09e840a01c66045f7c757ca4e813a8536fd60e7 100644 (file)
@@ -6,6 +6,7 @@ config PINCTRL_MSM
        depends on GPIOLIB
        # OF for pinconf_generic_dt_node_to_map_group() from GENERIC_PINCONF
        depends on OF
+       default ARCH_QCOM
        select QCOM_SCM
        select PINMUX
        select GENERIC_PINMUX_FUNCTIONS
index 8b4d3bce585f6ea6b54454fbaec376729df468e0..65bc7424065ab039b07a1f2205b9f00c53b9008f 100644 (file)
@@ -4,6 +4,7 @@ if PINCTRL_MSM
 config PINCTRL_APQ8064
        tristate "Qualcomm APQ8064 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
@@ -11,6 +12,7 @@ config PINCTRL_APQ8064
 config PINCTRL_APQ8084
        tristate "Qualcomm APQ8084 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
@@ -18,6 +20,7 @@ config PINCTRL_APQ8084
 config PINCTRL_ELIZA
        tristate "Qualcomm Eliza pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc Top Level Mode Multiplexer block (TLMM)
@@ -28,6 +31,7 @@ config PINCTRL_ELIZA
 config PINCTRL_GLYMUR
        tristate "Qualcomm Glymur pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc Top Level Mode Multiplexer block (TLMM)
@@ -38,6 +42,7 @@ config PINCTRL_GLYMUR
 config PINCTRL_HAWI
        tristate "Qualcomm Hawi pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc Top Level Mode Multiplexer block (TLMM)
@@ -48,6 +53,7 @@ config PINCTRL_HAWI
 config PINCTRL_IPQ4019
        tristate "Qualcomm IPQ4019 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
@@ -55,6 +61,7 @@ config PINCTRL_IPQ4019
 config PINCTRL_IPQ5018
        tristate "Qualcomm IPQ5018 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for
          the Qualcomm Technologies Inc. TLMM block found on the
@@ -64,6 +71,7 @@ config PINCTRL_IPQ5018
 config PINCTRL_IPQ8064
        tristate "Qualcomm IPQ8064 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
@@ -71,6 +79,7 @@ config PINCTRL_IPQ8064
 config PINCTRL_IPQ5210
        tristate "Qualcomm IPQ5210 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -79,6 +88,7 @@ config PINCTRL_IPQ5210
 config PINCTRL_IPQ5332
        tristate "Qualcomm IPQ5332 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -87,6 +97,7 @@ config PINCTRL_IPQ5332
 config PINCTRL_IPQ5424
        tristate "Qualcomm IPQ5424 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for
           the Qualcomm Technologies Inc. TLMM block found on the
@@ -96,6 +107,7 @@ config PINCTRL_IPQ5424
 config PINCTRL_IPQ8074
        tristate "Qualcomm IPQ8074 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for
          the Qualcomm Technologies Inc. TLMM block found on the
@@ -105,6 +117,7 @@ config PINCTRL_IPQ8074
 config PINCTRL_IPQ6018
        tristate "Qualcomm IPQ6018 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for
          the Qualcomm Technologies Inc. TLMM block found on the
@@ -114,6 +127,7 @@ config PINCTRL_IPQ6018
 config PINCTRL_IPQ9574
        tristate "Qualcomm IPQ9574 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for
           the Qualcomm Technologies Inc. TLMM block found on the
@@ -123,6 +137,7 @@ config PINCTRL_IPQ9574
 config PINCTRL_IPQ9650
        tristate "Qualcomm IPQ9650 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for
           the Qualcomm Technologies Inc. TLMM block found on the
@@ -132,6 +147,7 @@ config PINCTRL_IPQ9650
 config PINCTRL_KAANAPALI
        tristate "Qualcomm Kaanapali pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -140,6 +156,7 @@ config PINCTRL_KAANAPALI
 config PINCTRL_MSM8226
        tristate "Qualcomm 8226 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -148,6 +165,7 @@ config PINCTRL_MSM8226
 config PINCTRL_MSM8660
        tristate "Qualcomm 8660 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm 8660 platform.
@@ -155,12 +173,14 @@ config PINCTRL_MSM8660
 config PINCTRL_MSM8960
        tristate "Qualcomm 8960 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm 8960 platform.
 
 config PINCTRL_MDM9607
        tristate "Qualcomm 9607 pin controller driver"
+       default ARCH_QCOM if ARM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm 9607 platform.
@@ -168,6 +188,7 @@ config PINCTRL_MDM9607
 config PINCTRL_MDM9615
        tristate "Qualcomm 9615 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm 9615 platform.
@@ -175,6 +196,7 @@ config PINCTRL_MDM9615
 config PINCTRL_MSM8X74
        tristate "Qualcomm 8x74 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm 8974 platform.
@@ -182,12 +204,14 @@ config PINCTRL_MSM8X74
 config PINCTRL_MSM8909
        tristate "Qualcomm 8909 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found on the Qualcomm MSM8909 platform.
 
 config PINCTRL_MSM8916
        tristate "Qualcomm 8916 pin controller driver"
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found on the Qualcomm 8916 platform.
@@ -201,6 +225,7 @@ config PINCTRL_MSM8917
 config PINCTRL_MSM8953
        tristate "Qualcomm 8953 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
@@ -210,6 +235,7 @@ config PINCTRL_MSM8953
 config PINCTRL_MSM8976
        tristate "Qualcomm 8976 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
@@ -219,6 +245,7 @@ config PINCTRL_MSM8976
 config PINCTRL_MSM8994
        tristate "Qualcomm 8994 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm 8994 platform. The
@@ -227,6 +254,7 @@ config PINCTRL_MSM8994
 config PINCTRL_MSM8996
        tristate "Qualcomm MSM8996 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
@@ -234,6 +262,7 @@ config PINCTRL_MSM8996
 config PINCTRL_MSM8998
        tristate "Qualcomm MSM8998 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
@@ -249,6 +278,7 @@ config PINCTRL_NORD
 config PINCTRL_QCM2290
        tristate "Qualcomm QCM2290 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          TLMM block found in the Qualcomm QCM2290 platform.
@@ -256,6 +286,7 @@ config PINCTRL_QCM2290
 config PINCTRL_QCS404
        tristate "Qualcomm QCS404 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          TLMM block found in the Qualcomm QCS404 platform.
@@ -263,6 +294,7 @@ config PINCTRL_QCS404
 config PINCTRL_QCS615
        tristate "Qualcomm QCS615 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          TLMM block found on the Qualcomm QCS615 platform.
@@ -270,6 +302,7 @@ config PINCTRL_QCS615
 config PINCTRL_QCS8300
        tristate "Qualcomm QCS8300 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux and pinconf driver for the Qualcomm
          TLMM block found on the Qualcomm QCS8300 platform.
@@ -277,6 +310,7 @@ config PINCTRL_QCS8300
 config PINCTRL_QDF2XXX
        tristate "Qualcomm QDF2xxx pin controller driver"
        depends on ACPI
+       default ARCH_QCOM if ARM64
        help
          This is the GPIO driver for the TLMM block found on the
          Qualcomm Technologies QDF2xxx SOCs.
@@ -284,6 +318,7 @@ config PINCTRL_QDF2XXX
 config PINCTRL_QDU1000
        tristate "Qualcomm QDU1000/QRU1000 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf, and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -292,6 +327,7 @@ config PINCTRL_QDU1000
 config PINCTRL_SA8775P
        tristate "Qualcomm SA8775P pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux and pinconf driver for the Qualcomm
          TLMM block found on the Qualcomm SA8775P platforms.
@@ -307,6 +343,7 @@ config PINCTRL_SAR2130P
 config PINCTRL_SC7180
        tristate "Qualcomm SC7180 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -315,6 +352,7 @@ config PINCTRL_SC7180
 config PINCTRL_SC7280
        tristate "Qualcomm SC7280 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -324,6 +362,7 @@ config PINCTRL_SC8180X
        tristate "Qualcomm SC8180x pin controller driver"
        depends on (OF || ACPI)
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -332,6 +371,7 @@ config PINCTRL_SC8180X
 config PINCTRL_SC8280XP
        tristate "Qualcomm SC8280xp pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -340,6 +380,7 @@ config PINCTRL_SC8280XP
 config PINCTRL_SDM660
        tristate "Qualcomm SDM660 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -348,6 +389,7 @@ config PINCTRL_SDM660
 config PINCTRL_SDM670
        tristate "Qualcomm SDM670 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -357,6 +399,7 @@ config PINCTRL_SDM845
        tristate "Qualcomm SDM845 pin controller driver"
        depends on (OF || ACPI)
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -365,6 +408,7 @@ config PINCTRL_SDM845
 config PINCTRL_SDX55
        tristate "Qualcomm SDX55 pin controller driver"
        depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -373,6 +417,7 @@ config PINCTRL_SDX55
 config PINCTRL_SDX65
         tristate "Qualcomm SDX65 pin controller driver"
         depends on ARM || COMPILE_TEST
+       default ARCH_QCOM
         help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -381,6 +426,7 @@ config PINCTRL_SDX65
 config PINCTRL_SDX75
         tristate "Qualcomm SDX75 pin controller driver"
         depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
         help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -389,6 +435,7 @@ config PINCTRL_SDX75
 config PINCTRL_SM4450
        tristate "Qualcomm SM4450 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -397,6 +444,7 @@ config PINCTRL_SM4450
 config PINCTRL_SM6115
        tristate "Qualcomm SM6115,SM4250 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -405,6 +453,7 @@ config PINCTRL_SM6115
 config PINCTRL_SM6125
        tristate "Qualcomm SM6125 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -413,6 +462,7 @@ config PINCTRL_SM6125
 config PINCTRL_SM6350
        tristate "Qualcomm SM6350 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -421,6 +471,7 @@ config PINCTRL_SM6350
 config PINCTRL_SM6375
        tristate "Qualcomm SM6375 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -429,6 +480,7 @@ config PINCTRL_SM6375
 config PINCTRL_SM7150
        tristate "Qualcomm SM7150 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -437,6 +489,7 @@ config PINCTRL_SM7150
 config PINCTRL_MILOS
        tristate "Qualcomm Milos pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -445,6 +498,7 @@ config PINCTRL_MILOS
 config PINCTRL_SM8150
        tristate "Qualcomm SM8150 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
         Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -453,6 +507,7 @@ config PINCTRL_SM8150
 config PINCTRL_SM8250
        tristate "Qualcomm SM8250 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -461,6 +516,7 @@ config PINCTRL_SM8250
 config PINCTRL_SM8350
        tristate "Qualcomm SM8350 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -469,6 +525,7 @@ config PINCTRL_SM8350
 config PINCTRL_SM8450
        tristate "Qualcomm SM8450 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -477,6 +534,7 @@ config PINCTRL_SM8450
 config PINCTRL_SM8550
        tristate "Qualcomm SM8550 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -485,6 +543,7 @@ config PINCTRL_SM8550
 config PINCTRL_SM8650
        tristate "Qualcomm SM8650 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -493,6 +552,7 @@ config PINCTRL_SM8650
 config PINCTRL_SM8750
        tristate "Qualcomm SM8750 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc TLMM block found on the Qualcomm
@@ -501,6 +561,7 @@ config PINCTRL_SM8750
 config PINCTRL_X1E80100
        tristate "Qualcomm X1E80100 pin controller driver"
        depends on ARM64 || COMPILE_TEST
+       default ARCH_QCOM
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm Technologies Inc Top Level Mode Multiplexer block (TLMM)