On Tue, Jan 6, 2015 at 10:37 AM, Ludovic Desroches <ludovic.desroches@xxxxxxxxx> wrote: > Usage of of_gpiochip_add() only solves my issue about gpio but not about > pinctrl stuff, I still need a patch to manage the case when we have a gap if > a gpio controller is not enabled to not break the pin naming, etc. This has been the topic of many threads today. I assume you are talking about keeping GPIO numbers consistent. - My suggestion is to add alias handling of the GPIO chips to the core so they can be probed in the right order. - For consistency in sysfs use the "names" array in struct gpio_chip so you can search for a symbolic name in sysfs and don't have to rely on fragile stuff like GPIO numbers. - Partake in the development of a new GPIO ABI that does not use the global GPIO numberspace. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html