Re: [PATCH] gpio: 74x164: add lines-initial-states property
From: David Bauer
Date: Sun Aug 19 2018 - 19:55:12 EST
Hi Linus,
On 8/16/18 10:11 AM, Linus Walleij wrote:
> This sounds like something that should be generic, and not use
> a bitmask, but offsets. It should work even if the number of
> GPIOs from the chip is > 32.
>
> Is the usecase different from hogs?
> See Documentation/devicetree/bindings/gpio.txt
Thanks for pointing that out. Indeed for my use-case (Asserting single
output to be high on driver probe) hogs are are sufficient solution.
Best wishes
David