From: yegorslists@googlemail.com (yegorslists at googlemail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: omap-serial: use mctrl_gpio helpers
Date: Thu, 24 Apr 2014 11:24:30 +0200 [thread overview]
Message-ID: <1398331471-16745-1-git-send-email-yegorslists@googlemail.com> (raw)
This patch is based on Richard Genoud' patch adding generic GPIO support [1]
and my patch adding get_direction() functionality to OMAP's GPIO driver [2].
So far RTS/DTR are working both as modem control outputs and RTS as RS-485 2-wire controller.
CTS/DSR/DSR/RI are generating interrupts.
Richard, Greg, what is the status of [1]? It seems like it will be available in 3.16 first?
TODO:
1. remove rts_gpio from uart_omap_port
2. perhaps add rts_gpiod to uart_omap_port to avoid numerous invocations of
rts_gpiod = mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS);
3. add device tree documentation
Yegor
[1] http://comments.gmane.org/gmane.linux.serial/13967
[2] http://www.spinics.net/lists/arm-kernel/msg325162.html
next reply other threads:[~2014-04-24 9:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 9:24 yegorslists at googlemail.com [this message]
2014-04-24 9:24 ` [RFC] tty: serial: omap: use mctrl_gpio helpers yegorslists at googlemail.com
2014-04-24 22:10 ` omap-serial: " Greg KH
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=1398331471-16745-1-git-send-email-yegorslists@googlemail.com \
--to=yegorslists@googlemail.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).