Skip to contentSkip to conversation

board-overo.c: enable TWL4030 power off

PATCH In review Andreas Müller 3 participants 6 messages Feb 28, 2013 – May 29, 2013

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

PATCH 1/1 board-overo.c: enable TWL4030 power off

---
 arch/arm/mach-omap2/board-overo.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-overo.c +5 -0
index 86bab51..b975c72 100644
@@ -418,9 +418,14 @@ static struct regulator_init_data overo_vmmc1 = {
 	.consumer_supplies	= overo_vmmc1_supply,
 };
 
+static struct twl4030_power_data overo_power_data = {
+	.use_poweroff	= true,
+};
+
 static struct twl4030_platform_data overo_twldata = {
 	.gpio		= &overo_gpio_data,
 	.vmmc1		= &overo_vmmc1,
+	.power		= &overo_power_data,
 };
 
 static int __init overo_i2c_init(void)
Signature · 6 lines
1.7.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#1 lore raw

* Andreas Müller <[email protected]> [130228 04:50]:

Can you please add a description here? Preferrably something like "With commit XYZ overo poweroff stopped working. Fix this by blah blah blah" so this can be queued as a fix.

Regards,

Tony

Quoted 31 lines
---
 arch/arm/mach-omap2/board-overo.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-overo.c +5 -0
index 86bab51..b975c72 100644
@@ -418,9 +418,14 @@ static struct regulator_init_data overo_vmmc1 = {
 	.consumer_supplies	= overo_vmmc1_supply,
 };
 
+static struct twl4030_power_data overo_power_data = {
+	.use_poweroff	= true,
+};
+
 static struct twl4030_platform_data overo_twldata = {
 	.gpio		= &overo_gpio_data,
 	.vmmc1		= &overo_vmmc1,
+	.power		= &overo_power_data,
 };
 
 static int __init overo_i2c_init(void)
Signature · 6 lines
1.7.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 33 lines · Tony Lindgren

* Andreas Müller <[email protected]> [130228 04:50]:

Can you please add a description here? Preferrably something like "With commit XYZ overo poweroff stopped working. Fix this by blah blah blah" so this can be queued as a fix.

Regards,

Tony

Quoted 23 lines
---
 arch/arm/mach-omap2/board-overo.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-overo.c +5 -0
index 86bab51..b975c72 100644
@@ -418,9 +418,14 @@ static struct regulator_init_data overo_vmmc1 = {
      .consumer_supplies      = overo_vmmc1_supply,
 };
 
+static struct twl4030_power_data overo_power_data = {
+     .use_poweroff   = true,
+};
+
 static struct twl4030_platform_data overo_twldata = {
      .gpio           = &overo_gpio_data,
      .vmmc1          = &overo_vmmc1,
+     .power          = &overo_power_data,
 };
 
Quoted 2 lines

arch/arm/mach-omap2/board-overo.c static struct regulator_init_data overo_vmmc1 = {

Quoted 2 lines
arch/arm/mach-omap2/board-overo.c +0 -1
 static int __init overo_i2c_init(void)
--

AFAIK this has never been implemented mainline. Up to now I used a patch from Steve Sakoman implementing the commands for TWL to shut down - but this was never sent here and is no more required with TWL framework.

I will send V2 with more descriptive commit message till end of week.

Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Tony Lindgren
Quoted 33 lines · Tony Lindgren

* Andreas Müller <[email protected]> [130228 04:50]:

Can you please add a description here? Preferrably something like "With commit XYZ overo poweroff stopped working. Fix this by blah blah blah" so this can be queued as a fix.

Regards,

Tony

Quoted 23 lines
---
 arch/arm/mach-omap2/board-overo.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-overo.c +5 -0
index 86bab51..b975c72 100644
@@ -418,9 +418,14 @@ static struct regulator_init_data overo_vmmc1 = {
      .consumer_supplies      = overo_vmmc1_supply,
 };
 
+static struct twl4030_power_data overo_power_data = {
+     .use_poweroff   = true,
+};
+
 static struct twl4030_platform_data overo_twldata = {
      .gpio           = &overo_gpio_data,
      .vmmc1          = &overo_vmmc1,
+     .power          = &overo_power_data,
 };
 
Quoted 2 lines

arch/arm/mach-omap2/board-overo.c static struct regulator_init_data overo_vmmc1 = {

Quoted 2 lines
arch/arm/mach-omap2/board-overo.c +0 -1
 static int __init overo_i2c_init(void)
--

Sorry for the noise but I am newbie here and have one question:
Against which branch should patches send here be based on. Up to now I used Linus' mainline branch - is that OK?

Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#4 lore raw
Quoted 4 lines · Andreas Müller

Sorry for the noise but I am newbie here and have one question:
Against which branch should patches send here be based on. Up to now I used Linus' mainline branch - is that OK?

Yes that's perfect. It's usually best to use the most recent stable tag or development tag in Linus' tree. So that would be v3.9-rc1 currently for patches heading to v3.10 merge window.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Andreas Müller

Hello Andreas,

Quoted 34 lines · Andreas Müller
Quoted 33 lines · Tony Lindgren

* Andreas Müller <[email protected]> [130228 04:50]:

Can you please add a description here? Preferrably something like "With commit XYZ overo poweroff stopped working. Fix this by blah blah blah" so this can be queued as a fix.

Regards,

Tony

Quoted 23 lines
---
  arch/arm/mach-omap2/board-overo.c |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/board-overo.c +5 -0
index 86bab51..b975c72 100644
@@ -418,9 +418,14 @@ static struct regulator_init_data overo_vmmc1 = {
       .consumer_supplies      = overo_vmmc1_supply,
  };
 
+static struct twl4030_power_data overo_power_data = {
+     .use_poweroff   = true,
+};
+
  static struct twl4030_platform_data overo_twldata = {
       .gpio           = &overo_gpio_data,
       .vmmc1          = &overo_vmmc1,
+     .power          = &overo_power_data,
  };
 
Quoted 6 lines
Quoted 2 lines

arch/arm/mach-omap2/board-overo.c static struct regulator_init_data overo_vmmc1 = {

Quoted 2 lines
arch/arm/mach-omap2/board-overo.c +0 -1
  static int __init overo_i2c_init(void)
--

Sorry for the noise but I am newbie here and have one question:
Against which branch should patches send here be based on. Up to now I used Linus' mainline branch - is that OK?

Any plans to repost your patch?

Regards,

Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html