linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* omap-serial: use mctrl_gpio helpers
@ 2014-04-24  9:24 yegorslists at googlemail.com
  2014-04-24  9:24 ` [RFC] tty: serial: omap: " yegorslists at googlemail.com
  2014-04-24 22:10 ` omap-serial: " Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: yegorslists at googlemail.com @ 2014-04-24  9:24 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-24 22:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24  9:24 omap-serial: use mctrl_gpio helpers yegorslists at googlemail.com
2014-04-24  9:24 ` [RFC] tty: serial: omap: " yegorslists at googlemail.com
2014-04-24 22:10 ` omap-serial: " Greg KH

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).