From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: Mark Rutland <mark.rutland@arm.com>,
"linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>,
Jiri Slaby <jslaby@suse.cz>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"rob.herring@calxeda.com" <rob.herring@calxeda.com>,
Pawel Moll <Pawel.Moll@arm.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Ian Campbell <ian.campbell@citrix.com>,
"grant.likely@linaro.org" <grant.likely@linaro.org>
Subject: Re: [PATCH 4/4] serial: sccnxp: Add DT support
Date: Fri, 2 Aug 2013 15:29:49 +0800 [thread overview]
Message-ID: <20130802072949.GA17717@kroah.com> (raw)
In-Reply-To: <20130802102755.0864a99ebbf0b8966d3fe422@mail.ru>
On Fri, Aug 02, 2013 at 10:27:55AM +0400, Alexander Shiyan wrote:
> On Thu, 1 Aug 2013 15:14:20 +0100
> Mark Rutland <mark.rutland@arm.com> wrote:
>
> > On Thu, Aug 01, 2013 at 11:53:43AM +0100, Alexander Shiyan wrote:
> > > > On Wed, Jul 31, 2013 at 11:55:45AM +0100, Alexander Shiyan wrote:
> > > > > Add DT support to the SCCNCP serial driver.
> > > > >
> > > > > Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> > > > > ---
> > > > > .../bindings/tty/serial/sccnxp-serial.txt | 53 ++++++++++++++++++++++
> > > > > drivers/tty/serial/sccnxp.c | 46 +++++++++++++++----
> > > > > include/linux/platform_data/serial-sccnxp.h | 6 +--
> > > > > 3 files changed, 93 insertions(+), 12 deletions(-)
> > > > > create mode 100644 Documentation/devicetree/bindings/tty/serial/sccnxp-serial.txt
> > > > >
> > > > > diff --git a/Documentation/devicetree/bindings/tty/serial/sccnxp-serial.txt b/Documentation/devicetree/bindings/tty/serial/sccnxp-serial.txt
> > > [...]
> > > > > +Optional properties:
> > > > > +- clocks: Phandle to input clock. If omitted, default IC frequency will be
> > > > > + used instead.
> >
> > Come to think of it, what is "default IC frequency" likely to be, and
> > how does it influence the usable baud rates?
> >
> > > > > +- poll-interval: Poll interval time in nanoseconds.
> > > >
> > > > Is there any reason this needs to be described at all? Is this interval
> > > > a minimum/maximum bound required for some reason, or just a sensible
> > > > value?
> > > >
> > > > This feels like driver configuration than hardware description.
> > >
> > > This is a exact value for driver in the polling mode.
> >
> > That certainly sounds like driver configuration ;)
> >
> > > Depends on desired response time and/or desired UART baudrate.
> >
> > If this depends on the desired baud rate, how does this interact with
> > dynamically changing the baud rate later -- surely you may need to have
> > different polling rates for high and low baud rates?
>
> I will change it to automatically calculate a reasonable value for polling.
>
> [...]
>
> Greg, please remove this part of patch from tty-tree.
Now removed.
prev parent reply other threads:[~2013-08-02 7:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-31 10:55 [PATCH 4/4] serial: sccnxp: Add DT support Alexander Shiyan
2013-07-31 21:45 ` Stephen Warren
2013-08-01 7:51 ` Alexander Shiyan
2013-08-01 16:31 ` Stephen Warren
2013-08-02 10:14 ` Alexander Shiyan
2013-08-01 9:54 ` Mark Rutland
2013-08-01 10:53 ` Alexander Shiyan
2013-08-01 14:14 ` Mark Rutland
2013-08-02 6:27 ` Alexander Shiyan
2013-08-02 7:29 ` Greg Kroah-Hartman [this message]
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=20130802072949.GA17717@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Pawel.Moll@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=ian.campbell@citrix.com \
--cc=jslaby@suse.cz \
--cc=linux-serial@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=rob.herring@calxeda.com \
--cc=shc_work@mail.ru \
--cc=swarren@wwwdotorg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.