On Tue, 03 Dec 2019, Linus Walleij wrote: > The code in the Corgi backlight driver can be considerably > simplified by moving to GPIO descriptors and lookup tables > from the board files instead of passing GPIO numbers using > the old API. > > Make sure to encode inversion semantics for the Akita and > Spitz platforms inside the GPIO lookup table and drop the > custom inversion semantics from the driver. > > All in-tree users are converted in this patch. > > Cc: Andrea Adami <andrea.ad...@gmail.com> > Cc: Robert Jarzmik <robert.jarz...@free.fr> > Signed-off-by: Linus Walleij <linus.wall...@linaro.org> > --- > arch/arm/mach-pxa/corgi.c | 12 ++++- > arch/arm/mach-pxa/spitz.c | 34 +++++++++++----
Does this have an Arm Ack yet? > drivers/video/backlight/corgi_lcd.c | 68 ++++++++--------------------- > include/linux/spi/corgi_lcd.h | 3 -- What about SPI? > 4 files changed, 54 insertions(+), 63 deletions(-) -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel