[U-Boot] [PATCH 3/3] gpio_led: add support for inverted polarity

Otavio Salvador otavio at ossystems.com.br
Mon Nov 11 02:19:44 CET 2013


On Thu, Nov 7, 2013 at 9:03 PM, Igor Grinberg <grinberg at compulab.co.il> wrote:
> Some GPIO connected LEDs have inverted polarity.
> Introduce new config option: CONFIG_GPIO_LED_INVERTED_TABLE for the
> specifying the inverted GPIO LEDs list and add support for this in the
> gpio_led driver.
>
> Signed-off-by: Igor Grinberg <grinberg at compulab.co.il>

Neat; I will test this in the board I have same situation and see if
it works for my case fully but this seems to be a lean and simply
solution for the issue.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list