Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-08-05 Thread Bill Huang
On Fri, 2013-08-02 at 22:39 +0800, Nishanth Menon wrote: > On 08/02/2013 12:45 AM, Bill Huang wrote: > > On Thu, 2013-08-01 at 21:08 +0800, Nishanth Menon wrote: > >> On 04:08-20130801, Bill Huang wrote: > >>> On Wed, 2013-07-31 at 19:57 +0800, Nishanth Menon wrote: > > If you notice the

Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-08-02 Thread Nishanth Menon
On 08/02/2013 12:45 AM, Bill Huang wrote: On Thu, 2013-08-01 at 21:08 +0800, Nishanth Menon wrote: On 04:08-20130801, Bill Huang wrote: On Wed, 2013-07-31 at 19:57 +0800, Nishanth Menon wrote: If you notice the reference code I send, atleast on TWL6035/37 variants of Palmas, USB IRQ unmask is

Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-08-01 Thread Bill Huang
On Thu, 2013-08-01 at 21:08 +0800, Nishanth Menon wrote: > On 04:08-20130801, Bill Huang wrote: > > On Wed, 2013-07-31 at 19:57 +0800, Nishanth Menon wrote: > > > > > > If you notice the reference code I send, atleast on TWL6035/37 variants > > > of Palmas, USB IRQ unmask is mandatory for power o

Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-08-01 Thread Nishanth Menon
On 04:08-20130801, Bill Huang wrote: > On Wed, 2013-07-31 at 19:57 +0800, Nishanth Menon wrote: > > > > If you notice the reference code I send, atleast on TWL6035/37 variants > > of Palmas, USB IRQ unmask is mandatory for power on with USB cable - > > example usage scenario: extremely low batte

Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-08-01 Thread Bill Huang
On Wed, 2013-07-31 at 19:57 +0800, Nishanth Menon wrote: > > If you notice the reference code I send, atleast on TWL6035/37 variants > of Palmas, USB IRQ unmask is mandatory for power on with USB cable - > example usage scenario: extremely low battery, device powered off, plug > in usb cable to

Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-07-31 Thread Nishanth Menon
On 11:20-20130731, Stephen Warren wrote: > On 07/31/2013 05:57 AM, Nishanth Menon wrote: > > On 07/31/2013 02:17 AM, Bill Huang wrote: > >> Hook up "pm_power_off" to palmas power off routine if there is DT > >> property "ti,system-power-controller" defined, so platform which is > >> powered by this

Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-07-31 Thread Stephen Warren
On 07/31/2013 05:57 AM, Nishanth Menon wrote: > On 07/31/2013 02:17 AM, Bill Huang wrote: >> Hook up "pm_power_off" to palmas power off routine if there is DT >> property "ti,system-power-controller" defined, so platform which is >> powered by this regulator can be powered off properly. >> >> Based

Re: [PATCH v2 1/1] mfd: palmas: Add power off control

2013-07-31 Thread Nishanth Menon
On 07/31/2013 02:17 AM, Bill Huang wrote: Hook up "pm_power_off" to palmas power off routine if there is DT property "ti,system-power-controller" defined, so platform which is powered by this regulator can be powered off properly. Based on work by: Mallikarjun Kasoju Signed-off-by: Bill Huang

[PATCH v2 1/1] mfd: palmas: Add power off control

2013-07-31 Thread Bill Huang
Hook up "pm_power_off" to palmas power off routine if there is DT property "ti,system-power-controller" defined, so platform which is powered by this regulator can be powered off properly. Based on work by: Mallikarjun Kasoju Signed-off-by: Bill Huang cc: Mallikarjun Kasoju --- .../devicetree