diff mbox series

[7/8] pinctrl: qcom: organize main SoC drivers in new Kconfig.msm

Message ID 20230601152026.1182648-7-krzysztof.kozlowski@linaro.org
State Accepted
Commit 3476b8b1920f918affebd0d38a724a45bca1e5ff
Headers show
Series None | expand

Commit Message

Krzysztof Kozlowski June 1, 2023, 3:20 p.m. UTC
In menuconfig, some entries depending on PINCTRL_MSM are indented and
expressed as dependening but some not, because of other Kconfig entries
in between,

Move all main Qualcomm SoC pin controller driver entries into new
Kconfig.msm file so they will be nicely ordered in Kconfig file (by
CONFIG_ name) and properly indented as PINCTRL_MSM dependency in
menuconfig.

Functionally this is the same, but since entire file is guarded with "if
PINCTRL_MSM" drop this dependency from individual entries.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/pinctrl/qcom/Kconfig     | 402 +------------------------------
 drivers/pinctrl/qcom/Kconfig.msm | 360 +++++++++++++++++++++++++++
 2 files changed, 361 insertions(+), 401 deletions(-)
 create mode 100644 drivers/pinctrl/qcom/Kconfig.msm

Comments

Andy Shevchenko June 1, 2023, 9:45 p.m. UTC | #1
Thu, Jun 01, 2023 at 05:20:25PM +0200, Krzysztof Kozlowski kirjoitti:
> In menuconfig, some entries depending on PINCTRL_MSM are indented and
> expressed as dependening but some not, because of other Kconfig entries
> in between,
> 
> Move all main Qualcomm SoC pin controller driver entries into new
> Kconfig.msm file so they will be nicely ordered in Kconfig file (by
> CONFIG_ name) and properly indented as PINCTRL_MSM dependency in
> menuconfig.
> 
> Functionally this is the same, but since entire file is guarded with "if
> PINCTRL_MSM" drop this dependency from individual entries.

Cool idea, maybe I need to do the same for Intel case!
Linus Walleij June 2, 2023, 7:47 a.m. UTC | #2
On Thu, Jun 1, 2023 at 5:21 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:

> In menuconfig, some entries depending on PINCTRL_MSM are indented and
> expressed as dependening but some not, because of other Kconfig entries
> in between,
>
> Move all main Qualcomm SoC pin controller driver entries into new
> Kconfig.msm file so they will be nicely ordered in Kconfig file (by
> CONFIG_ name) and properly indented as PINCTRL_MSM dependency in
> menuconfig.
>
> Functionally this is the same, but since entire file is guarded with "if
> PINCTRL_MSM" drop this dependency from individual entries.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

