Re: [PATCH v2 5/5] gpiolib: Reuse device's fwnode to create IRQ domain

2021-03-08 Thread Andy Shevchenko
On Mon, Mar 08, 2021 at 07:32:47PM +0100, Rafael J. Wysocki wrote: > On Thu, Mar 4, 2021 at 4:02 PM Andy Shevchenko > wrote: > > > > When IRQ domain is created for an ACPI case, the name of it becomes > > unknown-%d > > since for now it utilizes of_node member only and doesn't consider fwnode >

Re: [PATCH v2 5/5] gpiolib: Reuse device's fwnode to create IRQ domain

2021-03-08 Thread Rafael J. Wysocki
On Thu, Mar 4, 2021 at 4:02 PM Andy Shevchenko wrote: > > When IRQ domain is created for an ACPI case, the name of it becomes unknown-%d > since for now it utilizes of_node member only and doesn't consider fwnode > case. > Convert IRQ domain creation code to utilize fwnode instead. > > Before/Aft

[PATCH v2 5/5] gpiolib: Reuse device's fwnode to create IRQ domain

2021-03-04 Thread Andy Shevchenko
When IRQ domain is created for an ACPI case, the name of it becomes unknown-%d since for now it utilizes of_node member only and doesn't consider fwnode case. Convert IRQ domain creation code to utilize fwnode instead. Before/After the change on Intel Galileo Gen 2 with two GPIO (IRQ) controllers: