mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Linus Walleij <linusw@kernel.org>,
	Conor Dooley <conor.dooley@microchip.com>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] pinctrl: polarfire: restore GENERIC_PINCONF dependency
Date: Mon, 2 Feb 2026 19:53:25 +0000	[thread overview]
Message-ID: <20260202-lushness-drier-ae0e40b56eee@spud> (raw)
In-Reply-To: <20260202095809.1318785-1-arnd@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 1930 bytes --]

On Mon, Feb 02, 2026 at 10:58:03AM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> Changing over to the new CONFIG_GENERIC_PINCTRL dropped the GENERIC_PINCONF
> option, causing a build failure:
> 
> WARNING: unmet direct dependencies detected for GENERIC_PINCTRL
>   Depends on [n]: PINCTRL [=y] && GENERIC_PINCONF [=y] && GENERIC_PINCTRL_GROUPS [=n] && GENERIC_PINMUX_FUNCTIONS [=n]
>   Selected by [y]:
>   - PINCTRL_POLARFIRE_SOC [=y] && PINCTRL [=y] && (ARCH_MICROCHIP [=y] || COMPILE_TEST [=y]) && OF [=y]
> drivers/pinctrl/microchip/pinctrl-mpfs-mssio.c:296:29: error: 'pinctrl_generic_get_group_count' undeclared here (not in a function)
>   296 |         .get_groups_count = pinctrl_generic_get_group_count,
>       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Select both GENERIC_PINCTRL and GENERIC_PINCONF to address this.
> 
> Fixes: 488d704ed7b7 ("pinctrl: add polarfire soc mssio pinctrl driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Does this show up with
https://lore.kernel.org/all/20260130-stoop-gleeful-29f2c525bd48@spud/
applied?
I considered what you have here, went with what I linked cos it matches
the other pinctrl core options.

> ---
>  drivers/pinctrl/microchip/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/pinctrl/microchip/Kconfig b/drivers/pinctrl/microchip/Kconfig
> index e8bc01946324..a4ae57725fdb 100644
> --- a/drivers/pinctrl/microchip/Kconfig
> +++ b/drivers/pinctrl/microchip/Kconfig
> @@ -12,6 +12,9 @@ config PINCTRL_POLARFIRE_SOC
>  	bool "Polarfire SoC pinctrl drivers"
>  	depends on ARCH_MICROCHIP || COMPILE_TEST
>  	depends on OF
> +	select GENERIC_PINCONF
>  	select GENERIC_PINCTRL
> +	select GENERIC_PINCTRL_GROUPS
> +	select GENERIC_PINMUX_FUNCTIONS
>  	help
>  	  This selects the pinctrl drivers for Microchip Polarfire SoC.
> -- 
> 2.39.5
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-02-02 19:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-02  9:58 Arnd Bergmann
2026-02-02 19:53 ` Conor Dooley [this message]
2026-02-02 19:56   ` Arnd Bergmann
2026-02-02 23:57   ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260202-lushness-drier-ae0e40b56eee@spud \
    --to=conor@kernel.org \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=conor.dooley@microchip.com \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®