From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/6] ARM: mach-imx/mx27_3ds: Use the standard i.MX macro for GPIO numbering
Date: Thu, 23 Jun 2011 09:46:21 +0200 [thread overview]
Message-ID: <20110623074621.GO6069@pengutronix.de> (raw)
In-Reply-To: <1308745528-22089-1-git-send-email-fabio.estevam@freescale.com>
All applpied to -next
On Wed, Jun 22, 2011 at 09:25:23AM -0300, Fabio Estevam wrote:
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Changes since v1:
> - Rebased on Sascha's for-next branch
>
> arch/arm/mach-imx/mach-mx27_3ds.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-imx/mach-mx27_3ds.c b/arch/arm/mach-imx/mach-mx27_3ds.c
> index 09ec036..3a58448 100644
> --- a/arch/arm/mach-imx/mach-mx27_3ds.c
> +++ b/arch/arm/mach-imx/mach-mx27_3ds.c
> @@ -42,9 +42,9 @@
>
> #include "devices-imx27.h"
>
> -#define SD1_EN_GPIO (GPIO_PORTB + 25)
> -#define OTG_PHY_RESET_GPIO (GPIO_PORTB + 23)
> -#define SPI2_SS0 (GPIO_PORTD + 21)
> +#define SD1_EN_GPIO IMX_GPIO_NR(2, 25)
> +#define OTG_PHY_RESET_GPIO IMX_GPIO_NR(2, 23)
> +#define SPI2_SS0 IMX_GPIO_NR(4, 21)
> #define EXPIO_PARENT_INT gpio_to_irq(IMX_GPIO_NR(3, 28))
>
> static const int mx27pdk_pins[] __initconst = {
> --
> 1.6.0.4
>
>
>
--
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:[~2011-06-23 7:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-22 12:25 [PATCH v2 1/6] ARM: mach-imx/mx27_3ds: Use the standard i.MX macro for GPIO numbering Fabio Estevam
2011-06-22 12:25 ` [PATCH v2 2/6] ARM: mach-imx/mx27_3ds: Fix regulator support Fabio Estevam
2011-06-22 12:25 ` [PATCH v2 3/6] ARM: mach-imx/mx27_3ds: Add LCD support Fabio Estevam
2011-06-22 12:25 ` [PATCH v2 4/6] ARM: mach-imx/mx27_3ds: Add touchscreen support Fabio Estevam
2011-06-22 12:25 ` [PATCH v2 5/6] ARM: mach-imx/mx27_3ds: Use the standard gpio_to_irq function Fabio Estevam
2011-06-22 12:25 ` [PATCH v2 6/6] ARM: mach-imx/mx27_3ds: Do not annotate the chip select as internal Fabio Estevam
2011-06-23 7:46 ` 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=20110623074621.GO6069@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).