From: Chen Baozi <baozich@gmail.com>
To: Ian Campbell <Ian.Campbell@citrix.com>,
Julien Grall <julien.grall@linaro.org>
Cc: Chen Baozi <baozich@gmail.com>, xen-devel@lists.xen.org
Subject: [PATCH 0/5] Add UART support and arch timer initialization for OMAP5
Date: Mon, 5 Aug 2013 19:49:00 +0800 [thread overview]
Message-ID: <1375703346-3801-1-git-send-email-baozich@gmail.com> (raw)
Since OMAP UART has a few distinct features than common 8250 UART, I
re-implemented its driver rather than porting it based on ns16550.c.
There are mainly two big differences between the implementations. First,
OMAP UART introduces the concept of register access mode, which divides
the register map into seperated space. Switching the access mode is then
necessary when configuring it. Second, THRE interrupt needs to be disable
after finished transmission and enabled once transmission started. This
is because the semantic of THRE interrupt differs from common 8250 in TI's
implementation, which would be generated if TX FIFO below trigger level
and cannot be cleared by simply write to THR once.
Besides UART driver, arch timer initialization for OMAP5432 platform
is also done in this patch series.
Chen Baozi (5):
xen: rename ns16550-uart.h to 8250-uart.h and fix some typos
xen/arm: add OMAP5432 UART support for early_printk
xen/arm: Add the new OMAP UART driver.
xen/arm: Introduce platform recognition codes for the OMAP5
xen/arm: Add OMAP5 architected timer initialization codes.
config/arm32.mk | 1 +
docs/misc/arm/early-printk.txt | 1 +
xen/arch/arm/Rules.mk | 4 +
xen/arch/arm/arm32/debug-8250.inc | 41 +++
xen/arch/arm/platforms/Makefile | 1 +
xen/arch/arm/platforms/omap5.c | 113 ++++++++
xen/arch/arm/time.c | 7 +-
xen/drivers/char/Makefile | 1 +
xen/drivers/char/ns16550.c | 2 +-
xen/drivers/char/omap-uart.c | 358 ++++++++++++++++++++++++
xen/include/asm-arm/platforms/omap5.h | 38 +++
xen/include/xen/{ns16550-uart.h => 8250-uart.h} | 98 ++++++-
12 files changed, 651 insertions(+), 14 deletions(-)
create mode 100644 xen/arch/arm/arm32/debug-8250.inc
create mode 100644 xen/arch/arm/platforms/omap5.c
create mode 100644 xen/drivers/char/omap-uart.c
create mode 100644 xen/include/asm-arm/platforms/omap5.h
rename xen/include/xen/{ns16550-uart.h => 8250-uart.h} (52%)
--
1.8.1.4
next reply other threads:[~2013-08-05 11:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-05 11:49 Chen Baozi [this message]
2013-08-05 11:49 ` [PATCH 0/5] Add UART support and arch timer initialization for OMAP5 Chen Baozi
2013-08-05 11:49 ` [PATCH 1/5] xen: rename ns16550-uart.h to 8250-uart.h and fix some typos Chen Baozi
2013-08-05 11:49 ` [PATCH 2/5] xen/arm: add OMAP5432 UART support for early_printk Chen Baozi
2013-08-06 21:50 ` Julien Grall
2013-08-07 3:22 ` Chen Baozi
2013-08-05 11:49 ` [PATCH 3/5] xen/arm: Add the new OMAP UART driver Chen Baozi
2013-08-06 19:14 ` Julien Grall
2013-08-07 3:14 ` Chen Baozi
2013-08-07 8:46 ` Ian Campbell
2013-08-07 11:08 ` Chen Baozi
2013-08-05 11:49 ` [PATCH 4/5] xen/arm: Introduce platform recognition codes for the OMAP5 Chen Baozi
2013-08-06 22:00 ` Julien Grall
2013-08-07 3:24 ` Chen Baozi
2013-08-07 11:21 ` Julien Grall
2013-08-05 11:49 ` [PATCH 5/5] xen/arm: Add OMAP5 architected timer initialization codes Chen Baozi
2013-08-06 22:14 ` Julien Grall
2013-08-07 3:28 ` Chen Baozi
2013-08-07 10:25 ` Andrii Anisov
2013-08-07 10:32 ` Andrii Anisov
2013-08-07 11:37 ` Julien Grall
2013-08-07 11:58 ` Andrii Anisov
2013-08-07 12:04 ` Andrii Anisov
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=1375703346-3801-1-git-send-email-baozich@gmail.com \
--to=baozich@gmail.com \
--cc=Ian.Campbell@citrix.com \
--cc=julien.grall@linaro.org \
--cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).