mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Khristine Andreea Barbulescu <khristineandreea.barbulescu@oss.nxp.com>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Linus Walleij <linusw@kernel.org>,
	Bartosz Golaszewski <brgl@bgdev.pl>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Chester Lin <chester62515@gmail.com>,
	Matthias Brugger <mbrugger@suse.com>,
	Ghennadi Procopciuc <ghennadi.procopciuc@nxp.com>,
	Larisa Grigore <larisa.grigore@nxp.com>,
	Lee Jones <lee@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Dong Aisheng <aisheng.dong@nxp.com>, Jacky Bai <ping.bai@nxp.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Srinivas Kandagatla <srini@kernel.org>,
	Alberto Ruiz <aruizrui@redhat.com>,
	Christophe Lizzi <clizzi@redhat.com>,
	devicetree@vger.kernel.org, Enric Balletbo <eballetb@redhat.com>,
	Eric Chanudet <echanude@redhat.com>,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	NXP S32 Linux Team <s32@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Vincent Guittot <vincent.guittot@linaro.org>
Subject: Re: [PATCH] arm64: defconfig: Enable PINCTRL_S32G2
Date: Tue, 3 Nov 2026 10:31:14 +0200	[thread overview]
Message-ID: <c00bab0d-c62e-4b29-ae6d-ae5e851040f1@oss.nxp.com> (raw)
In-Reply-To: <e8add933-e918-40c9-afa7-d66fd589bb9d@kernel.org>

On 11/2/2026 4:55 PM, Krzysztof Kozlowski wrote:
> On 02/11/2026 15:49, Khristine Andreea Barbulescu wrote:
>> On 11/2/2026 4:24 PM, Greg Kroah-Hartman wrote:
>>> On Mon, Nov 02, 2026 at 03:16:35PM +0100, Khristine Andreea Barbulescu wrote:
>>>> Enable the NXP S32G2 pin controller driver in the arm64 defconfig so it
>>>> no longer requires a manual "make menuconfig" step. The symbol selects
>>>> PINCTRL_S32CC, pulling in the common S32 pin controller support used
>>>> across the S32G family.
> 
> Well, my standard request - why would we want it? You need to list the
> upstream board(s) needing it. We do not develop defconfig for downstream.
> 
> 

Hello Krzysztof,

The upstream boards needing it are the S32G2-based S32G274A-EVB and
S32G274A-RDB2 and the S32G3-based S32G399A-RDB3. All of them rely on
the SIUL2 pin controller, so a defconfig kernel needs it enabled to boot
to rootfs on these boards.

> Also, odd CC-list, really random.
> 
> Please use scripts/get_maintainers.pl to get a list of necessary people
> and lists to CC (and consider --no-git-fallback argument, so you will
> not CC people just because they made one commit years ago). It might
> happen, that command when run on an older kernel, gives you outdated
> entries. Therefore please be sure you base your patches on recent Linux
> kernel.
> 
> Tools like b4 or scripts/get_maintainer.pl provide you proper list of
> people, so fix your workflow. Tools might also fail if you work on some
> ancient tree (don't, instead use mainline) or work on fork of kernel
> (don't, instead use mainline). Just use b4 and everything should be
> fine, although remember about `b4 prep --auto-to-cc` if you added new
> patches to the patchset.
> 

You're right, generated the list on an outdated tree. Thank you for
the explanations. I'll use latest b4 / get_maintainer.pl for the next
version.

>>>>
>>>> Signed-off-by: Khristine Andreea Barbulescu <khristineandreea.barbulescu@oss.nxp.com>
>>>> ---
>>>>  arch/arm64/configs/defconfig | 1 +
>>>>  1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
>>>> index 7b4985b29b21..545a2b7db8a5 100644
>>>> --- a/arch/arm64/configs/defconfig
>>>> +++ b/arch/arm64/configs/defconfig
>>>> @@ -704,6 +704,7 @@ CONFIG_PINCTRL_BCM2712=y
>>>>  CONFIG_PINCTRL_SKY1=y
>>>>  CONFIG_PINCTRL_IMX_SCMI=y
>>>>  CONFIG_PINCTRL_IMX91=y
>>>> +CONFIG_PINCTRL_S32G2=y
>>>
>>> Why?  Shouldn't the normal platform-specific defconfig work for this
>>> instead?  what defines the arm64 defconfig to require this now for all
>>> arm74 platforms?
>>>
>>> thanks,
>>>
>>> greg k-h
>>
>> Hello Greg,
>>
>> ARCH_S32 is already enabled in the arm64 defconfig, but the supported
>> S32G boards also depend on this pin controller for their pin muxing.
>> Without it, some peripherals never finish probing, so a defconfig kernel
>> cannot boot to rootfs on these boards.
> 
> Greg has valid point, you did not really address it. Explain why it
> should be user-selectable choice in the first place.
> 
> 
> Best regards,
> Krzysztof

Agree, since the driver is required by all S32G boards, it shouldn't need
to be selected manually. In v2 I'll make PINCTRL_S32G2 default to ARCH_S32
in Kconfig, instead of adding it to the defconfig, and also list the upstream
boards needing it in the commit message.

Best regards,
Khristine


      reply	other threads:[~2026-11-03  8:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 14:16 Khristine Andreea Barbulescu
2026-11-02 14:24 ` Greg Kroah-Hartman
2026-11-02 14:49   ` Khristine Andreea Barbulescu
2026-11-02 14:55     ` Krzysztof Kozlowski
2026-11-03  8:31       ` Khristine Andreea Barbulescu [this message]

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=c00bab0d-c62e-4b29-ae6d-ae5e851040f1@oss.nxp.com \
    --to=khristineandreea.barbulescu@oss.nxp.com \
    --cc=aisheng.dong@nxp.com \
    --cc=aruizrui@redhat.com \
    --cc=brgl@bgdev.pl \
    --cc=chester62515@gmail.com \
    --cc=clizzi@redhat.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eballetb@redhat.com \
    --cc=echanude@redhat.com \
    --cc=festevam@gmail.com \
    --cc=ghennadi.procopciuc@nxp.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=larisa.grigore@nxp.com \
    --cc=lee@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbrugger@suse.com \
    --cc=ping.bai@nxp.com \
    --cc=rafael@kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=s32@nxp.com \
    --cc=shawnguo@kernel.org \
    --cc=srini@kernel.org \
    --cc=vincent.guittot@linaro.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®