diff mbox series

ARM: davinci: also select PINCTRL

Message ID 20231107003603.20973-1-rdunlap@infradead.org (mailing list archive)
State New, archived
Headers show
Series ARM: davinci: also select PINCTRL | expand

Commit Message

Randy Dunlap Nov. 7, 2023, 12:36 a.m. UTC
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@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202311070548.0f6XfBrh-lkp@intel.com
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: patches@armlinux.org.uk
Cc: Russell King <linux@armlinux.org.uk>
---
KernelVersion: 6.6

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

Comments

Bartosz Golaszewski Nov. 7, 2023, 9:10 a.m. UTC | #1
On Tue, Nov 7, 2023 at 1:36 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> 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@infradead.org>
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: lore.kernel.org/r/202311070548.0f6XfBrh-lkp@intel.com
> Cc: Bartosz Golaszewski <brgl@bgdev.pl>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: patches@armlinux.org.uk
> Cc: Russell King <linux@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

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
diff mbox series

Patch

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