[PATCH] ARM: davinci: also select PINCTRL

Randy Dunlap rdunlap at infradead.org
Mon Nov 6 16:36:03 PST 2023


kconfig warns when PINCTRL_SINGLE is selected but PINCTRL is not
set, so also set PINCTRL for ARCH_DAVINCI. This prevents a
kconfig/build warning:

   WARNING: unmet direct dependencies detected for PINCTRL_SINGLE
     Depends on [n]: PINCTRL [=n] && OF [=y] && HAS_IOMEM [=y]
     Selected by [y]:
     - ARCH_DAVINCI [=y] && ARCH_MULTI_V5 [=y]

Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5")
Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Reported-by: kernel test robot <lkp at intel.com>
Closes: lore.kernel.org/r/202311070548.0f6XfBrh-lkp at intel.com
Cc: Bartosz Golaszewski <brgl at bgdev.pl>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: linux-arm-kernel at lists.infradead.org
Cc: patches at armlinux.org.uk
Cc: Russell King <linux at armlinux.org.uk>
---
KernelVersion: 6.6

 arch/arm/mach-davinci/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -- a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -10,6 +10,7 @@ menuconfig ARCH_DAVINCI
 	select PM_GENERIC_DOMAINS_OF if PM && OF
 	select REGMAP_MMIO
 	select RESET_CONTROLLER
+	select PINCTRL
 	select PINCTRL_SINGLE
 
 if ARCH_DAVINCI



More information about the linux-arm-kernel mailing list