linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/6] ARM: mach-imx/mx27_3ds: Use the standard i.MX macro for GPIO numbering
@ 2011-06-22 12:25 Fabio Estevam
  2011-06-22 12:25 ` [PATCH v2 2/6] ARM: mach-imx/mx27_3ds: Fix regulator support Fabio Estevam
  2011-06-23  7:46 ` [PATCH v2 1/6] ARM: mach-imx/mx27_3ds: Use the standard i.MX macro for GPIO numbering Sascha Hauer
  0 siblings, 2 replies; 7+ messages in thread
From: Fabio Estevam @ 2011-06-22 12:25 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-23  7:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v2 1/6] ARM: mach-imx/mx27_3ds: Use the standard i.MX macro for GPIO numbering Sascha Hauer

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).