* [PATCH 1/4] pinctrl: qcom: Consistently restrict MSM8917 to ARM64
2026-11-22 13:34 [PATCH 0/4] pinctrl: qcom: Unify KConfig choices between clk, pinctrl and interconnect Krzysztof Kozlowski
@ 2026-11-22 13:34 ` Krzysztof Kozlowski
2026-11-23 15:15 ` Konrad Dybcio
2026-11-22 13:34 ` [PATCH 2/4] pinctrl: qcom: Enable by default MSM8917 and SAR2130P Krzysztof Kozlowski
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-22 13:34 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Linus Walleij
Cc: linux-arm-msm, linux-gpio, Krzysztof Kozlowski
Clock drivers for MSM8917 are restricted to ARM64 and there is only
ARM64 DTS, thus consistently handle also its pin controller driver.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/pinctrl/qcom/Kconfig.msm | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm
index e45c701db627..3a2a97948e6e 100644
--- a/drivers/pinctrl/qcom/Kconfig.msm
+++ b/drivers/pinctrl/qcom/Kconfig.msm
@@ -239,6 +239,7 @@ config PINCTRL_MSM8916
config PINCTRL_MSM8917
tristate "Qualcomm 8917/8937 pin controller driver"
+ depends on ARM64 || COMPILE_TEST
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block found on the Qualcomm MSM8917, MSM8937 platform.
--
2.53.0
^ permalink raw reply related [flat|nested] 9+ messages in thread* [PATCH 2/4] pinctrl: qcom: Enable by default MSM8917 and SAR2130P
2026-11-22 13:34 [PATCH 0/4] pinctrl: qcom: Unify KConfig choices between clk, pinctrl and interconnect Krzysztof Kozlowski
2026-11-22 13:34 ` [PATCH 1/4] pinctrl: qcom: Consistently restrict MSM8917 to ARM64 Krzysztof Kozlowski
@ 2026-11-22 13:34 ` Krzysztof Kozlowski
2026-11-23 15:15 ` Konrad Dybcio
2026-11-22 13:34 ` [PATCH 3/4] pinctrl: qcom: Consistently handle IPQ5018, MSM8953 and others Krzysztof Kozlowski
2026-11-22 13:34 ` [PATCH 4/4] pinctrl: qcom: Correct indentation Krzysztof Kozlowski
3 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-22 13:34 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Linus Walleij
Cc: linux-arm-msm, linux-gpio, Krzysztof Kozlowski
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'.
Enable by default pin controller drivers MSM8917 and SAR2130P SoCs to
match above expectation.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/pinctrl/qcom/Kconfig.msm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm
index 3a2a97948e6e..82730112bb38 100644
--- a/drivers/pinctrl/qcom/Kconfig.msm
+++ b/drivers/pinctrl/qcom/Kconfig.msm
@@ -240,6 +240,7 @@ config PINCTRL_MSM8916
config PINCTRL_MSM8917
tristate "Qualcomm 8917/8937 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 MSM8917, MSM8937 platform.
@@ -365,6 +366,7 @@ config PINCTRL_SA8775P
config PINCTRL_SAR2130P
tristate "Qualcomm SAR2130P 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
--
2.53.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 2/4] pinctrl: qcom: Enable by default MSM8917 and SAR2130P
2026-11-22 13:34 ` [PATCH 2/4] pinctrl: qcom: Enable by default MSM8917 and SAR2130P Krzysztof Kozlowski
@ 2026-11-23 15:15 ` Konrad Dybcio
0 siblings, 0 replies; 9+ messages in thread
From: Konrad Dybcio @ 2026-11-23 15:15 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bartosz Golaszewski, Bjorn Andersson,
Linus Walleij
Cc: linux-arm-msm, linux-gpio
On 11/22/26 2:34 PM, Krzysztof Kozlowski wrote:
> 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'.
>
> Enable by default pin controller drivers MSM8917 and SAR2130P SoCs to
> match above expectation.
>
> 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] 9+ messages in thread
* [PATCH 3/4] pinctrl: qcom: Consistently handle IPQ5018, MSM8953 and others
2026-11-22 13:34 [PATCH 0/4] pinctrl: qcom: Unify KConfig choices between clk, pinctrl and interconnect Krzysztof Kozlowski
2026-11-22 13:34 ` [PATCH 1/4] pinctrl: qcom: Consistently restrict MSM8917 to ARM64 Krzysztof Kozlowski
2026-11-22 13:34 ` [PATCH 2/4] pinctrl: qcom: Enable by default MSM8917 and SAR2130P Krzysztof Kozlowski
@ 2026-11-22 13:34 ` Krzysztof Kozlowski
2026-11-23 15:15 ` Konrad Dybcio
2026-11-22 13:34 ` [PATCH 4/4] pinctrl: qcom: Correct indentation Krzysztof Kozlowski
3 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-22 13:34 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Linus Walleij
Cc: linux-arm-msm, linux-gpio, Krzysztof Kozlowski
Other critical drivers, like clock and interconnect, for Qualcomm
IPQ5018, MSM8953, MSM8976 MSM8994, MSM8996, MSM8998, QCS404 and SDX75
are allowed for 32-bit ARM builds, so pin controller drivers should
follow.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/pinctrl/qcom/Kconfig.msm | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm
index 82730112bb38..be7458aab9d8 100644
--- a/drivers/pinctrl/qcom/Kconfig.msm
+++ b/drivers/pinctrl/qcom/Kconfig.msm
@@ -60,8 +60,7 @@ config PINCTRL_IPQ4019
config PINCTRL_IPQ5018
tristate "Qualcomm IPQ5018 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default ARCH_QCOM if ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for
the Qualcomm Technologies Inc. TLMM block found on the
@@ -255,8 +254,7 @@ config PINCTRL_MSM8952
config PINCTRL_MSM8953
tristate "Qualcomm 8953 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default ARCH_QCOM if ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
@@ -265,8 +263,7 @@ config PINCTRL_MSM8953
config PINCTRL_MSM8976
tristate "Qualcomm 8976 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default ARCH_QCOM if ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
@@ -275,8 +272,7 @@ config PINCTRL_MSM8976
config PINCTRL_MSM8994
tristate "Qualcomm 8994 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default ARCH_QCOM if ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block found in the Qualcomm 8994 platform. The
@@ -284,16 +280,14 @@ config PINCTRL_MSM8994
config PINCTRL_MSM8996
tristate "Qualcomm MSM8996 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default ARCH_QCOM if ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
config PINCTRL_MSM8998
tristate "Qualcomm MSM8998 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default ARCH_QCOM if ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
@@ -316,8 +310,7 @@ config PINCTRL_QCM2290
config PINCTRL_QCS404
tristate "Qualcomm QCS404 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default y if ARCH_QCOM && ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
TLMM block found in the Qualcomm QCS404 platform.
@@ -457,8 +450,7 @@ config PINCTRL_SDX65
config PINCTRL_SDX75
tristate "Qualcomm SDX75 pin controller driver"
- depends on ARM64 || COMPILE_TEST
- default ARCH_QCOM
+ default ARCH_QCOM if ARM64
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
Qualcomm Technologies Inc TLMM block found on the Qualcomm
--
2.53.0
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 3/4] pinctrl: qcom: Consistently handle IPQ5018, MSM8953 and others
2026-11-22 13:34 ` [PATCH 3/4] pinctrl: qcom: Consistently handle IPQ5018, MSM8953 and others Krzysztof Kozlowski
@ 2026-11-23 15:15 ` Konrad Dybcio
0 siblings, 0 replies; 9+ messages in thread
From: Konrad Dybcio @ 2026-11-23 15:15 UTC (permalink / raw)
To: Krzysztof Kozlowski, Bartosz Golaszewski, Bjorn Andersson,
Linus Walleij
Cc: linux-arm-msm, linux-gpio
On 11/22/26 2:34 PM, Krzysztof Kozlowski wrote:
> Other critical drivers, like clock and interconnect, for Qualcomm
> IPQ5018, MSM8953, MSM8976 MSM8994, MSM8996, MSM8998, QCS404 and SDX75
> are allowed for 32-bit ARM builds, so pin controller drivers should
> follow.
>
> 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] 9+ messages in thread
* [PATCH 4/4] pinctrl: qcom: Correct indentation
2026-11-22 13:34 [PATCH 0/4] pinctrl: qcom: Unify KConfig choices between clk, pinctrl and interconnect Krzysztof Kozlowski
` (2 preceding siblings ...)
2026-11-22 13:34 ` [PATCH 3/4] pinctrl: qcom: Consistently handle IPQ5018, MSM8953 and others Krzysztof Kozlowski
@ 2026-11-22 13:34 ` Krzysztof Kozlowski
2026-11-23 15:15 ` Konrad Dybcio
3 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-11-22 13:34 UTC (permalink / raw)
To: Bartosz Golaszewski, Bjorn Andersson, Linus Walleij
Cc: linux-arm-msm, linux-gpio, Krzysztof Kozlowski
Correct Kconfig indentation style to expected tab, instead of spaces.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
drivers/pinctrl/qcom/Kconfig.msm | 40 ++++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm
index be7458aab9d8..d57114535bd4 100644
--- a/drivers/pinctrl/qcom/Kconfig.msm
+++ b/drivers/pinctrl/qcom/Kconfig.msm
@@ -99,9 +99,9 @@ config PINCTRL_IPQ5424
default ARCH_QCOM
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for
- the Qualcomm Technologies Inc. TLMM block found on the
- Qualcomm Technologies Inc. IPQ5424 platform. Select this for
- IPQ5424.
+ the Qualcomm Technologies Inc. TLMM block found on the
+ Qualcomm Technologies Inc. IPQ5424 platform. Select this for
+ IPQ5424.
config PINCTRL_IPQ8074
tristate "Qualcomm IPQ8074 pin controller driver"
@@ -129,9 +129,9 @@ config PINCTRL_IPQ9574
default ARCH_QCOM
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for
- the Qualcomm Technologies Inc. TLMM block found on the
- Qualcomm Technologies Inc. IPQ9574 platform. Select this for
- IPQ9574.
+ the Qualcomm Technologies Inc. TLMM block found on the
+ Qualcomm Technologies Inc. IPQ9574 platform. Select this for
+ IPQ9574.
config PINCTRL_IPQ9650
tristate "Qualcomm IPQ9650 pin controller driver"
@@ -139,9 +139,9 @@ config PINCTRL_IPQ9650
default ARCH_QCOM
help
This is the pinctrl, pinmux, pinconf and gpiolib driver for
- the Qualcomm Technologies Inc. TLMM block found on the
- Qualcomm Technologies Inc. IPQ9650 platform. Select this for
- IPQ9650.
+ the Qualcomm Technologies Inc. TLMM block found on the
+ Qualcomm Technologies Inc. IPQ9650 platform. Select this for
+ IPQ9650.
config PINCTRL_KAANAPALI
tristate "Qualcomm Kaanapali pin controller driver"
@@ -440,21 +440,21 @@ config PINCTRL_SDX55
Technologies Inc SDX55 platform.
config PINCTRL_SDX65
- tristate "Qualcomm SDX65 pin controller driver"
- depends on ARM || COMPILE_TEST
+ 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
- Technologies Inc SDX65 platform.
+ help
+ This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+ Qualcomm Technologies Inc TLMM block found on the Qualcomm
+ Technologies Inc SDX65 platform.
config PINCTRL_SDX75
- tristate "Qualcomm SDX75 pin controller driver"
+ tristate "Qualcomm SDX75 pin controller driver"
default ARCH_QCOM if ARM64
- help
- This is the pinctrl, pinmux, pinconf and gpiolib driver for the
- Qualcomm Technologies Inc TLMM block found on the Qualcomm
- Technologies Inc SDX75 platform.
+ help
+ This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+ Qualcomm Technologies Inc TLMM block found on the Qualcomm
+ Technologies Inc SDX75 platform.
config PINCTRL_SHIKRA
tristate "Qualcomm Shikra pin controller driver"
--
2.53.0
^ permalink raw reply related [flat|nested] 9+ messages in thread