Commit d61676b8 authored by Igor Grinberg's avatar Igor Grinberg Committed by Tony Lindgren

ARM: OMAP3: cm-t35: add support for power off

Enable the power off feature of the TPS65930 on-board PMIC.
Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9624f615
...@@ -498,6 +498,10 @@ static struct twl4030_gpio_platform_data cm_t35_gpio_data = { ...@@ -498,6 +498,10 @@ static struct twl4030_gpio_platform_data cm_t35_gpio_data = {
.setup = cm_t35_twl_gpio_setup, .setup = cm_t35_twl_gpio_setup,
}; };
static struct twl4030_power_data cm_t35_power_data = {
.use_poweroff = true,
};
static struct twl4030_platform_data cm_t35_twldata = { static struct twl4030_platform_data cm_t35_twldata = {
/* platform_data for children goes here */ /* platform_data for children goes here */
.keypad = &cm_t35_kp_data, .keypad = &cm_t35_kp_data,
...@@ -505,6 +509,7 @@ static struct twl4030_platform_data cm_t35_twldata = { ...@@ -505,6 +509,7 @@ static struct twl4030_platform_data cm_t35_twldata = {
.vmmc1 = &cm_t35_vmmc1, .vmmc1 = &cm_t35_vmmc1,
.vsim = &cm_t35_vsim, .vsim = &cm_t35_vsim,
.vio = &cm_t35_vio, .vio = &cm_t35_vio,
.power = &cm_t35_power_data,
}; };
static void __init cm_t35_init_i2c(void) static void __init cm_t35_init_i2c(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment