Skip to contentSkip to conversation

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

PATCH New Igor Grinberg 2 participants 4 messages Mar 28, 2012 – May 8, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: OMAP3: cm-t35: add support for power off

Enable the power off feature of the TPS65930 on-board PMIC.

---
 arch/arm/mach-omap2/board-cm-t35.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-cm-t35.c +5 -0
index 8770be1..46275c6 100644
@@ -499,6 +499,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,
@@ -506,6 +510,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)
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 ARM: OMAP3: cm-t35: add support for power off

ping!

Tony, can this please, go into 3.5?

Quoted 30 lines · Igor Grinberg

Enable the power off feature of the TPS65930 on-board PMIC.

---
 arch/arm/mach-omap2/board-cm-t35.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-cm-t35.c +5 -0
index 8770be1..46275c6 100644
@@ -499,6 +499,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,
@@ -506,6 +510,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)
Signature · 2 lines
Regards,
Igor.
#2 lore raw

PATCH 1/1 ARM: OMAP3: cm-t35: add support for power off

ping x2

Quoted 36 lines · Igor Grinberg

ping!

Tony, can this please, go into 3.5?

Quoted 30 lines · Igor Grinberg

Enable the power off feature of the TPS65930 on-board PMIC.

---
 arch/arm/mach-omap2/board-cm-t35.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-cm-t35.c +5 -0
index 8770be1..46275c6 100644
@@ -499,6 +499,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,
@@ -506,6 +510,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)
Signature · 2 lines
Regards,
Igor.
maintainer
#3 lore raw

PATCH 1/1 ARM: OMAP3: cm-t35: add support for power off

Quoted 1 line · Igor Grinberg

ping x2

Thanks for patience, applying into board branch finally.

Tony