[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260204-crawlers-nacho-d7c9021cdb6f@spud>
Date: Wed, 4 Feb 2026 14:15:10 +0000
From: Conor Dooley <conor@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...el.com>
Cc: Linus Walleij <linusw@...nel.org>,
Conor Dooley <conor.dooley@...rochip.com>,
Xianwei Zhao <xianwei.zhao@...ogic.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
linux-amlogic@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC] pinctrl: pinconf-generic: move ..dt_node_to_map_pinmux()
to amlogic-am4 driver
On Wed, Feb 04, 2026 at 09:05:34AM +0100, Andy Shevchenko wrote:
> On Wed, Feb 04, 2026 at 12:34:36AM +0100, Linus Walleij wrote:
> > On Tue, Feb 3, 2026 at 5:17 PM Conor Dooley <conor@...nel.org> wrote:
>
> > > pinconf_generic_dt_node_to_map_pinmux() is not actually a generic
> > > function, and really belongs in the amlogic-am4 driver. There are three
> > > reasons why.
> > (...)
> > > The other dt_node_to_map implementations accept a being called for
> > > either a node containing pin configuration properties or a node
> > > containing child nodes that each contain the configuration properties.
> > > IOW, they support the following two devicetree configurations:
> > >
> > > | cfg {
> > > | label: group {
> > > | pinmux = <asjhdasjhlajskd>;
> > > | config-item1;
> > > | };
> > > | };
> > >
> > > | label: cfg {
> > > | group1 {
> > > | pinmux = <dsjhlfka>;
> > > | config-item2;
> > > | };
> > > | group2 {
> > > | pinmux = <lsdjhaf>;
> > > | config-item1;
> > > | };
> > > | };
> > >
> > > pinconf_generic_dt_node_to_map_pinmux() only supports the latter.
> >
> > This alone is a good reason to apply the patch.
> >
> > I have a strong urge to apply this already for v7.0 despite its RFC state.
> >
> > Anyone against?
I forgot to say that I had made it rfc cos of where in the cycle we are
and the fact that I didn't test it. I've got no objection though if
that's what you want to do.
> Quite the opposite! I fully support unloading pin control core from OF-centric
> code.
> Note, please, remove extra '.' (dot) in the Subject.o
fwiw, the .. was intentional cos I was truncating the pinconf_generic
from the function since the subject was really long, not referring to
a member of an ops struct.
> Acked-by: Andy Shevchenko <andriy.shevchenko@...el.com>
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists