[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMZO5DW3t-sof_uaFa_qJPE3WFq_155mFTxGMWh0m++csgopg@mail.gmail.com>
Date: Tue, 26 Nov 2024 21:12:58 -0300
From: Fabio Estevam <festevam@...il.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Linus Walleij <linus.walleij@...aro.org>, Esben Haabendal <esben@...nix.com>,
Russell King <linux@...linux.org.uk>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>, Pengutronix Kernel Team <kernel@...gutronix.de>,
Dong Aisheng <aisheng.dong@....com>, Jacky Bai <ping.bai@....com>, Arnd Bergmann <arnd@...db.de>,
Rasmus Villemoes <rasmus.villemoes@...vas.dk>, linux-arm-kernel@...ts.infradead.org,
imx@...ts.linux.dev, linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
Fabio Estevam <festevam@...x.de>
Subject: Re: [PATCH v2 1/3] ARM: imx: Allow user to disable pinctrl
On Tue, Nov 26, 2024 at 8:53 PM Guenter Roeck <linux@...ck-us.net> wrote:
> My understanding (which may be wrong) is that being able to disable
> PINCTRL was the whole point of the patch.
Exactly.
Adding back the "select PINCTRL" line defeats the purpose of the patch
in Subject.
> Fabio submitted a patch enabling PINCTRL for imx_v4_v5_defconfig and
> imx_v6_v7_defconfig explicitly [1]. I don't know if that fixes the
> problem for good - I see CONFIG_ARCH_MXC in other configurations as
> well.
Good point. I can send a v2 adding CONFIG_PINCTRL=y to the other defconfigs.
However, after thinking more about it, I wonder if the patch in
Subject is worth it.
It can help reduce the kernel size for LS1021A that does not need
pinctrl, but on the other
hand, it will cause pain to lots of people who have i.MX products
running custom defconfigs.
When they update their kernel to 6.13-rc1 their i.MX will not boot and
that will be a very unpleasant experience.
What do you think?
Should we go with the approach of selecting CONFIG_PINCTRL=y or
should we revert this patch?
IMHO, the benefit of this patch does not justify the bad impact on users.
Powered by blists - more mailing lists