[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E174F742-BBBC-4B86-831F-96C520931A69@gmail.com>
Date: Thu, 4 Mar 2021 16:26:22 +0100
From: Álvaro Fernández Rojas <noltari@...il.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Michael Walle <michael@...le.cc>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] gpio: regmap: set gpio_chip of_node
Hi Andy,
> El 4 mar 2021, a las 16:22, Andy Shevchenko <andy.shevchenko@...il.com> escribió:
>
> On Thu, Mar 4, 2021 at 5:18 PM Álvaro Fernández Rojas <noltari@...il.com> wrote:
>>
>> This is needed for properly registering gpio regmap as a child of a regmap
>> pin controller.
>
>> + chip->of_node = config->of_node ?: dev_of_node(config->parent);
>
> After a closer look I have no clue why you need this patch at all.
> The second part, i.e. assigning parent's fwnode, is done already in
> the GPIO library core.
> The first part, keeping fwnode in the regmap configuration puzzles me. Why?
I’ve flagged this as superseded since Linus asked me to send it with bcm63xx patches and I’ve already answered this same question there.
>
> --
> With Best Regards,
> Andy Shevchenko
Best regards,
Álvaro.
Powered by blists - more mailing lists