Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-21 Thread Tony Lindgren
* NeilBrown [141118 19:45]: > On Wed, 12 Nov 2014 16:31:54 -0600 Felipe Balbi wrote: > > > > this is actually what the USB Battery Charging spec requires us to > > implement. If Linux is doing differently, it's a bug on Linux which > > should be fixed :-) > > > > No host is allowed to source mo

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-18 Thread NeilBrown
On Wed, 12 Nov 2014 16:31:54 -0600 Felipe Balbi wrote: > On Wed, Nov 12, 2014 at 01:20:27PM -0800, Tony Lindgren wrote: > > * Dr. H. Nikolaus Schaller [141112 12:28]: > > > Am 12.11.2014 um 16:45 schrieb Grazvydas Ignotas : > > > > On Tue, Nov 4, 2014 at 5:42 PM, Tony Lindgren wrote: > > > > >

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-12 Thread Felipe Balbi
On Wed, Nov 12, 2014 at 01:20:27PM -0800, Tony Lindgren wrote: > * Dr. H. Nikolaus Schaller [141112 12:28]: > > Am 12.11.2014 um 16:45 schrieb Grazvydas Ignotas : > > > On Tue, Nov 4, 2014 at 5:42 PM, Tony Lindgren wrote: > > > > > > Pandora does, as well as GTA04 AFAIK, > > > > Yes. The trick

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-12 Thread Tony Lindgren
* Dr. H. Nikolaus Schaller [141112 12:28]: > Am 12.11.2014 um 16:45 schrieb Grazvydas Ignotas : > > On Tue, Nov 4, 2014 at 5:42 PM, Tony Lindgren wrote: > > > > Pandora does, as well as GTA04 AFAIK, > > Yes. The trick is that the power level that turns on the device is a little > higher > and

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-12 Thread Dr. H. Nikolaus Schaller
Am 12.11.2014 um 16:45 schrieb Grazvydas Ignotas : > On Tue, Nov 4, 2014 at 5:42 PM, Tony Lindgren wrote: >> * Igor Grinberg [141104 05:22]: >>> Hi Tony, >>> >>> On 11/02/14 20:07, Tony Lindgren wrote: Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset configuration") enable

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-12 Thread Tony Lindgren
* Grazvydas Ignotas [141112 07:46]: > On Tue, Nov 4, 2014 at 5:42 PM, Tony Lindgren wrote: > > * Igor Grinberg [141104 05:22]: > >> Hi Tony, > >> > >> On 11/02/14 20:07, Tony Lindgren wrote: > >> > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > >> > configuration") enabled configu

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-12 Thread Grazvydas Ignotas
On Tue, Nov 4, 2014 at 5:42 PM, Tony Lindgren wrote: > * Igor Grinberg [141104 05:22]: >> Hi Tony, >> >> On 11/02/14 20:07, Tony Lindgren wrote: >> > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset >> > configuration") enabled configuring the PM features for twl4030. >> > >> > This ca

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-11 Thread Lee Jones
On Mon, 10 Nov 2014, Russell King - ARM Linux wrote: > On Mon, Nov 10, 2014 at 12:40:19PM +, Lee Jones wrote: > > On Sun, 02 Nov 2014, Tony Lindgren wrote: > > > > > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > > > configuration") enabled configuring the PM features for twl40

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-10 Thread Russell King - ARM Linux
On Mon, Nov 10, 2014 at 12:40:19PM +, Lee Jones wrote: > On Sun, 02 Nov 2014, Tony Lindgren wrote: > > > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > > configuration") enabled configuring the PM features for twl4030. > > > > This caused poweroff command to fail on devices tha

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-10 Thread Lee Jones
On Sun, 02 Nov 2014, Tony Lindgren wrote: > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > configuration") enabled configuring the PM features for twl4030. > > This caused poweroff command to fail on devices that have the > BCI charger on twl4030 wired, or have power wired for VBUS

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-07 Thread Russell King - ARM Linux
On Sun, Nov 02, 2014 at 10:07:56AM -0800, Tony Lindgren wrote: > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > configuration") enabled configuring the PM features for twl4030. > > This caused poweroff command to fail on devices that have the > BCI charger on twl4030 wired, or have

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-04 Thread Tony Lindgren
* Igor Grinberg [141104 09:54]: > On 11/04/14 17:42, Tony Lindgren wrote: > > * Igor Grinberg [141104 05:22]: > >> Hi Tony, > >> > >> On 11/02/14 20:07, Tony Lindgren wrote: > >>> Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > >>> configuration") enabled configuring the PM features

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-04 Thread Igor Grinberg
On 11/04/14 17:42, Tony Lindgren wrote: > * Igor Grinberg [141104 05:22]: >> Hi Tony, >> >> On 11/02/14 20:07, Tony Lindgren wrote: >>> Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset >>> configuration") enabled configuring the PM features for twl4030. >>> >>> This caused poweroff comm

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-04 Thread Tony Lindgren
* Igor Grinberg [141104 05:22]: > Hi Tony, > > On 11/02/14 20:07, Tony Lindgren wrote: > > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > > configuration") enabled configuring the PM features for twl4030. > > > > This caused poweroff command to fail on devices that have the > > BC

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-04 Thread Igor Grinberg
Hi Tony, On 11/02/14 20:07, Tony Lindgren wrote: > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > configuration") enabled configuring the PM features for twl4030. > > This caused poweroff command to fail on devices that have the > BCI charger on twl4030 wired, or have power wired f

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-03 Thread Lee Jones
On Sun, 02 Nov 2014, Tony Lindgren wrote: > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > configuration") enabled configuring the PM features for twl4030. > > This caused poweroff command to fail on devices that have the > BCI charger on twl4030 wired, or have power wired for VBUS

[PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-02 Thread Tony Lindgren
Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset configuration") enabled configuring the PM features for twl4030. This caused poweroff command to fail on devices that have the BCI charger on twl4030 wired, or have power wired for VBUS. Instead of powering off, the device reboots. This i