projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd2691
)
pcm038: mux configuration for predefined gpio line
author
Luotao Fu
<l.fu@pengutronix.de>
Thu, 18 Jun 2009 10:21:51 +0000
(12:21 +0200)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Fri, 14 Aug 2009 10:41:04 +0000
(12:41 +0200)
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
arch/arm/mach-mx2/pcm038.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-mx2/pcm038.c
b/arch/arm/mach-mx2/pcm038.c
index 9a3483c8f58c17983ed8b34c0449b1598a79c370..ee65dda584cfbd51ec7a9fa4539badfac69d1dad 100644
(file)
--- a/
arch/arm/mach-mx2/pcm038.c
+++ b/
arch/arm/mach-mx2/pcm038.c
@@
-216,6
+216,9
@@
static void __init pcm038_init(void)
mxc_register_device(&mxc_i2c_device1, &pcm038_i2c_1_data);
+ /* PE18 for user-LED D40 */
+ mxc_gpio_mode(GPIO_PORTE | 18 | GPIO_GPIO | GPIO_OUT);
+
platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));
#ifdef CONFIG_MACH_PCM970_BASEBOARD