On Sat, Jun 15, 2019 at 11:11 AM Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> wrote: > I think I finally understand why you want to switch everything over to > GPIO descriptors A bit after-the-fact reasoning, but after I was made aware of an interesting lecture by John Ousterhout I feel the best description of the descriptor refactoring is the idea to make the GPIO API narrow and deep, make it simple for consumers (hence <linux/gpio/consumer.h>) and handle as much special cases (polarity inversion, open drain...) as possible behind the scenes. Yours, Linus Walleij