OSDN Git Service

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)
commit1f8e44b622dc9d47af1815ac59169b1adaa1195d
treef529418d99f4503dbe14c6bb4d909fcd7b38bbd3
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
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