All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Eisele <konrad@gaisler.com>
To: sparclinux@vger.kernel.org
Subject: Sparc-leon uart driver patch for review
Date: Wed, 19 Aug 2009 11:34:10 +0000	[thread overview]
Message-ID: <4A8BE332.80309@gaisler.com> (raw)

Hi, Here is a patch (will be sent as a reply to this mail) for review
that will add a sparc-leon uart driver to the
kernel. It includes the amba plug and play (ambapp) core bus routines
drivers/ambapp/ambapp.c and drivers/ambapp/ambapp_driver.c
as well as the first driver drivers/ambapp/gaisler/apbuart/apbuart.c.
There are some more drivers (ethernet and gpio) that I'll post
after this one has been accepted.

  drivers/Kconfig                          |    2 +
  drivers/Makefile                         |    1 +
  drivers/ambapp/Kconfig                   |    9 +
  drivers/ambapp/Makefile                  |    6 +
  drivers/ambapp/ambapp.c                  |  361 +++++++++++++
  drivers/ambapp/ambapp.h                  |  246 +++++++++
  drivers/ambapp/ambapp_driver.c           |  219 ++++++++
  drivers/ambapp/gaisler/Kconfig           |   20 +
  drivers/ambapp/gaisler/Makefile          |    3 +
  drivers/ambapp/gaisler/apbuart/Makefile  |    3 +
  drivers/ambapp/gaisler/apbuart/apbuart.c |  837 ++++++++++++++++++++++++++++++
  include/linux/serial_core.h              |    3 +

It also includes the _amba_init() routine that is called
from within sparc at bootup and that will dynamically build the
device tree.

Having the Sparc-leon architectural part and the uart driver
one can build a simple system for leon already (bootloader and
user apps on top)...

I'm not shure wher to add the drivers/ambapp/Kconfig, I just
added it to drivers/Kconfig however maybe arch/sparc/Kconfig
might be more approprite.

-- Greetings Konrad

                 reply	other threads:[~2009-08-19 11:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A8BE332.80309@gaisler.com \
    --to=konrad@gaisler.com \
    --cc=sparclinux@vger.kernel.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.