Skip to contentSkip to conversation

arm64: qcom: enable GPIOLIB in Kconfig

PATCH New Michael Scott 2 participants 2 messages Oct 21, 2016 – Oct 30, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: qcom: enable GPIOLIB in Kconfig

While debugging a kernel image size issue, I discovered that if all non ARCH_QCOM configs in the ARM64 defconfig are disabled, the QCOM pinctrl drivers will not be built.

The QCOM pinctrl drivers have a dependency on GPIOLIB which was being selected when other ARCH configs were enabled, but ARCH_QCOM doesn't select GPIOLIB directly. Let's select GPIOLIB here to ensure the pinctrl drivers are built for QCOM platforms.

---
 arch/arm64/Kconfig.platforms | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/Kconfig.platforms +1 -0
index cfbdf02..e9fc226 100644
@@ -113,6 +113,7 @@ config ARCH_MVEBU
 
 config ARCH_QCOM
 	bool "Qualcomm Platforms"
+	select GPIOLIB
 	select PINCTRL
 	help
 	  This enables support for the ARMv8 based Qualcomm chipsets.
Signature · 1 line
2.9.3
maintainer
#1 lore raw

PATCH 1/1 arm64: qcom: enable GPIOLIB in Kconfig

Quoted 4 lines · Michael Scott

While debugging a kernel image size issue, I discovered that if all non ARCH_QCOM configs in the ARM64 defconfig are disabled, the QCOM pinctrl drivers will not be built.

Quoted 8 lines

The QCOM pinctrl drivers have a dependency on GPIOLIB which was being selected when other ARCH configs were enabled, but ARCH_QCOM doesn't select GPIOLIB directly. Let's select GPIOLIB here to ensure the pinctrl drivers are built for QCOM platforms.

---
 arch/arm64/Kconfig.platforms | 1 +

Such patches are normally handled by arm-soc (cc'ed).

Signature · 1 line
Catalin