From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCHv3 3/3] fb: backlight: HX8357: Add HX8369 support
Date: Thu, 01 Aug 2013 12:39:27 +0000 [thread overview]
Message-ID: <51FA56FF.8090308@ti.com> (raw)
In-Reply-To: <1375346437-18991-4-git-send-email-maxime.ripard@free-electrons.com>
[-- Attachment #1: Type: text/plain, Size: 1563 bytes --]
Hi,
On 01/08/13 11:40, Maxime Ripard wrote:
> From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>
> Add support for the Himax HX8369 controller as it is quite similar to the
> hx8357.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> Acked-by: Jingoo Han <jg1.han@samsung.com>
> ---
> drivers/video/backlight/hx8357.c | 219 ++++++++++++++++++++++++++++++++++++---
> 1 file changed, 204 insertions(+), 15 deletions(-)
I don't have comments about this patch as such, but hx8357.c in general:
- The commands used look like MIPI DCS commands. We have defined those
in include/video/mipi_display.h.
- The command arrays could be const
- I don't like command arrays. Rather than having array for
"HX8357_SET_COLUMN_ADDRESS, 0x00, 0x00, 0x01, 0x3f,", I'd much more like
a function hx8357_set_column_address(int x1, int x2) or such.
- Looking at the driver makes me think it resembles very much the panel
driver(s) we have for OMAP. If only CDF was ready... ;)
Those said, I don't see a problem with applying this. We could clean up
later those things mentioned above, but maybe it's better to do that
when moving to CDF.
For this and the two other patches:
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
I can apply these to my 3.12-fbdev branch some day soon, if
Jean-Christophe hasn't come back yet (I'd normally rather deal only with
trivial patches, and leave the rest to Jean-Christophe).
Tomi
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]
next prev parent reply other threads:[~2013-08-01 12:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 8:40 [PATCHv3 0/3] Few ignored framebuffer fixes/additions Maxime Ripard
2013-08-01 8:40 ` [PATCHv3 1/3] video: mxsfb: fix color settings for 18bit data bus and 32bpp Maxime Ripard
2013-08-02 8:35 ` Tomi Valkeinen
2013-08-02 9:19 ` Maxime Ripard
2013-08-01 8:40 ` [PATCHv3 2/3] video: hx8357: Make IM pins optional Maxime Ripard
2013-08-01 8:40 ` [PATCHv3 3/3] fb: backlight: HX8357: Add HX8369 support Maxime Ripard
2013-08-01 12:39 ` Tomi Valkeinen [this message]
2013-08-02 8:28 ` Maxime Ripard
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=51FA56FF.8090308@ti.com \
--to=tomi.valkeinen@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).