projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9624f61
)
ARM: OMAP3: cm-t35: add support for power off
author
Igor Grinberg
<
[email protected]
>
Wed, 9 May 2012 21:19:13 +0000
(14:19 -0700)
committer
Tony Lindgren
<
[email protected]
>
Wed, 9 May 2012 21:19:13 +0000
(14:19 -0700)
Enable the power off feature of the TPS65930 on-board PMIC.
Signed-off-by: Igor Grinberg <
[email protected]
>
Signed-off-by: Tony Lindgren <
[email protected]
>
arch/arm/mach-omap2/board-cm-t35.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/board-cm-t35.c
b/arch/arm/mach-omap2/board-cm-t35.c
index 909a8b91b564278d5d481845d8ad5ba249f69d0e..d8c35a3c0fb70a2f46dce6649045750ffff465fe 100644
(file)
--- 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 = {
.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 = {
/* platform_data for children goes here */
.keypad = &cm_t35_kp_data,
@@
-505,6
+509,7
@@
static struct twl4030_platform_data cm_t35_twldata = {
.vmmc1 = &cm_t35_vmmc1,
.vsim = &cm_t35_vsim,
.vio = &cm_t35_vio,
+ .power = &cm_t35_power_data,
};
static void __init cm_t35_init_i2c(void)