RE: [PATCH 1/2] mfd: dt: tps6586x: Add power off control

2012-08-17 Thread Bill Huang
nvpublic > On Fri, Aug 17, 2012 at 02:16:28AM -0700, Bill Huang wrote: > [...] > > diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c > [...] > > @@ -505,6 +519,11 @@ static int __devinit tps6586x_i2c_probe(struct > > i2c_client *client, > > goto err_add_devs; > > } > > >

Re: [PATCH 1/2] mfd: dt: tps6586x: Add power off control

2012-08-17 Thread Stephen Warren
On 08/17/2012 03:16 AM, Bill Huang wrote: > Add DT property "ti,system-power-controller" telling whether or not this > pmic is in charge of controlling the system power, so the power off > routine can be hooked up to system call "pm_power_off". > > Based on the work by: > Dan Willemsen > > Signe

Re: [PATCH 1/2] mfd: dt: tps6586x: Add power off control

2012-08-17 Thread Thierry Reding
On Fri, Aug 17, 2012 at 02:16:28AM -0700, Bill Huang wrote: [...] > diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c [...] > @@ -505,6 +519,11 @@ static int __devinit tps6586x_i2c_probe(struct > i2c_client *client, > goto err_add_devs; > } > > + tps6586x_dev =