Thread (10 messages) 10 messages, 3 authors, 2011-02-22
STALE5592d

[PATCH 4/5] arm: mach-mx3: pcm043: add write-protect and card-detect for SD1

From: festevam@gmail.com (Fabio Estevam)
Date: 2011-02-22 19:26:51
Also in: linux-mmc

Hi Wolfram,

On Tue, Feb 22, 2011 at 9:58 AM, Wolfram Sang [off-list ref] wrote:
...
?#define AC97_GPIO_TXFS (1 * 32 + 31)
?#define AC97_GPIO_TXD ?(1 * 32 + 28)
?#define AC97_GPIO_RESET ? ? ? ?(1 * 32 + 0)

+#define SD1_GPIO_WP ? ?(1 * 32 + 23)
+#define SD1_GPIO_CD ? ?(1 * 32 + 24)
You could also do:

+#define SD1_GPIO_WP    IMX_GPIO_NR(2, 23)
+#define SD1_GPIO_CD     IMX_GPIO_NR(2, 24)

Regards,

Fabio Estevam
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help