mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org, Andrea GALLO <andrea.gallo@stericsson.com>
Subject: Re: [PATCH 3/6] amba: add pl011
Date: Wed, 4 Aug 2010 15:51:05 +0200	[thread overview]
Message-ID: <20100804135105.GC12545@game.jcrosoft.org> (raw)
In-Reply-To: <20100804064600.GQ14113@pengutronix.de>

On 08:46 Wed 04 Aug     , Sascha Hauer wrote:
> On Wed, Aug 04, 2010 at 03:43:56AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > +++ b/drivers/serial/amba-pl011.c
> > @@ -0,0 +1,192 @@
> > +/*
> > + * (C) Copyright 2000
> > + * Rob Taylor, Flying Pig Systems. robt@flyingpig.com.
> > + *
> > + * (C) Copyright 2004
> > + * ARM Ltd.
> > + * Philippe Robin, <philippe.robin@arm.com>
> > + *
> > + * See file CREDITS for list of people who contributed to this
> > + * project.
> > + *
> > + * This program is free software; you can redistribute it and/or
> > + * modify it under the terms of the GNU General Public License as
> > + * published by the Free Software Foundation; either version 2 of
> > + * the License, or (at your option) any later version.
> > + *
> > + * This program is distributed in the hope that it will be useful,
> > + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> > + * GNU General Public License for more details.
> > + *
> > + * You should have received a copy of the GNU General Public License
> > + * along with this program; if not, write to the Free Software
> > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> > + * MA 02111-1307 USA
> > + */
> > +
> > +/* Simple U-Boot driver for the PrimeCell PL010/PL011 UARTs */
> 
> We already have a driver for the pl010 in the tree, so I would expect
> arguments like 'this one is much more flexible, drop the old one', or
> 'the pl011 is totally different' (which doesn't seem to be the case).
Yes this new driver is flexible and multi instance
yes I'm working a new path to add the PL010 on it too
and one of the issue of the current one is that you can not calculate the
baudrate based on the uart base clock on contrary on the new one who use the
clk framework. So yes I plan to add the PL010 on it too but after I've put the
clock framework on the sock that use it and drop the old one

Best Regards,
J.
> 
> Sascha
> 
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2010-08-04 13:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04  1:42 [PATCH 0/6] common arm clkdev Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  1:43 ` [PATCH 1/6] string: add strlcpy support Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  1:43   ` [PATCH 2/6] arm: add common clkdev Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  1:43     ` [PATCH 3/6] amba: add pl011 Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  1:43       ` [PATCH 4/6] arm: add Nomadik 8815 SoC support Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  1:43         ` [PATCH 5/6] nand: driver for Nomadik 8815 SoC Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  1:43           ` [PATCH 6/6] arm: add nhk8815 board support Jean-Christophe PLAGNIOL-VILLARD
2010-08-04  6:46       ` [PATCH 3/6] amba: add pl011 Sascha Hauer
2010-08-04 13:51         ` Jean-Christophe PLAGNIOL-VILLARD [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=20100804135105.GC12545@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=andrea.gallo@stericsson.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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