[PATCHv3 3/3] fb: backlight: HX8357: Add HX8369 support
tomi.valkeinen at ti.com
Thu Aug 1 08:39:27 EDT 2013
On 01/08/13 11:40, Maxime Ripard wrote:
> From: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> Add support for the Himax HX8369 controller as it is quite similar to the
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Acked-by: Jingoo Han <jg1.han at 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
- 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 at 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).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 901 bytes
Desc: OpenPGP digital signature
More information about the linux-arm-kernel