]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: davinci: Use GPIO lookup table for DA850 LEDs
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 31 May 2019 22:43:33 +0000 (00:43 +0200)
committerSekhar Nori <nsekhar@ti.com>
Thu, 20 Jun 2019 09:06:15 +0000 (14:36 +0530)
commit9e9b05cff6867141c005b88bf950ee9f805fc02b
treef529418d99f4503dbe14c6bb4d909fcd7b38bbd3
parent49250288820449e26abffc1305ba221bd05ce90d
ARM: davinci: Use GPIO lookup table for DA850 LEDs

This switches the DA850 board to use a GPIO lookup table to
look up the GPIO LEDs. Thanks to the offset handling when
we define GPIOs as an offset into the chip, we can drop
some complex code.

Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-da850-evm.c