This makes things look much better.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Konrad Dybcio June 2, 2023, 9:09 a.m. UTC | #3
On 1.06.2023 17:20, Krzysztof Kozlowski wrote:
> In menuconfig, some entries depending on PINCTRL_MSM are indented and
> expressed as dependening but some not, because of other Kconfig entries
> in between,
> 
> Move all main Qualcomm SoC pin controller driver entries into new
> Kconfig.msm file so they will be nicely ordered in Kconfig file (by
> CONFIG_ name) and properly indented as PINCTRL_MSM dependency in
> menuconfig.
> 
> Functionally this is the same, but since entire file is guarded with "if
> PINCTRL_MSM" drop this dependency from individual entries.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Wow.. nice!

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  drivers/pinctrl/qcom/Kconfig     | 402 +------------------------------
>  drivers/pinctrl/qcom/Kconfig.msm | 360 +++++++++++++++++++++++++++
>  2 files changed, 361 insertions(+), 401 deletions(-)
>  create mode 100644 drivers/pinctrl/qcom/Kconfig.msm
> 
> diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
> index 18ac19f41873..f1c23a641fe1 100644
> --- a/drivers/pinctrl/qcom/Kconfig
> +++ b/drivers/pinctrl/qcom/Kconfig
> @@ -14,208 +14,7 @@ config PINCTRL_MSM
>  	select IRQ_DOMAIN_HIERARCHY
>  	select IRQ_FASTEOI_HIERARCHY_HANDLERS
>  
> -config PINCTRL_APQ8064
> -	tristate "Qualcomm APQ8064 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
> -
> -config PINCTRL_APQ8084
> -	tristate "Qualcomm APQ8084 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
> -
> -config PINCTRL_IPQ4019
> -	tristate "Qualcomm IPQ4019 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
> -
> -config PINCTRL_IPQ8064
> -	tristate "Qualcomm IPQ8064 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
> -
> -config PINCTRL_IPQ5332
> -	tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc IPQ5332 platform.
> -
> -config PINCTRL_IPQ8074
> -	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
> -	  the Qualcomm Technologies Inc. TLMM block found on the
> -	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
> -	  IPQ8074.
> -
> -config PINCTRL_IPQ6018
> -	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
> -	  the Qualcomm Technologies Inc. TLMM block found on the
> -	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
> -	  IPQ6018.
> -
> -config PINCTRL_IPQ9574
> -	tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	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.
> -
> -config PINCTRL_MSM8226
> -	tristate "Qualcomm 8226 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc MSM8226 platform.
> -
> -config PINCTRL_MSM8660
> -	tristate "Qualcomm 8660 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
> -
> -config PINCTRL_MSM8960
> -	tristate "Qualcomm 8960 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	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"
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm 9607 platform.
> -
> -config PINCTRL_MDM9615
> -	tristate "Qualcomm 9615 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
> -
> -config PINCTRL_MSM8X74
> -	tristate "Qualcomm 8x74 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
> -
> -config PINCTRL_MSM8909
> -	tristate "Qualcomm 8909 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	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"
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
> -
> -config PINCTRL_MSM8953
> -	tristate "Qualcomm 8953 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
> -	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
> -	  supported by this driver.
> -
> -config PINCTRL_MSM8976
> -	tristate "Qualcomm 8976 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
> -	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
> -	  supported by this driver.
> -
> -config PINCTRL_MSM8994
> -	tristate "Qualcomm 8994 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
> -	  Qualcomm 8992 platform is also supported by this driver.
> -
> -config PINCTRL_MSM8996
> -	tristate "Qualcomm MSM8996 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	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
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
> -
> -config PINCTRL_QCM2290
> -	tristate "Qualcomm QCM2290 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  TLMM block found in the Qualcomm QCM2290 platform.
> -
> -config PINCTRL_QCS404
> -	tristate "Qualcomm QCS404 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  TLMM block found in the Qualcomm QCS404 platform.
> -
> -config PINCTRL_QDF2XXX
> -	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
> -	depends on ACPI
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the GPIO driver for the TLMM block found on the
> -	  Qualcomm Technologies QDF2xxx SOCs.
> +source "drivers/pinctrl/qcom/Kconfig.msm"
>  
>  config PINCTRL_QCOM_SPMI_PMIC
>  	tristate "Qualcomm SPMI PMIC pin controller driver"
> @@ -248,41 +47,6 @@ config PINCTRL_QCOM_SSBI_PMIC
>  	 which are using SSBI for communication with SoC. Example PMIC's
>  	 devices are pm8058 and pm8921.
>  
> -config PINCTRL_QDU1000
> -	tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf, and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc QDU1000 and QRU1000 platforms.
> -
> -config PINCTRL_SA8775P
> -	tristate "Qualcomm Technologies Inc SA8775P pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux and pinconf driver for the Qualcomm
> -	  TLMM block found on the Qualcomm SA8775P platforms.
> -
> -config PINCTRL_SC7180
> -	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SC7180 platform.
> -
> -config PINCTRL_SC7280
> -	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SC7280 platform.
> -
>  config PINCTRL_SC7280_LPASS_LPI
>  	tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
>  	depends on ARM64 || COMPILE_TEST
> @@ -292,143 +56,6 @@ config PINCTRL_SC7280_LPASS_LPI
>  	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
>  	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform.
>  
> -config PINCTRL_SC8180X
> -	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
> -	depends on (OF || ACPI)
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SC8180x platform.
> -
> -config PINCTRL_SC8280XP
> -	tristate "Qualcomm Technologies Inc SC8280xp pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SC8280xp platform.
> -
> -config PINCTRL_SDM660
> -	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SDM660 platform.
> -
> -config PINCTRL_SDM670
> -	tristate "Qualcomm Technologies Inc SDM670 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SDM670 platform.
> -
> -config PINCTRL_SDM845
> -	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
> -	depends on (OF || ACPI)
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SDM845 platform.
> -
> -config PINCTRL_SDX55
> -	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
> -	depends on ARM || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SDX55 platform.
> -
> -config PINCTRL_SDX65
> -        tristate "Qualcomm Technologies Inc SDX65 pin controller driver"
> -        depends on ARM || COMPILE_TEST
> -        depends on PINCTRL_MSM
> -        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 Technologies Inc SDX75 pin controller driver"
> -        depends on ARM64 || COMPILE_TEST
> -        depends on PINCTRL_MSM
> -        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_SM6115
> -	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SM6115 and SM4250 platforms.
> -
> -config PINCTRL_SM6125
> -	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SM6125 platform.
> -
> -config PINCTRL_SM6350
> -	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SM6350 platform.
> -
> -config PINCTRL_SM6375
> -	tristate "Qualcomm Technologies Inc SM6375 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SM6375 platform.
> -
> -config PINCTRL_SM7150
> -	tristate "Qualcomm Technologies Inc SM7150 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SM7150 platform.
> -
> -config PINCTRL_SM8150
> -	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	 Technologies Inc SM8150 platform.
> -
> -config PINCTRL_SM8250
> -	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SM8250 platform.
> -
>  config PINCTRL_SM8250_LPASS_LPI
>  	tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver"
>  	depends on ARM64 || COMPILE_TEST
> @@ -438,24 +65,6 @@ config PINCTRL_SM8250_LPASS_LPI
>  	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
>  	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
>  
> -config PINCTRL_SM8350
> -	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SM8350 platform.
> -
> -config PINCTRL_SM8450
> -	tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SM8450 platform.
> -
>  config PINCTRL_SM8450_LPASS_LPI
>  	tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver"
>  	depends on ARM64 || COMPILE_TEST
> @@ -474,15 +83,6 @@ config PINCTRL_SC8280XP_LPASS_LPI
>  	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
>  	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.
>  
> -config PINCTRL_SM8550
> -	tristate "Qualcomm Technologies Inc SM8550 pin controller driver"
> -	depends on ARM64 || COMPILE_TEST
> -	depends on PINCTRL_MSM
> -	help
> -	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> -	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> -	  Technologies Inc SM8550 platform.
> -
>  config PINCTRL_SM8550_LPASS_LPI
>  	tristate "Qualcomm Technologies Inc SM8550 LPASS LPI pin controller driver"
>  	depends on ARM64 || COMPILE_TEST
> diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm
> new file mode 100644
> index 000000000000..e03042e80a0d
> --- /dev/null
> +++ b/drivers/pinctrl/qcom/Kconfig.msm
> @@ -0,0 +1,360 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +if PINCTRL_MSM
> +
> +config PINCTRL_APQ8064
> +	tristate "Qualcomm APQ8064 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
> +
> +config PINCTRL_APQ8084
> +	tristate "Qualcomm APQ8084 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
> +
> +config PINCTRL_IPQ4019
> +	tristate "Qualcomm IPQ4019 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
> +
> +config PINCTRL_IPQ8064
> +	tristate "Qualcomm IPQ8064 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
> +
> +config PINCTRL_IPQ5332
> +	tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc IPQ5332 platform.
> +
> +config PINCTRL_IPQ8074
> +	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
> +	  the Qualcomm Technologies Inc. TLMM block found on the
> +	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
> +	  IPQ8074.
> +
> +config PINCTRL_IPQ6018
> +	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
> +	  the Qualcomm Technologies Inc. TLMM block found on the
> +	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
> +	  IPQ6018.
> +
> +config PINCTRL_IPQ9574
> +	tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	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.
> +
> +config PINCTRL_MSM8226
> +	tristate "Qualcomm 8226 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc MSM8226 platform.
> +
> +config PINCTRL_MSM8660
> +	tristate "Qualcomm 8660 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
> +
> +config PINCTRL_MSM8960
> +	tristate "Qualcomm 8960 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	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"
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm 9607 platform.
> +
> +config PINCTRL_MDM9615
> +	tristate "Qualcomm 9615 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
> +
> +config PINCTRL_MSM8X74
> +	tristate "Qualcomm 8x74 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
> +
> +config PINCTRL_MSM8909
> +	tristate "Qualcomm 8909 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	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"
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
> +
> +config PINCTRL_MSM8953
> +	tristate "Qualcomm 8953 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 MSM8953 platform.
> +	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
> +	  supported by this driver.
> +
> +config PINCTRL_MSM8976
> +	tristate "Qualcomm 8976 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 MSM8976 platform.
> +	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
> +	  supported by this driver.
> +
> +config PINCTRL_MSM8994
> +	tristate "Qualcomm 8994 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
> +	  Qualcomm 8992 platform is also supported by this driver.
> +
> +config PINCTRL_MSM8996
> +	tristate "Qualcomm MSM8996 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	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
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
> +
> +config PINCTRL_QCM2290
> +	tristate "Qualcomm QCM2290 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  TLMM block found in the Qualcomm QCM2290 platform.
> +
> +config PINCTRL_QCS404
> +	tristate "Qualcomm QCS404 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  TLMM block found in the Qualcomm QCS404 platform.
> +
> +config PINCTRL_QDF2XXX
> +	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
> +	depends on ACPI
> +	help
> +	  This is the GPIO driver for the TLMM block found on the
> +	  Qualcomm Technologies QDF2xxx SOCs.
> +
> +config PINCTRL_QDU1000
> +	tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf, and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc QDU1000 and QRU1000 platforms.
> +
> +config PINCTRL_SA8775P
> +	tristate "Qualcomm Technologies Inc SA8775P pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux and pinconf driver for the Qualcomm
> +	  TLMM block found on the Qualcomm SA8775P platforms.
> +
> +config PINCTRL_SC7180
> +	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SC7180 platform.
> +
> +config PINCTRL_SC7280
> +	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SC7280 platform.
> +
> +config PINCTRL_SC8180X
> +	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
> +	depends on (OF || ACPI)
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SC8180x platform.
> +
> +config PINCTRL_SC8280XP
> +	tristate "Qualcomm Technologies Inc SC8280xp pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SC8280xp platform.
> +
> +config PINCTRL_SDM660
> +	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SDM660 platform.
> +
> +config PINCTRL_SDM670
> +	tristate "Qualcomm Technologies Inc SDM670 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SDM670 platform.
> +
> +config PINCTRL_SDM845
> +	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
> +	depends on (OF || ACPI)
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SDM845 platform.
> +
> +config PINCTRL_SDX55
> +	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
> +	depends on ARM || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SDX55 platform.
> +
> +config PINCTRL_SDX65
> +        tristate "Qualcomm Technologies Inc SDX65 pin controller driver"
> +        depends on ARM || COMPILE_TEST
> +        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 Technologies Inc SDX75 pin controller driver"
> +        depends on ARM64 || COMPILE_TEST
> +        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_SM6115
> +	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SM6115 and SM4250 platforms.
> +
> +config PINCTRL_SM6125
> +	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SM6125 platform.
> +
> +config PINCTRL_SM6350
> +	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SM6350 platform.
> +
> +config PINCTRL_SM6375
> +	tristate "Qualcomm Technologies Inc SM6375 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SM6375 platform.
> +
> +config PINCTRL_SM7150
> +	tristate "Qualcomm Technologies Inc SM7150 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SM7150 platform.
> +
> +config PINCTRL_SM8150
> +	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	 Technologies Inc SM8150 platform.
> +
> +config PINCTRL_SM8250
> +	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SM8250 platform.
> +
> +config PINCTRL_SM8350
> +	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SM8350 platform.
> +
> +config PINCTRL_SM8450
> +	tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SM8450 platform.
> +
> +config PINCTRL_SM8550
> +	tristate "Qualcomm Technologies Inc SM8550 pin controller driver"
> +	depends on ARM64 || COMPILE_TEST
> +	help
> +	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
> +	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
> +	  Technologies Inc SM8550 platform.
> +
> +endif
diff mbox series

