video: backlight: tosa: Use GPIO lookup table
authorArnd Bergmann <arnd@arndb.de>
Fri, 18 Oct 2019 15:41:53 +0000 (17:41 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 09:29:56 +0000 (09:29 +0000)
commit0b0cb52bd80eda76c4b9921f5cf9c1b709d44e83
treecb5751a07c22aa9f15626a92d2d17820feef3772
parent8663c188beeacf35d4865185a6713d6e8ded4fea
video: backlight: tosa: Use GPIO lookup table

The driver should not require a machine specific header. Change
it to pass the GPIO line through a lookup table, and move the
timing generator definitions into the drivers itself.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-pxa/include/mach/tosa.h
arch/arm/mach-pxa/tosa.c
drivers/video/backlight/tosa_bl.c
drivers/video/backlight/tosa_bl.h [new file with mode: 0644]
drivers/video/backlight/tosa_lcd.c