Re: [PATCH 2/5 v7] regulator: fixed/gpio: Pull inversion/OD into gpiolib

From: Janusz Krzysztofik
Date: Thu Nov 29 2018 - 20:26:39 EST


Hi Linus,

On Monday, November 19, 2018 8:11:23 AM CET Linus Walleij wrote:
> This pushes the handling of inversion semantics and open drain
> settings to the GPIO descriptor and gpiolib. All affected board
> files are also augmented.
>
> This is especially nice since we don't have to have any
> confusing flags passed around to the left and right littering
> the fixed and GPIO regulator drivers and the regulator core.
> It is all just very straight-forward: the core asks the GPIO
> line to be asserted or deasserted and gpiolib deals with the
> rest depending on how the platform is configured: if the line
> is active low, it deals with that, if the line is open drain,
> it deals with that too.
>
> Cc: Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> # OMAP1

Tested-by: Janusz Krzysztofik <jmkrzyszt@xxxxxxxxx> #OMAP1 Amstrad Delta

Thanks,
Janusz