Re: [PATCH v1 3/4] mfd: intel_quark_i2c_gpio: Convert GPIO to use software nodes

From: Andy Shevchenko
Date: Wed Aug 11 2021 - 06:56:33 EST


On Wed, Aug 11, 2021 at 11:38 AM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Mon, Jul 26, 2021 at 2:54 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> > The driver can provide a software node group instead of
> > passing legacy platform data. This will allow to drop
> > the legacy platform data structures along with unifying
> > a child device driver to use same interface for all
> > property providers, i.e. Device Tree, ACPI, and board files.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> This is really nice, I wish I knew better how to use this mechanism
> myself, so I need to practice.

This driver is actually a complex enough example covering 90%+ cases
of software nodes in the board files.

> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks!


--
With Best Regards,
Andy Shevchenko