On Wed, Sep 14, 2022 at 5:11 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > This adds a new TODO item for gpiolib and can also be used to start > a discussion about the need for it and implementation details. > > Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Several approaches have been tried in the past. Consider adding these lore links: "[PATCH 3/4] gpio: dt-bindings: Declare gpio-hog optional for GPIO subnodes" (2016) https://lore.kernel.org/linux-devicetree/1456214089-13954-3-git-send-email-mpa@xxxxxxxxxxxxxx/ "[PATCH] gpio: 74x164: add lines-initial-states property" (2018) https://lore.kernel.org/lkml/20180815201855.29738-1-mail@xxxxxxxxxxxxxxx/" "[RFC] Initial state for GPIOs" (2019) https://lore.kernel.org/linux-gpio/bee53b48c96603ae8970d42bc4bff386b876bc51.camel@xxxxxxxxxxxxx/ Just so we don't have to constantly look them up for referral. Yours, Linus Walleij