On Fri, Jan 8, 2021 at 4:39 PM Flavio Suligoi <f.suligoi@xxxxxxx> wrote: ... > > > For example, something like the following: > > > > > > # gpiofind button_1 > > > gpiochip0 20 > > > gpiochip0 22 (duplicate) > > > > This cannot happen, as the duplicate is on the same gpiochip. > > Just a question: I think that a duplicate name can be present > both in the same gpiochip No. This is against common sense. Can you have the same pin numbers on one chip? > and also in different gpiochips. Yes and it's fine. > The same gpio line name can be wrongly present on different gpiochips, > for example caused by a mistake writing an ACPI table. -- With Best Regards, Andy Shevchenko