From: Eric Miao <eric.y.miao@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: linux-arm-kernel <linux-arm-kernel@lists.arm.linux.org.uk>,
Eric Miao <eric.miao@marvell.com>
Subject: [PATCH] [ARM] pxa/zylonite2: add support for console uart
Date: Thu, 19 Feb 2009 21:45:58 +0800 [thread overview]
Message-ID: <1235051161-8858-10-git-send-email-eric.y.miao@gmail.com> (raw)
In-Reply-To: <1235051161-8858-9-git-send-email-eric.y.miao@gmail.com>
From: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
---
arch/arm/mach-mmp/zylonite2.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mmp/zylonite2.c b/arch/arm/mach-mmp/zylonite2.c
index 82319b5..ca419aa 100644
--- a/arch/arm/mach-mmp/zylonite2.c
+++ b/arch/arm/mach-mmp/zylonite2.c
@@ -9,15 +9,27 @@
*/
#include <linux/init.h>
+#include <linux/kernel.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/addr-map.h>
+#include <mach/mfp-pxa168.h>
+#include <mach/pxa168.h>
#include "common.h"
+static unsigned long zylonite2_pin_config[] __initdata = {
+ /* UART1 */
+ GPIO107_UART1_RXD,
+ GPIO108_UART1_TXD,
+};
+
static void __init zylonite2_init(void)
{
+ mfp_config(ARRAY_AND_SIZE(zylonite2_pin_config));
+
+ pxa168_add_uart1();
}
MACHINE_START(ZYLONITE2, "PXA168-based Zylonite2 Development Platform")
--
1.6.0.4
next prev parent reply other threads:[~2009-02-19 13:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 13:45 [PATCH 0/12] ARM: add base support for Marvell PXA168 Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: introduce plat-pxa for PXA common code and add DMA support Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: move common GPIO handling code into plat-pxa Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: move common MFP " Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: add base support for Marvell's PXA168 processor line Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: add GPIO support for pxa168 Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: add MFP " Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: accept old ARM926 compatible CPUID " Eric Miao
2009-02-19 13:45 ` [PATCH] [ARM] pxa: allow reuse of serial driver " Eric Miao
2009-02-19 13:45 ` Eric Miao [this message]
2009-02-19 13:45 ` [PATCH] [ARM] pxa/zylonite2: add support for debug ethernet Eric Miao
2009-02-19 13:46 ` [PATCH] [ARM] pxa: add defconfig for pxa168-based platforms Eric Miao
2009-02-19 13:46 ` [PATCH] MAINTAINERS: update pxa168 maintainers Eric Miao
2009-02-20 6:50 ` Jason Chagas
2009-02-24 1:36 ` Eric Miao
2009-02-19 13:58 ` [PATCH 0/12] ARM: add base support for Marvell PXA168 Eric Miao
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=1235051161-8858-10-git-send-email-eric.y.miao@gmail.com \
--to=eric.y.miao@gmail.com \
--cc=eric.miao@marvell.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@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 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®