From: Lee Jones <lee@kernel.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>,
Bartosz Golaszewski <brgl@kernel.org>,
mfd@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] mfd: ucb1x00: Register software node for GPIO controller
Date: Thu, 16 Jul 2026 16:49:00 +0100 [thread overview]
Message-ID: <20260716154900.GC1424265@google.com> (raw)
In-Reply-To: <aljyxLKBI94TpleQ@google.com>
On Thu, 16 Jul 2026, Dmitry Torokhov wrote:
> On Thu, Jul 16, 2026 at 03:00:27PM +0100, Lee Jones wrote:
> > On Thu, 16 Jul 2026, Arnd Bergmann wrote:
> >
> > > On Thu, Jul 16, 2026, at 14:40, Lee Jones wrote:
> > > > On Tue, 07 Jul 2026, Arnd Bergmann wrote:
> > > >
> > > >> On Tue, Jul 7, 2026, at 07:01, Dmitry Torokhov wrote:
> > > >> > Define a static software node for the UCB1x00 GPIO controller and attach
> > > >> > it to the core MFD device in ucb1x00_probe(). This node will also be
> > > >> > used by the created GPIO chip.
> > > >> >
> > > >> > This allows machine subdrivers (such as Assabet evaluation board
> > > >> > support) to reference the UCB1x00 GPIO controller in property entries
> > > >> > when converting legacy platform data to software nodes, resolving pin
> > > >> > bindings directly via the attached firmware node without relying on
> > > >> > name matching.
> > > >> >
> > > >> > Assisted-by: Antigravity:gemini-3.5-flash
> > > >> > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> > > >>
> > > >> Acked-by: Arnd Bergmann <arnd@arndb.de>
> > > >>
> > > >> Assabet should be going away soon, so it really doesn't
> > > >> matter much.
> > >
> > > >> > +EXPORT_SYMBOL_GPL(ucb1x00_gpiochip_node);
> > > >>
> > > >> It does feel a bit counterproductive if you have to add more
> > > >> exported symbols.
>
> Just FTR: I completely agree. However Bartosz is dead set on not
> supporting weaker references based on name matching and wants only
> identity matching. So we export bunch of stuff and pay for this with
> tighter coupling and potential changes in load order.
>
> > >
> > > >> No need for the seperate declaration of the struct tag,
> > > >> you only need this if the first user is in the argument
> > > >> list of a function, but not for a global variable.
> > > >
> > > > Are you planning on fixing these review comments, Dmitry?
> > >
> > > Just to clarify, I was not asking for anything to be changed
> > > in this patch, just observing. I'm fine with this version
> > > getting applied as-is. As I said, the file is probably
> > > going away soon, so let's just make sure it's not getting
> > > in the way until then.
> >
> > The 2 comments above sure look like review comments.
> >
>
> Well, if this all truly goes away in 7.4 there is no much point in
> polishing this.
You can have the creds anyway!
--
Lee Jones
next prev parent reply other threads:[~2026-07-16 15:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 5:01 [PATCH v2 0/2] mfd: ucb1x00: Convert Assabet gpio-keys to software nodes Dmitry Torokhov
2026-07-07 5:01 ` [PATCH v2 1/2] mfd: ucb1x00: Register software node for GPIO controller Dmitry Torokhov
2026-07-07 13:46 ` Arnd Bergmann
2026-07-16 12:40 ` Lee Jones
2026-07-16 13:05 ` Arnd Bergmann
2026-07-16 14:00 ` Lee Jones
2026-07-16 15:06 ` Dmitry Torokhov
2026-07-16 15:49 ` Lee Jones [this message]
2026-07-07 5:01 ` [PATCH v2 2/2] mfd: ucb1x00: Convert Assabet gpio-keys to use software nodes Dmitry Torokhov
2026-07-16 13:06 ` Lee Jones
2026-07-16 15:15 ` Dmitry Torokhov
2026-07-16 15:48 ` Lee Jones
2026-07-07 8:07 ` [PATCH v2 0/2] mfd: ucb1x00: Convert Assabet gpio-keys to " Bartosz Golaszewski
2026-07-16 15:49 ` Lee Jones
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=20260716154900.GC1424265@google.com \
--to=lee@kernel.org \
--cc=arnd@arndb.de \
--cc=brgl@kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mfd@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.