Re: [PATCH v2 2/7] gpio: regmap: Add configurable dir/value order

From: Andrew Lunn
Date: Mon May 17 2021 - 21:40:52 EST


On Mon, May 17, 2021 at 09:28:04PM +0200, Sander Vanheule wrote:
> GPIO chips may not support setting the output value when a pin is
> configured as an input

Could you describe what happens with the hardware you are playing
with. Not being able to do this means you will get glitches when
enabling the output so you should not use these GPIOs with bit banging
busses like i2c.

Andrew