Patch

diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
index 18ac19f41873..f1c23a641fe1 100644
--- a/drivers/pinctrl/qcom/Kconfig
+++ b/drivers/pinctrl/qcom/Kconfig
@@ -14,208 +14,7 @@  config PINCTRL_MSM
 	select IRQ_DOMAIN_HIERARCHY
 	select IRQ_FASTEOI_HIERARCHY_HANDLERS
 
-config PINCTRL_APQ8064
-	tristate "Qualcomm APQ8064 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
-
-config PINCTRL_APQ8084
-	tristate "Qualcomm APQ8084 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
-
-config PINCTRL_IPQ4019
-	tristate "Qualcomm IPQ4019 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
-
-config PINCTRL_IPQ8064
-	tristate "Qualcomm IPQ8064 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
-
-config PINCTRL_IPQ5332
-	tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc IPQ5332 platform.
-
-config PINCTRL_IPQ8074
-	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
-	  the Qualcomm Technologies Inc. TLMM block found on the
-	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
-	  IPQ8074.
-
-config PINCTRL_IPQ6018
-	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
-	  the Qualcomm Technologies Inc. TLMM block found on the
-	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
-	  IPQ6018.
-
-config PINCTRL_IPQ9574
-	tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	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.
-
-config PINCTRL_MSM8226
-	tristate "Qualcomm 8226 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc MSM8226 platform.
-
-config PINCTRL_MSM8660
-	tristate "Qualcomm 8660 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
-
-config PINCTRL_MSM8960
-	tristate "Qualcomm 8960 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	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"
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm 9607 platform.
-
-config PINCTRL_MDM9615
-	tristate "Qualcomm 9615 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
-
-config PINCTRL_MSM8X74
-	tristate "Qualcomm 8x74 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
-
-config PINCTRL_MSM8909
-	tristate "Qualcomm 8909 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	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"
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
-
-config PINCTRL_MSM8953
-	tristate "Qualcomm 8953 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found on the Qualcomm MSM8953 platform.
-	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
-	  supported by this driver.
-
-config PINCTRL_MSM8976
-	tristate "Qualcomm 8976 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found on the Qualcomm MSM8976 platform.
-	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
-	  supported by this driver.
-
-config PINCTRL_MSM8994
-	tristate "Qualcomm 8994 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
-	  Qualcomm 8992 platform is also supported by this driver.
-
-config PINCTRL_MSM8996
-	tristate "Qualcomm MSM8996 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	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
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
-
-config PINCTRL_QCM2290
-	tristate "Qualcomm QCM2290 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  TLMM block found in the Qualcomm QCM2290 platform.
-
-config PINCTRL_QCS404
-	tristate "Qualcomm QCS404 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  TLMM block found in the Qualcomm QCS404 platform.
-
-config PINCTRL_QDF2XXX
-	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
-	depends on ACPI
-	depends on PINCTRL_MSM
-	help
-	  This is the GPIO driver for the TLMM block found on the
-	  Qualcomm Technologies QDF2xxx SOCs.
+source "drivers/pinctrl/qcom/Kconfig.msm"
 
 config PINCTRL_QCOM_SPMI_PMIC
 	tristate "Qualcomm SPMI PMIC pin controller driver"
