From: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>,
Russell King <linux@arm.linux.org.uk>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jslaby@suse.cz>,
Michal Simek <michal.simek@xilinx.com>,
Peter Crosthwaite <peter.crosthwaite@xilinx.com>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-serial@vger.kernel.org>, Olof Johansson <olof@lixom.net>,
Kevin Hilman <khilman@linaro.org>
Subject: Re: [PATCH RFC 3/6] tty: Rename xilinx_uart -> cadence_uart
Date: Wed, 5 Mar 2014 10:22:05 -0800 [thread overview]
Message-ID: <0c95ba9c-30bd-4fb2-ae44-e0e3e4553e84@CO9EHSMHS018.ehs.local> (raw)
In-Reply-To: <201403042316.26221.arnd@arndb.de>
Hi Arnd, Alan,
On Tue, 2014-03-04 at 11:16PM +0100, Arnd Bergmann wrote:
> On Tuesday 04 March 2014, One Thousand Gnomes wrote:
> > On Tue, 4 Mar 2014 09:17:26 -0800
> > Soren Brinkmann <soren.brinkmann@xilinx.com> wrote:
>
> > The following aspects of the change set are IMHO acceptable
> >
> > - Cleaning up all the code formatting
> > - Update the driver comments and header to explain the Cadence/Xilinx
> > thing
> > - change "Xilinx PS UART Support" text to "Cadence (Xilinx PS) Support"
> > or similar wording in Kconfig
> > - Adding the cadence devicetree compatibility strings and inputs *in
> > addition* to the existing ones.
> > - Documentation for the new options
>
> I agree. I think it would also be nice to allow the standard clock names
> to be used as an alternative to the bogus ref_clk" and "aper_clk"
> names, but just like the compatible string, it's too late to remove
> support for the existing ones.
>
> Regarding the "xlnx,xuartps" compatible string, even if we were to break
> backwards comptibility with the clocks, I would still want to see this
> string being used in addition to "cdns,uart-r1p8" so we have a way to
> detect possible changes that xilinx did on top of the r1p8 version.
> I also wonder if "cdns,uart-r1p8" is actually specific enough: r1p8
> looks like a version number rather than a name, and it seems possible
> that Cadence has produced more than one uart implemention in the past
> or will do another one in the future that is not just a different
> revision of this one but instead something completely different.
This was pretty much what I expected, but I wanted to at least try,
before documenting the binding.
So, to summarize:
- don't rename the file
- I think changing the Kconfig option might be possible, but doesn't
really matter either. So, I'll leave it as is.
- compat strings is the easy part, we can simple add another one
- clock-names is not that forgiving. I'm inclined to document only the
Cadence names, but allow both with issuing a deprecated warning when
the Zynq ones are used. Then we can remove those probably a little
later(?)
- I'll do something like Alan's suggestion for the Kconfig prompt
Regarding how specific we can make the compat string: I asked myself the
same question when I looked at the docs. But they don't seem to use any
fancy names or anything. It's pretty much just a UART. The other problem
I have is, I'd have to double check what information, beyond what already
is in the Zynq TRM, is allowed to be disclosed.
Thanks,
Sören
next prev parent reply other threads:[~2014-03-05 18:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 17:17 [PATCH RFC 0/6] tty: xuartps renaming Soren Brinkmann
2014-03-04 17:17 ` [PATCH RFC 1/6] tty: xemacps: Clean up Soren Brinkmann
2014-03-04 17:17 ` [PATCH RFC 2/6] tty: xemacps: Print warning in clock notifier Soren Brinkmann
2014-03-04 17:17 ` [PATCH RFC 3/6] tty: Rename xilinx_uart -> cadence_uart Soren Brinkmann
2014-03-04 19:39 ` One Thousand Gnomes
2014-03-04 22:16 ` Arnd Bergmann
2014-03-05 18:22 ` Sören Brinkmann [this message]
2014-03-04 17:17 ` [PATCH RFC 4/6] tty: cadence: Document DT binding Soren Brinkmann
2014-03-04 17:17 ` [PATCH RFC 5/6] ARM: zynq: DT: Migrate UART to Cadence binding Soren Brinkmann
2014-03-04 17:17 ` [PATCH RFC 6/6] ARM: multi_v7_defconfig: Adopt to UART driver renaming Soren Brinkmann
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=0c95ba9c-30bd-4fb2-ae44-e0e3e4553e84@CO9EHSMHS018.ehs.local \
--to=soren.brinkmann@xilinx.com \
--cc=arnd@arndb.de \
--cc=gnomes@lxorguk.ukuu.org.uk \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.cz \
--cc=khilman@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=michal.simek@xilinx.com \
--cc=olof@lixom.net \
--cc=peter.crosthwaite@xilinx.com \
/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
all inboxes | Powered by JetHome®