Re: [PATCH v12 3/7] gpiolib: of: make fwnode take precedence in struct gpio_chip
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-12-06 14:14:03
Also in:
linux-kselftest, lkml
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-12-06 14:14:03
Also in:
linux-kselftest, lkml
On Mon, Dec 06, 2021 at 03:54:09PM +0200, Andy Shevchenko wrote:
On Fri, Dec 03, 2021 at 02:29:59PM +0100, Bartosz Golaszewski wrote:quoted
If the driver sets the fwnode in struct gpio_chip, let it take precedence over the of_node.By the way, have you tried this on pure DT-less/ACPI-less platform (CONFIG_OF=n, CONFIG_ACPI=n)? I believe gpio-sim in that case won't work, because this doesn't affect swnode case, right?
Okay, swnode will work (*) due to previous patch. -- With Best Regards, Andy Shevchenko