Re: [PATCH v2 0/2] driver core: provide and use device_match_fwnode_ext()
From: Rafael J. Wysocki
Date: Mon Feb 23 2026 - 11:08:00 EST
On Mon, Feb 23, 2026 at 4:46 PM Bartosz Golaszewski <brgl@xxxxxxxxxx> wrote:
>
> On Mon, Feb 23, 2026 at 4:41 PM Bartosz Golaszewski
> <bartosz.golaszewski@xxxxxxxxxxxxxxxx> wrote:
> >
> > In GPIOLIB, during fwnode lookup, after having resolved the consumer's
> > reference to a specific fwnode, we only match it against the primary
> > node of the controllers. Let's extend that to also the secondary node by
> > exposing fwnode_is_primary() to drivers and reworking
> > gpio_chip_match_by_fwnode().
> >
> > Link: https://lore.kernel.org/all/aZUIFiOYt6GOlDQx@xxxxxxxxxx/
> > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
> > ---
>
> Forgot to pick up Linus' R-b:
>
> Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
>
> Rafael: is it fine if I take it through the GPIO tree?
Sure, no problem.