From: Lee Jones <lee.jones@linaro.org>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Jingoo Han <jingoohan1@gmail.com>,
Daniel Thompson <daniel.thompson@linaro.org>,
Andrea Adami <andrea.adami@gmail.com>,
dri-devel@lists.freedesktop.org,
Robert Jarzmik <robert.jarzmik@free.fr>
Subject: Re: [PATCH v3] backlight: corgi: Convert to use GPIO descriptors
Date: Wed, 26 Feb 2020 11:39:40 +0000 [thread overview]
Message-ID: <20200226113940.GN3494@dell> (raw)
In-Reply-To: <20200220090032.6635-1-linus.walleij@linaro.org>
On Thu, 20 Feb 2020, 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@gmail.com>
> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ChangeLog v2->v3:
> - Switch the SPI bus name to "spi1.1" rather than "spi0.1" for
> Corgi and "spi2.1" rather than "spi0.1" for Spitz, as
> pxa2xx_set_spi_info() sets the bus number to 1 and 2
> respectively.
> ChangeLog v1->v2:
> - Collect Robert's ACK.
> ---
> arch/arm/mach-pxa/corgi.c | 12 ++++-
> arch/arm/mach-pxa/spitz.c | 34 +++++++++++----
> drivers/video/backlight/corgi_lcd.c | 68 ++++++++---------------------
> include/linux/spi/corgi_lcd.h | 3 --
> 4 files changed, 54 insertions(+), 63 deletions(-)
Applied, thanks.
--
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
prev parent reply other threads:[~2020-02-26 11:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-20 9:00 [PATCH v3] backlight: corgi: Convert to use GPIO descriptors Linus Walleij
2020-02-20 10:26 ` Daniel Thompson
2020-02-26 11:39 ` Lee Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200226113940.GN3494@dell \
--to=lee.jones@linaro.org \
--cc=andrea.adami@gmail.com \
--cc=daniel.thompson@linaro.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jingoohan1@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=robert.jarzmik@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.