Re: [PATCH v4 02/15] gpio: regmap: set gpio_chip of_node

From: Andy Shevchenko
Date: Thu Mar 04 2021 - 05:37:44 EST


On Thu, Mar 4, 2021 at 10:57 AM Álvaro Fernández Rojas
<noltari@xxxxxxxxx> wrote:
>
> This is needed for properly registering gpio regmap as a child of a regmap

gpio -> GPIO

> pin controller.

...

> + * @of_node: (Optional) The device node

> + struct device_node *of_node;

Can we use fwnode from day 1, please?

--
With Best Regards,
Andy Shevchenko