[PATCH 2/4] gpiolib: Add code to support "active low" GPIOs

Andrey Smirnov andrew.smirnov at gmail.com
Thu May 25 10:10:28 PDT 2017

On Wed, May 24, 2017 at 11:36 PM, Nikita Yushchenko
<nikita.yoush at cogentembedded.com> wrote:
>> IMHO, whether any of likes it or not, OF_GPIO_ACTIVE_LOW is an
>> existing feature and the only technical question is if it should be
>> supported by Barebox on per-driver basis or if there should be a
>> central API for it.
>> Sascha, are you still OK with me proceeding with making and using an
>> API, or should I just scrap that and handle this as a part of my
>> "usb-no-xcev"?
> Is support for case when this usb-no-xcev's gpio is active high needed?
> If yes, then your questions above are valid.
> If no, then there is third option, completely ignore this aspect of
> device tree and just assume that gpio is active low.

That is a trivial/easily testable feature to implement, and I am not
interested in pursuing "third option" you propose.

Andrey Smirnov

More information about the barebox mailing list