Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* [PATCH] board-overo.c: enable TWL4030 power off
@ 2013-02-28 12:44 Andreas Müller
  2013-03-04 19:00 ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Müller @ 2013-02-28 12:44 UTC (permalink / raw)
  To: linux-omap; +Cc: steve

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 arch/arm/mach-omap2/board-overo.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index 86bab51..b975c72 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -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)
-- 
1.7.6.5

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] board-overo.c: enable TWL4030 power off
  2013-02-28 12:44 [PATCH] board-overo.c: enable TWL4030 power off Andreas Müller
@ 2013-03-04 19:00 ` Tony Lindgren
  2013-03-05  8:09   ` Andreas Müller
  2013-03-05  8:15   ` Andreas Müller
  0 siblings, 2 replies; 6+ messages in thread
From: Tony Lindgren @ 2013-03-04 19:00 UTC (permalink / raw)
  To: Andreas Müller; +Cc: linux-omap, steve

* Andreas Müller <schnitzeltony@googlemail.com> [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

> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  arch/arm/mach-omap2/board-overo.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
> index 86bab51..b975c72 100644
> --- a/arch/arm/mach-omap2/board-overo.c
> +++ b/arch/arm/mach-omap2/board-overo.c
> @@ -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)
> -- 
> 1.7.6.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] board-overo.c: enable TWL4030 power off
  2013-03-04 19:00 ` Tony Lindgren
@ 2013-03-05  8:09   ` Andreas Müller
  2013-03-05  8:15   ` Andreas Müller
  1 sibling, 0 replies; 6+ messages in thread
From: Andreas Müller @ 2013-03-05  8:09 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, steve, Ash Charles

On Mon, Mar 4, 2013 at 8:00 PM, Tony Lindgren <tony@atomide.com> wrote:
> * Andreas Müller <schnitzeltony@googlemail.com> [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
>
>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>> ---
>>  arch/arm/mach-omap2/board-overo.c |    5 +++++
>>  1 files changed, 5 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
>> index 86bab51..b975c72 100644
>> --- a/arch/arm/mach-omap2/board-overo.c
>> +++ b/arch/arm/mach-omap2/board-overo.c
>> @@ -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)
>> --
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] board-overo.c: enable TWL4030 power off
  2013-03-04 19:00 ` Tony Lindgren
  2013-03-05  8:09   ` Andreas Müller
@ 2013-03-05  8:15   ` Andreas Müller
  2013-03-05 18:43     ` Tony Lindgren
  2013-05-29  8:34     ` Florian Vaussard
  1 sibling, 2 replies; 6+ messages in thread
From: Andreas Müller @ 2013-03-05  8:15 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap

On Mon, Mar 4, 2013 at 8:00 PM, Tony Lindgren <tony@atomide.com> wrote:
> * Andreas Müller <schnitzeltony@googlemail.com> [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
>
>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>> ---
>>  arch/arm/mach-omap2/board-overo.c |    5 +++++
>>  1 files changed, 5 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
>> index 86bab51..b975c72 100644
>> --- a/arch/arm/mach-omap2/board-overo.c
>> +++ b/arch/arm/mach-omap2/board-overo.c
>> @@ -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)
>> --
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] board-overo.c: enable TWL4030 power off
  2013-03-05  8:15   ` Andreas Müller
@ 2013-03-05 18:43     ` Tony Lindgren
  2013-05-29  8:34     ` Florian Vaussard
  1 sibling, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2013-03-05 18:43 UTC (permalink / raw)
  To: Andreas Müller; +Cc: linux-omap

* Andreas Müller <schnitzeltony@googlemail.com> [130305 00:19]:
>
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] board-overo.c: enable TWL4030 power off
  2013-03-05  8:15   ` Andreas Müller
  2013-03-05 18:43     ` Tony Lindgren
@ 2013-05-29  8:34     ` Florian Vaussard
  1 sibling, 0 replies; 6+ messages in thread
From: Florian Vaussard @ 2013-05-29  8:34 UTC (permalink / raw)
  To: Andreas Müller; +Cc: Tony Lindgren, linux-omap

Hello Andreas,

On 03/05/2013 09:15 AM, Andreas Müller wrote:
> On Mon, Mar 4, 2013 at 8:00 PM, Tony Lindgren <tony@atomide.com> wrote:
>> * Andreas Müller <schnitzeltony@googlemail.com> [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
>>
>>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>>> ---
>>>   arch/arm/mach-omap2/board-overo.c |    5 +++++
>>>   1 files changed, 5 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
>>> index 86bab51..b975c72 100644
>>> --- a/arch/arm/mach-omap2/board-overo.c
>>> +++ b/arch/arm/mach-omap2/board-overo.c
>>> @@ -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)
>>> --
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-05-29  8:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28 12:44 [PATCH] board-overo.c: enable TWL4030 power off Andreas Müller
2013-03-04 19:00 ` Tony Lindgren
2013-03-05  8:09   ` Andreas Müller
2013-03-05  8:15   ` Andreas Müller
2013-03-05 18:43     ` Tony Lindgren
2013-05-29  8:34     ` Florian Vaussard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox