From: Lars Poeschel <poeschel@lemonage.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "David Airlie" <airlied@linux.ie>,
"Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Bartlomiej Zolnierkiewicz" <b.zolnierkie@samsung.com>,
"Manuel Schölling" <manuel.schoelling@gmx.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Daniel Vetter" <daniel.vetter@ffwll.ch>,
"Stafford Horne" <shorne@gmail.com>,
"Christophe Leroy" <christophe.leroy@c-s.fr>,
"Randy Dunlap" <rdunlap@infradead.org>,
"Kate Stewart" <kstewart@linuxfoundation.org>,
"Philippe Ombredanne" <pombredanne@nexb.com>,
"Sean Paul" <seanpaul@chromium.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
"DRI Development" <dri-devel@lists.freedesktop.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] video: hd44780: Add hd44780 lcd display driver
Date: Thu, 07 Dec 2017 08:33:21 +0000 [thread overview]
Message-ID: <2226720.5tM4mKizis@lem-wkst-02> (raw)
In-Reply-To: <CAMuHMdUn-wx7YC=QWazb4e-vJGts8iXbkC64NYiEjha-kQPKLg@mail.gmail.com>
On Wed, Dec 6, 2017 at 16:04:10 CET Geert Uytterhoeven wrote:
> Hi Lars,
>
> On Wed, Dec 6, 2017 at 2:52 PM, Lars Poeschel <poeschel@lemonage.de> wrote:
> > This adds a console driver for hd44780 based character lcd displays and
> > clones. The driver currently supports 20x4 character displays with
> > character ROMs A00 and A02.
> > The hardware wirings to the display have to be supplied to the kernel in
> > the devicetree. The binding doc has the necessary information.
> > There are also tons of these cheap displays sold with a serial
> > interface. Many of them use a simple pcf8574 gpio expanders. An example
> > for using that kind of display is also in the binding doc.
> >
> > Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
>
> Thanks for your patch!
>
> > ---
> >
> > .../bindings/video/console/hd44780con.txt | 42 ++
> > drivers/video/console/Kconfig | 13 +
> > drivers/video/console/Makefile | 1 +
> > drivers/video/console/hd44780con.c | 676
> > +++++++++++++++++++++
> I'm wondering if you could implement this on top of the existing charlcd
> framework:
>
> drivers/auxdisplay/charlcd.c
> include/misc/charlcd.h
>
> which can use the existing hd44780 backend:
>
> Documentation/devicetree/bindings/auxdisplay/hit,hd44780.txt
> drivers/auxdisplay/hd44780.c
>
> That way it can be used on other character LCDs, like the one supported by
> drivers/auxdisplay/panel.c.
Oh! Yes, this is a very interesting idea! This would involve multiple steps
until this would be useful for me, but I will definitely have a look at this!
So, please drop my patch for now. If for some reason in the future I find,
that it should go upstream, I will submit it again.
BTW thanks for the hint about the hd44780 charlcd backend. I did not know
about this. My hd44780 console driver is quite a bit old. I just found time to
clean up, rebase, test and submit it now.
Regards,
Lars
prev parent reply other threads:[~2017-12-07 8:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-06 13:52 [PATCH] video: hd44780: Add hd44780 lcd display driver Lars Poeschel
2017-12-06 15:04 ` Geert Uytterhoeven
2017-12-07 8:33 ` Lars Poeschel [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=2226720.5tM4mKizis@lem-wkst-02 \
--to=poeschel@lemonage.de \
--cc=airlied@linux.ie \
--cc=b.zolnierkie@samsung.com \
--cc=christophe.leroy@c-s.fr \
--cc=daniel.vetter@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=kstewart@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manuel.schoelling@gmx.de \
--cc=mark.rutland@arm.com \
--cc=pombredanne@nexb.com \
--cc=rdunlap@infradead.org \
--cc=robh+dt@kernel.org \
--cc=seanpaul@chromium.org \
--cc=shorne@gmail.com \
--cc=tglx@linutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox