From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: mx35: 3ds: add mc9s08dz60 gpio definitions
Date: Tue, 13 Mar 2012 14:30:06 +0100 [thread overview]
Message-ID: <20120313133006.GF3852@pengutronix.de> (raw)
In-Reply-To: <1331528279-2263-1-git-send-email-b39297@freescale.com>
On Mon, Mar 12, 2012 at 12:57:58PM +0800, Wu Guoxing wrote:
> add a new header file for mx35 3ds board
> add the mc9s08dz60 gpio definitions
>
> Signed-off-by: Wu Guoxing <b39297@freescale.com>
> ---
> 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 <b39297@freescale.com>
> + *
> + * 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
Please add these to the board file instead. They are not useful outside
the board.
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 |
prev parent reply other threads:[~2012-03-13 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 4:57 [PATCH 1/2] ARM: mx35: 3ds: add mc9s08dz60 gpio definitions Wu Guoxing
2012-03-12 4:57 ` [PATCH v7 2/2] ARM : mx35: 3ds-board: add framebuffer device Wu Guoxing
2012-03-13 13:30 ` Sascha Hauer [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=20120313133006.GF3852@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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).