aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2011-07-19 23:41:44 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-23 02:56:14 -0400
commitce9b8e6f9f8bf363c30024ba900e75a1af734742 (patch)
treea9090d0c9ca04decc5e3326462e03ff44e6a058d /arch/arm/mach-mxs
parent074c54f4226ff97e6ac0a6564d5999fa87adfa90 (diff)
ARM: mxs: add mxs-sgtl5000 device
Signed-off-by: Dong Aisheng <b29396@freescale.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r--arch/arm/mach-mxs/mach-mx28evk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c
index fe5ea4149e8b..521c4d5fd90f 100644
--- a/arch/arm/mach-mxs/mach-mx28evk.c
+++ b/arch/arm/mach-mxs/mach-mx28evk.c
@@ -424,6 +424,9 @@ static void __init mx28evk_init(void)
424 i2c_register_board_info(0, mxs_i2c0_board_info, 424 i2c_register_board_info(0, mxs_i2c0_board_info,
425 ARRAY_SIZE(mxs_i2c0_board_info)); 425 ARRAY_SIZE(mxs_i2c0_board_info));
426 426
427 mxs_add_platform_device("mxs-sgtl5000", 0, NULL, 0,
428 NULL, 0);
429
427 /* power on mmc slot by writing 0 to the gpio */ 430 /* power on mmc slot by writing 0 to the gpio */
428 ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW, 431 ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW,
429 "mmc0-slot-power"); 432 "mmc0-slot-power");