if (ARCH_MSM || COMPILE_TEST)

config PINCTRL_MSM
	bool
	select PINMUX
	select PINCONF
	select GENERIC_PINCONF
	select GPIOLIB_IRQCHIP

config PINCTRL_APQ8064
	tristate "Qualcomm APQ8064 pin controller driver"
	depends on GPIOLIB && OF
	select 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_MDM9607
	tristate "QTI MDM9607 pin controller driver"
	depends on GPIOLIB && OF
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  QTI TLMM block found in the QTI 9607 platform.

config PINCTRL_MDM9640
	tristate "Qualcomm MDM9640 pin controller driver"
	depends on GPIOLIB && OF
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm 9640 platform.

config PINCTRL_MDMCALIFORNIUM
	tristate "Qualcomm MDM9640 pin controller driver"
	depends on GPIOLIB && OF
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm mdmcalifornium platform.

config PINCTRL_APQ8084
	tristate "Qualcomm APQ8084 pin controller driver"
	depends on GPIOLIB && OF
	select 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_IPQ8064
	tristate "Qualcomm IPQ8064 pin controller driver"
	depends on GPIOLIB && OF
	select 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_MSM8960
	tristate "Qualcomm 8960 pin controller driver"
	depends on GPIOLIB && OF
	select 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_MSM8X74
	tristate "Qualcomm 8x74 pin controller driver"
	depends on GPIOLIB && OF
	select 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_MSM8996
	tristate "Qualcomm MSM8996 pin controller driver"
	depends on GPIOLIB && OF && (ARCH_MSM8996 || COMPILE_TEST)
	select 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_MSM8952
	tristate "Qualcomm MSM8952 pin controller driver"
	depends on GPIOLIB && OF && (ARCH_MSM8916 || COMPILE_TEST)
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm MSM8952 platform.

config PINCTRL_MSM8937
	tristate "QTI MSM8937 pin controller driver"
	depends on GPIOLIB && OF && (ARCH_MSM8937 || COMPILE_TEST)
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  QTI TLMM block found in the QTI MSM8937 platform.

config PINCTRL_MSMCOBALT
	tristate "QTI MSMCOBALT pin controller driver"
	depends on GPIOLIB && OF && (ARCH_MSMCOBALT || COMPILE_TEST)
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  QTI TLMM block found in the QTI MSMCOBALT platform.

config PINCTRL_MSMGOLD
	tristate "QTI MSMGOLD pin controller driver"
	depends on GPIOLIB && OF && (ARCH_MSMGOLD || COMPILE_TEST)
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  QTI TLMM block found in the QTI MSMGOLD platform.

config PINCTRL_MSMTITANIUM
	tristate "Qualcomm MSMTITANIUM pin controller driver"
	depends on GPIOLIB && OF && (ARCH_MSMTITANIUM || COMPILE_TEST)
	select PINCTRL_MSM
	help
	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
	  Qualcomm TLMM block found in the Qualcomm MSMTITANIUM platform.

endif
