Re: [PATCH] tty: serial: omap: use mctrl_gpio helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 22, 2015 at 09:52:13AM -0700, Tony Lindgren wrote:
> * Nishanth Menon <nm@xxxxxx> [150522 08:36]:
> > On 05/22/2015 07:16 AM, yegorslists@xxxxxxxxxxxxxx wrote:
> > > From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
> > > 
> > > This patch permits to use GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI
> > > signals.
> > > 
> > > Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
> > > ---
> > >  .../devicetree/bindings/serial/omap_serial.txt     |    9 +
> > >  drivers/tty/serial/Kconfig                         |    1 +
> > >  drivers/tty/serial/omap-serial.c                   |  168 +++++++++++++++++++-
> > >  3 files changed, 171 insertions(+), 7 deletions(-)
> > 
> > Would we rather move introducing new features to 8250_omap.c rather
> > than doing that to omap-serial and keep feature creeping it such that
> > we wont ever be able to switch to 8250_omap ?
> 
> Yes please. Also, do we really want to allow mapping
> random GPIO pins to the UART driver? I guess it would be

See drivers/tty/serial/serial_mctrl_gpio.[ch], these are used for UARTs
on SoCs with enough GPIOs available whose UART don't have full Modem
signals. It's pretty handy for BT, GSM, LTE, whatever type of modem-like
device.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux