[PATCH] backlight: corgi: Convert to use GPIO descriptors
Lee Jones
lee.jones at linaro.org
Mon Dec 16 16:27:29 UTC 2019
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.adami at gmail.com>
> Cc: Robert Jarzmik <robert.jarzmik at free.fr>
> Signed-off-by: Linus Walleij <linus.walleij at 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
More information about the dri-devel
mailing list