Skip to content

Commit

Permalink
ARM: mxs: add mxs-sgtl5000 device
Browse files Browse the repository at this point in the history
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
  • Loading branch information
Dong Aisheng authored and Sascha Hauer committed Aug 23, 2011
1 parent 074c54f commit ce9b8e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-mxs/mach-mx28evk.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ static void __init mx28evk_init(void)
i2c_register_board_info(0, mxs_i2c0_board_info,
ARRAY_SIZE(mxs_i2c0_board_info));

mxs_add_platform_device("mxs-sgtl5000", 0, NULL, 0,
NULL, 0);

/* power on mmc slot by writing 0 to the gpio */
ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW,
"mmc0-slot-power");
Expand Down

0 comments on commit ce9b8e6

Please sign in to comment.