Re: [PATCH v5 4/8] gpio: swnode: allow referencing GPIO chips by firmware nodes

From: Andy Shevchenko

Date: Wed Nov 05 2025 - 08:58:11 EST


On Wed, Nov 05, 2025 at 09:47:35AM +0100, Bartosz Golaszewski wrote:
>
> When doing a software node lookup, we require both the fwnode that
> references a GPIO chip as well as the node associated with that chip to
> be software nodes. However, we now allow referencing generic firmware
> nodes from software nodes in driver core so we should allow the same in
> GPIO core. Make the software node name check optional and dependent on
> whether the referenced firmware node is a software node. If it's not,
> just continue with the lookup.

Makes sense,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko