Re: [PATCH v1 3/4] mfd: intel_quark_i2c_gpio: Convert GPIO to use software nodes
From: Andy Shevchenko <hidden>
Date: 2021-08-11 10:56:33
Also in:
lkml
From: Andy Shevchenko <hidden>
Date: 2021-08-11 10:56:33
Also in:
lkml
On Wed, Aug 11, 2021 at 11:38 AM Linus Walleij [off-list ref] wrote:
On Mon, Jul 26, 2021 at 2:54 PM Andy Shevchenko [off-list ref] wrote:quoted
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@linux.intel.com>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 <redacted>
Thanks! -- With Best Regards, Andy Shevchenko