diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-05-09 17:19:13 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-05-09 17:19:13 -0400 |
commit | d61676b8f079d39808559e67c48a518fd14411ec (patch) | |
tree | 3fe6de7e33cba3938aa9bd417803d158ec393719 /arch/arm/mach-omap2/board-cm-t35.c | |
parent | 9624f615520696ffa845da2de56277197155b48c (diff) |
ARM: OMAP3: cm-t35: add support for power off
Enable the power off feature of the TPS65930 on-board PMIC.
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 909a8b91b564..d8c35a3c0fb7 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -498,6 +498,10 @@ static struct twl4030_gpio_platform_data cm_t35_gpio_data = { | |||
498 | .setup = cm_t35_twl_gpio_setup, | 498 | .setup = cm_t35_twl_gpio_setup, |
499 | }; | 499 | }; |
500 | 500 | ||
501 | static struct twl4030_power_data cm_t35_power_data = { | ||
502 | .use_poweroff = true, | ||
503 | }; | ||
504 | |||
501 | static struct twl4030_platform_data cm_t35_twldata = { | 505 | static struct twl4030_platform_data cm_t35_twldata = { |
502 | /* platform_data for children goes here */ | 506 | /* platform_data for children goes here */ |
503 | .keypad = &cm_t35_kp_data, | 507 | .keypad = &cm_t35_kp_data, |
@@ -505,6 +509,7 @@ static struct twl4030_platform_data cm_t35_twldata = { | |||
505 | .vmmc1 = &cm_t35_vmmc1, | 509 | .vmmc1 = &cm_t35_vmmc1, |
506 | .vsim = &cm_t35_vsim, | 510 | .vsim = &cm_t35_vsim, |
507 | .vio = &cm_t35_vio, | 511 | .vio = &cm_t35_vio, |
512 | .power = &cm_t35_power_data, | ||
508 | }; | 513 | }; |
509 | 514 | ||
510 | static void __init cm_t35_init_i2c(void) | 515 | static void __init cm_t35_init_i2c(void) |