From: atull <atull@opensource.altera.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>, Rob Herring <robh+dt@kernel.org>,
Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
delicious.quinoa@gmail.com, dinguyen@opensource.altera.com,
yvanderv@opensource.altera.com
Subject: Re: [PATCH 2/2] add newhaven lcd tty driver on i2c
Date: Tue, 17 Mar 2015 16:39:30 -0500 [thread overview]
Message-ID: <alpine.DEB.2.02.1503171638550.21358@linuxheads99> (raw)
In-Reply-To: <20150317211605.GB8441@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]
On Tue, 17 Mar 2015, Greg Kroah-Hartman wrote:
> On Tue, Mar 17, 2015 at 03:36:47PM -0500, Alan Tull wrote:
> > Supports the Newhaven NHD‐0216K3Z‐NSW‐BBW 2x16 LCD module as i2c slave.
> > Devices will show up as /dev/ttyLCD0, etc.
> >
> > * Backspace is supported to the beginning of the current line.
> > * i.e. printf '\b' > /dev/ttyLCD0
> >
> > * ESC [ 2 J
> > * erase whole display and reset cursor to home.
> > * i.e. printf '\e[2J' > /dev/ttyLCD0
> >
> > * ESC [ 2 K
> > * erase current line and set cursor to beginning of line.
> > * i.e. printf '\e[2K' > /dev/ttyLCD0
> >
> > * CR and LF are supported.
> >
> > * Vertical scroll when cursor is on bottom line and receive end of line.
> >
> > Default brightness can be set from the device tree/plat data.
> >
> > Brightness can be set from a sysfs file, for example:
> > * echo 6 > /sys/devices/soc.0/ffc04000.i2c/i2c-0/0-0028/brightness
> >
> > Signed-off-by: Alan Tull <atull@opensource.altera.com>
>
> This should use the new fb_tft api instead of trying to look like a tty
> device. That framework is merged in the staging-next branch of the
> staging.git kernel tree and will show up in 4.1-rc1. Please port this
> driver to that api and submit a patch for me to take for the staging
> tree so that we don't have one-off devices like this.
Cool! Will do.
Thanks!
Alan
>
> thanks,
>
> greg k-h
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
next prev parent reply other threads:[~2015-03-17 21:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-17 20:36 [PATCH 0/2] TTY Driver for Newhaven LCD module Alan Tull
2015-03-17 20:36 ` [PATCH 1/2] newhaven lcd: device tree bindings documentation Alan Tull
2015-03-17 20:36 ` [PATCH 2/2] add newhaven lcd tty driver on i2c Alan Tull
2015-03-17 21:16 ` Greg Kroah-Hartman
2015-03-17 21:39 ` atull [this message]
2015-03-20 20:46 ` atull
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=alpine.DEB.2.02.1503171638550.21358@linuxheads99 \
--to=atull@opensource.altera.com \
--cc=delicious.quinoa@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@opensource.altera.com \
--cc=galak@codeaurora.org \
--cc=gregkh@linuxfoundation.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=yvanderv@opensource.altera.com \
/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