]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3e966e593552b21e18faadd884c2e08f52bdc6b
treecb5751a07c22aa9f15626a92d2d17820feef3772
parent2764bfc321995b7f07c4c517314e8af8894fedd0
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