Re: [PATCH] board-overo.c: enable TWL4030 power off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 4, 2013 at 8:00 PM, Tony Lindgren <tony@xxxxxxxxxxx> wrote:
> * Andreas Müller <schnitzeltony@xxxxxxxxxxxxxx> [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@xxxxxxxxxxxxxx>
>> ---
>>  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux