Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610102

Re: [PATCH RFC v4 10/10] tty: serdev: add functions to retrieve common UART settings

From Rob Herring <robh+dt@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH RFC v4 10/10] tty: serdev: add functions to retrieve common UART settings
Date 2017-03-27 22:10 +0200
Message-ID <tpJ7I-52v-3@gated-at.bofh.it> (permalink)
References <tpD2h-kn-9@gated-at.bofh.it> <tpDbY-nU-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 27, 2017 at 8:37 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote:
> Currently serdev core doesn't provide functions to retrieve common
> UART settings like data bits, stop bits or parity. This patch adds
> the interface to the core and the necessary implementation for
> serdev-ttyport.

It doesn't provide them because why do you need to know? The attached
device should request the settings it needs and be done with it. Maybe
some devices can support a number of settings and you could want
negotiate the settings with the UART, though surely 8N1 is in that
list. It's rare to see something that's not 8N1 from what I've seen.

Rob

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC v4 00/10] net: qualcomm: add QCA7000 UART driver Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-27 15:50 +0200
  [PATCH RFC v4 04/10] net: qualcomm: rename qca_framing.c to qca_common.c Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-27 15:50 +0200
  [PATCH RFC v4 09/10] tty: serdev-ttyport: return actual baudrate from ttyport_set_baudrate Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-27 15:50 +0200
    Re: [PATCH RFC v4 09/10] tty: serdev-ttyport: return actual baudrate  from ttyport_set_baudrate Rob Herring <robh+dt@kernel.org> - 2017-03-27 22:10 +0200
  [PATCH RFC v4 03/10] net: qualcomm: move qcaspi_tx_cmd to qca_spi.c Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-27 15:50 +0200
  [PATCH RFC v4 10/10] tty: serdev: add functions to retrieve common UART settings Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-27 15:50 +0200
    Re: [PATCH RFC v4 10/10] tty: serdev: add functions to retrieve  common UART settings Rob Herring <robh+dt@kernel.org> - 2017-03-27 22:10 +0200
      Re: [PATCH RFC v4 10/10] tty: serdev: add functions to retrieve  common UART settings Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-28 18:40 +0200

csiph-web