@@ -248,41 +47,6 @@  config PINCTRL_QCOM_SSBI_PMIC
 	 which are using SSBI for communication with SoC. Example PMIC's
 	 devices are pm8058 and pm8921.
 
-config PINCTRL_QDU1000
-	tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf, and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc QDU1000 and QRU1000 platforms.
-
-config PINCTRL_SA8775P
-	tristate "Qualcomm Technologies Inc SA8775P pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux and pinconf driver for the Qualcomm
-	  TLMM block found on the Qualcomm SA8775P platforms.
-
-config PINCTRL_SC7180
-	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SC7180 platform.
-
-config PINCTRL_SC7280
-	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SC7280 platform.
-
 config PINCTRL_SC7280_LPASS_LPI
 	tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
 	depends on ARM64 || COMPILE_TEST
@@ -292,143 +56,6 @@  config PINCTRL_SC7280_LPASS_LPI
 	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
 	  (Low Power Island) found on the Qualcomm Technologies Inc SC7280 platform.
 
-config PINCTRL_SC8180X
-	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
-	depends on (OF || ACPI)
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SC8180x platform.
-
-config PINCTRL_SC8280XP
-	tristate "Qualcomm Technologies Inc SC8280xp pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SC8280xp platform.
-
-config PINCTRL_SDM660
-	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SDM660 platform.
-
-config PINCTRL_SDM670
-	tristate "Qualcomm Technologies Inc SDM670 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SDM670 platform.
-
-config PINCTRL_SDM845
-	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
-	depends on (OF || ACPI)
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SDM845 platform.
-
-config PINCTRL_SDX55
-	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
-	depends on ARM || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SDX55 platform.
-
-config PINCTRL_SDX65
-        tristate "Qualcomm Technologies Inc SDX65 pin controller driver"
-        depends on ARM || COMPILE_TEST
-        depends on PINCTRL_MSM
-        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 Technologies Inc SDX75 pin controller driver"
-        depends on ARM64 || COMPILE_TEST
-        depends on PINCTRL_MSM
-        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_SM6115
-	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SM6115 and SM4250 platforms.
-
-config PINCTRL_SM6125
-	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SM6125 platform.
-
-config PINCTRL_SM6350
-	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SM6350 platform.
-
-config PINCTRL_SM6375
-	tristate "Qualcomm Technologies Inc SM6375 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SM6375 platform.
-
-config PINCTRL_SM7150
-	tristate "Qualcomm Technologies Inc SM7150 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SM7150 platform.
-
-config PINCTRL_SM8150
-	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	 Technologies Inc SM8150 platform.
-
-config PINCTRL_SM8250
-	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SM8250 platform.
-
 config PINCTRL_SM8250_LPASS_LPI
 	tristate "Qualcomm Technologies Inc SM8250 LPASS LPI pin controller driver"
 	depends on ARM64 || COMPILE_TEST
