All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Ben Dooks <ben.dooks@codethink.co.uk>,
	Stefano Babic <sbabic@denx.de>,
	David Lechner <david@lechnology.com>,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/3] drm/panel: Add Ilitek ILI9322 driver
Date: Thu, 21 Dec 2017 17:15:52 +0100	[thread overview]
Message-ID: <20171221161552.GA17476@ulmo> (raw)
In-Reply-To: <20171221141556.GB18544@ulmo>


[-- Attachment #1.1: Type: text/plain, Size: 2988 bytes --]

On Thu, Dec 21, 2017 at 03:15:56PM +0100, Thierry Reding wrote:
> On Fri, Dec 01, 2017 at 05:16:58PM +0100, Linus Walleij wrote:
> > This adds support for the Ilitek ILI9322 QVGA (320x240)
> > TFT panel driver.
> > 
> > This panel driver supports serial or parallel RGB or
> > YUV input and also ITU-T BT.656 input streams.
> > 
> > The controller is combined with a physical panel and
> > configured through the device tree.
> > 
> > Cc: David Lechner <david@lechnology.com>
> > Cc: Stefano Babic <sbabic@denx.de>
> > Cc: Ben Dooks <ben.dooks@codethink.co.uk>
> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> > ---
> > ChangeLog v1->v2:
> > - Dropped all DT parsing code in favor of open-coding the
> >   display config on a per-system basis based on system-specific
> >   compatible strings, after feedback from the DT maintainers.
> > - Define a set of configs for the D-Link DIR-685 router.
> > - Tested on the D-Link DIR-685.
> > ---
> >  drivers/gpu/drm/panel/Kconfig                |   8 +
> >  drivers/gpu/drm/panel/Makefile               |   1 +
> >  drivers/gpu/drm/panel/panel-ilitek-ili9322.c | 962 +++++++++++++++++++++++++++
> >  3 files changed, 971 insertions(+)
> >  create mode 100644 drivers/gpu/drm/panel/panel-ilitek-ili9322.c
> 
> checkpatch.pl gives me these:
> 
> 	-:30: WARNING: please write a paragraph that describes the config symbol fully
> 	#30: FILE: drivers/gpu/drm/panel/Kconfig:31:
> 	+config DRM_PANEL_ILITEK_IL9322
> 
> 	-:54: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
> 	#54:
> 	new file mode 100644
> 
> 	-:130: CHECK: Prefer using the BIT macro
> 	#130: FILE: drivers/gpu/drm/panel/panel-ilitek-ili9322.c:72:
> 	+#define ILI9322_ENTRY_PAL              (1 << 2)
> 
> 	-:134: CHECK: Prefer using the BIT macro
> 	#134: FILE: drivers/gpu/drm/panel/panel-ilitek-ili9322.c:76:
> 	+#define ILI9322_ENTRY_SERIAL_RGB_ALIGNED (1 << 4)
> 
> 	-:196: CHECK: spaces preferred around that '|' (ctx:VxV)
> 	#196: FILE: drivers/gpu/drm/panel/panel-ilitek-ili9322.c:138:
> 	+#define ILI9322_IF_CTRL_SYNC_DISABLED  (BIT(2)|BIT(3))
> 						       ^
> 
> 	-:551: WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
> 	#551: FILE: drivers/gpu/drm/panel/panel-ilitek-ili9322.c:493:
> 	+       msleep(10);
> 
> 	total: 0 errors, 3 warnings, 3 checks, 983 lines checked
> 
> I'd like to see at least the warnings fixed. You can probably skip the
> entry in MAINTAINERS, though. I don't mind fixing these up while
> applying, but I don't know what to put in Kconfig. If you can send out
> a short paragraph for me to include I'll add it when I apply.

Daniel just reminded me on IRC that you have commit rights to drm-misc,
so once you've fixed up the bulk of the checkpatch warnings (nevermind
those "prefer the BIT macro" checks), feel free to push this yourself
with my:

Acked-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2017-12-21 16:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-01 16:16 [PATCH 1/3] drm/panel: Add DT bindings for Ilitek ILI9322 Linus Walleij
2017-12-01 16:16 ` [PATCH 2/3] drm/panel: Add Ilitek ILI9322 driver Linus Walleij
2017-12-20 23:55   ` Linus Walleij
2017-12-21 14:15   ` Thierry Reding
2017-12-21 16:15     ` Thierry Reding [this message]
2017-12-21 23:41       ` Linus Walleij
2017-12-21 23:40     ` Linus Walleij
2017-12-01 16:16 ` [PATCH 3/3] ARM: dts: Add TVE/TVC and ILI9322 panel to DIR-685 Linus Walleij
     [not found] ` <20171201161659.9588-1-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-12-01 19:49   ` [PATCH 1/3] drm/panel: Add DT bindings for Ilitek ILI9322 Rob Herring

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=20171221161552.GA17476@ulmo \
    --to=thierry.reding@gmail.com \
    --cc=ben.dooks@codethink.co.uk \
    --cc=david@lechnology.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linus.walleij@linaro.org \
    --cc=sbabic@denx.de \
    /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.