From patchwork Mon Mar 12 04:57:58 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wu guoxing X-Patchwork-Id: 146270 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DD738B6EEC for ; Tue, 13 Mar 2012 08:34:47 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1S7Coo-0000mW-HQ; Mon, 12 Mar 2012 21:30:16 +0000 Received: from bombadil.infradead.org ([2001:4830:2446:ff00:4687:fcff:fea6:5117]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1S7BWW-00030b-9U for linux-arm-kernel@merlin.infradead.org; Mon, 12 Mar 2012 20:07:16 +0000 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11] helo=tx2outboundpool.messaging.microsoft.com) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1S6xMJ-0004Xe-Ir for linux-arm-kernel@lists.infradead.org; Mon, 12 Mar 2012 04:59:48 +0000 Received: from mail62-tx2-R.bigfish.com (10.9.14.237) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.23; Mon, 12 Mar 2012 04:59:24 +0000 Received: from mail62-tx2 (localhost [127.0.0.1]) by mail62-tx2-R.bigfish.com (Postfix) with ESMTP id 406E44400A8 for ; Mon, 12 Mar 2012 04:59:24 +0000 (UTC) X-SpamScore: 3 X-BigFish: VS3(zzc8kzz1202hzz8275bhz2dh2a8h668h839h) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI Received: from mail62-tx2 (localhost.localdomain [127.0.0.1]) by mail62-tx2 (MessageSwitch) id 1331528361758990_1613; Mon, 12 Mar 2012 04:59:21 +0000 (UTC) Received: from TX2EHSMHS004.bigfish.com (unknown [10.9.14.242]) by mail62-tx2.bigfish.com (Postfix) with ESMTP id B50C13A0056 for ; Mon, 12 Mar 2012 04:59:21 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS004.bigfish.com (10.9.99.104) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 12 Mar 2012 04:59:21 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.1.355.3; Sun, 11 Mar 2012 23:59:20 -0500 Received: from shlinux1.ap.freescale.net ([10.213.130.145]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id q2C4xJoX024728 for ; Sun, 11 Mar 2012 21:59:19 -0700 Received: by shlinux1.ap.freescale.net (Postfix, from userid 1043) id E4BD81AE09B; Mon, 12 Mar 2012 12:58:00 +0800 (CST) From: Wu Guoxing To: Subject: [PATCH 1/2] ARM: mx35: 3ds: add mc9s08dz60 gpio definitions Date: Mon, 12 Mar 2012 12:57:58 +0800 Message-ID: <1331528279-2263-1-git-send-email-b39297@freescale.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-OriginatorOrg: freescale.net X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20120312_005947_848058_70CF245A X-CRM114-Status: GOOD ( 16.69 ) X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [65.55.88.11 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: shawn.guo@linaro.org, festevam@gmail.com, Wu Guoxing , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org add a new header file for mx35 3ds board add the mc9s08dz60 gpio definitions Signed-off-by: Wu Guoxing --- arch/arm/plat-mxc/include/mach/board_mx35_3ds.h | 26 +++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 arch/arm/plat-mxc/include/mach/board_mx35_3ds.h diff --git a/arch/arm/plat-mxc/include/mach/board_mx35_3ds.h b/arch/arm/plat-mxc/include/mach/board_mx35_3ds.h new file mode 100644 index 0000000..df0d5f7 --- /dev/null +++ b/arch/arm/plat-mxc/include/mach/board_mx35_3ds.h @@ -0,0 +1,26 @@ +/* + * Copyright 2012 Freescale Semiconductor, Inc. All Rights Reserved. + * + * Author: Wu Guoxing + * + * 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. + */ + +#ifndef __ASM_ARCH_MXC_BOARD_MX35_3DS_H__ +#define __ASM_ARCH_MXC_BOARD_MX35_3DS_H__ + +#define GPIO_MC9S08DZ60_GPS_ENABLE 0 +#define GPIO_MC9S08DZ60_HDD_ENABLE 4 +#define GPIO_MC9S08DZ60_WIFI_ENABLE 5 +#define GPIO_MC9S08DZ60_LCD_ENABLE 6 +#define GPIO_MC9S08DZ60_SPEAKER_ENABLE 8 + +#endif