@@ -438,24 +65,6 @@  config PINCTRL_SM8250_LPASS_LPI
 	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
 	  (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform.
 
-config PINCTRL_SM8350
-	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SM8350 platform.
-
-config PINCTRL_SM8450
-	tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SM8450 platform.
-
 config PINCTRL_SM8450_LPASS_LPI
 	tristate "Qualcomm Technologies Inc SM8450 LPASS LPI pin controller driver"
 	depends on ARM64 || COMPILE_TEST
@@ -474,15 +83,6 @@  config PINCTRL_SC8280XP_LPASS_LPI
 	  Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
 	  (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform.
 
-config PINCTRL_SM8550
-	tristate "Qualcomm Technologies Inc SM8550 pin controller driver"
-	depends on ARM64 || COMPILE_TEST
-	depends on PINCTRL_MSM
-	help
-	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
-	  Technologies Inc SM8550 platform.
-
 config PINCTRL_SM8550_LPASS_LPI
 	tristate "Qualcomm Technologies Inc SM8550 LPASS LPI pin controller driver"
 	depends on ARM64 || COMPILE_TEST
diff --git a/drivers/pinctrl/qcom/Kconfig.msm b/drivers/pinctrl/qcom/Kconfig.msm
new file mode 100644
index 000000000000..e03042e80a0d
--- /dev/null
+++ b/drivers/pinctrl/qcom/Kconfig.msm
@@ -0,0 +1,360 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+if PINCTRL_MSM
+
+config PINCTRL_APQ8064
+	tristate "Qualcomm APQ8064 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm APQ8064 platform.
+
+config PINCTRL_APQ8084
+	tristate "Qualcomm APQ8084 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm APQ8084 platform.
+
+config PINCTRL_IPQ4019
+	tristate "Qualcomm IPQ4019 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm IPQ4019 platform.
+
+config PINCTRL_IPQ8064
+	tristate "Qualcomm IPQ8064 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm IPQ8064 platform.
+
+config PINCTRL_IPQ5332
+	tristate "Qualcomm Technologies Inc IPQ5332 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc IPQ5332 platform.
+
+config PINCTRL_IPQ8074
+	tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
+	  the Qualcomm Technologies Inc. TLMM block found on the
+	  Qualcomm Technologies Inc. IPQ8074 platform. Select this for
+	  IPQ8074.
+
+config PINCTRL_IPQ6018
+	tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for
+	  the Qualcomm Technologies Inc. TLMM block found on the
+	  Qualcomm Technologies Inc. IPQ6018 platform. Select this for
+	  IPQ6018.
+
+config PINCTRL_IPQ9574
+	tristate "Qualcomm Technologies, Inc. IPQ9574 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	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.
+
+config PINCTRL_MSM8226
+	tristate "Qualcomm 8226 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc MSM8226 platform.
+
+config PINCTRL_MSM8660
+	tristate "Qualcomm 8660 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
+
+config PINCTRL_MSM8960
+	tristate "Qualcomm 8960 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	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"
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm 9607 platform.
+
+config PINCTRL_MDM9615
+	tristate "Qualcomm 9615 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
+
+config PINCTRL_MSM8X74
+	tristate "Qualcomm 8x74 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
+
+config PINCTRL_MSM8909
+	tristate "Qualcomm 8909 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	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"
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found on the Qualcomm 8916 platform.
+
+config PINCTRL_MSM8953
+	tristate "Qualcomm 8953 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 MSM8953 platform.
+	  The Qualcomm APQ8053, SDM450, SDM632 platforms are also
+	  supported by this driver.
+
+config PINCTRL_MSM8976
+	tristate "Qualcomm 8976 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 MSM8976 platform.
+	  The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also
+	  supported by this driver.
+
+config PINCTRL_MSM8994
+	tristate "Qualcomm 8994 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm 8994 platform. The
+	  Qualcomm 8992 platform is also supported by this driver.
+
+config PINCTRL_MSM8996
+	tristate "Qualcomm MSM8996 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	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
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm TLMM block found in the Qualcomm MSM8998 platform.
+
+config PINCTRL_QCM2290
+	tristate "Qualcomm QCM2290 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  TLMM block found in the Qualcomm QCM2290 platform.
+
+config PINCTRL_QCS404
+	tristate "Qualcomm QCS404 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  TLMM block found in the Qualcomm QCS404 platform.
+
+config PINCTRL_QDF2XXX
+	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
+	depends on ACPI
+	help
+	  This is the GPIO driver for the TLMM block found on the
+	  Qualcomm Technologies QDF2xxx SOCs.
+
+config PINCTRL_QDU1000
+	tristate "Qualcomm Technologies Inc QDU1000/QRU1000 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf, and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc QDU1000 and QRU1000 platforms.
+
+config PINCTRL_SA8775P
+	tristate "Qualcomm Technologies Inc SA8775P pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux and pinconf driver for the Qualcomm
+	  TLMM block found on the Qualcomm SA8775P platforms.
+
+config PINCTRL_SC7180
+	tristate "Qualcomm Technologies Inc SC7180 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SC7180 platform.
+
+config PINCTRL_SC7280
+	tristate "Qualcomm Technologies Inc SC7280 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SC7280 platform.
+
+config PINCTRL_SC8180X
+	tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
+	depends on (OF || ACPI)
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SC8180x platform.
+
+config PINCTRL_SC8280XP
+	tristate "Qualcomm Technologies Inc SC8280xp pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SC8280xp platform.
+
+config PINCTRL_SDM660
+	tristate "Qualcomm Technologies Inc SDM660 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SDM660 platform.
+
+config PINCTRL_SDM670
+	tristate "Qualcomm Technologies Inc SDM670 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SDM670 platform.
+
+config PINCTRL_SDM845
+	tristate "Qualcomm Technologies Inc SDM845 pin controller driver"
+	depends on (OF || ACPI)
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SDM845 platform.
+
+config PINCTRL_SDX55
+	tristate "Qualcomm Technologies Inc SDX55 pin controller driver"
+	depends on ARM || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SDX55 platform.
+
+config PINCTRL_SDX65
+        tristate "Qualcomm Technologies Inc SDX65 pin controller driver"
+        depends on ARM || COMPILE_TEST
+        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 Technologies Inc SDX75 pin controller driver"
+        depends on ARM64 || COMPILE_TEST
+        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_SM6115
+	tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SM6115 and SM4250 platforms.
+
+config PINCTRL_SM6125
+	tristate "Qualcomm Technologies Inc SM6125 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SM6125 platform.
+
+config PINCTRL_SM6350
+	tristate "Qualcomm Technologies Inc SM6350 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SM6350 platform.
+
+config PINCTRL_SM6375
+	tristate "Qualcomm Technologies Inc SM6375 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SM6375 platform.
+
+config PINCTRL_SM7150
+	tristate "Qualcomm Technologies Inc SM7150 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SM7150 platform.
+
+config PINCTRL_SM8150
+	tristate "Qualcomm Technologies Inc SM8150 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	 This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	 Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	 Technologies Inc SM8150 platform.
+
+config PINCTRL_SM8250
+	tristate "Qualcomm Technologies Inc SM8250 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SM8250 platform.
+
+config PINCTRL_SM8350
+	tristate "Qualcomm Technologies Inc SM8350 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SM8350 platform.
+
+config PINCTRL_SM8450
+	tristate "Qualcomm Technologies Inc SM8450 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SM8450 platform.
+
+config PINCTRL_SM8550
+	tristate "Qualcomm Technologies Inc SM8550 pin controller driver"
+	depends on ARM64 || COMPILE_TEST
+	help
+	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
+	  Technologies Inc SM8550 platform.
+
+endif