On Thu, Mar 31, 2016 at 3:36 PM, Rob Herring <robh@xxxxxxxxxx> wrote: > Looking at one example, it appears to be redundant already. > nomadik-gpio-chips property already gives you the index. The index of > the phandles is the bank numbering. PIC32 could do the same. nomadik-gpio-chips is a property on the pin controller, so it goes the wrong direction I think, the pin controller knows these indexes but the GPIO chip does not know what index it has. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html