[PATCH V1 2/6] regulator: da9062: DA9062 regulator driver

2015-04-17 Thread S Twiss
From: S Twiss Add BUCK and LDO regulator driver support for DA9062 Signed-off-by: Steve Twiss --- This patch applies against linux-next and v4.0 drivers/regulator/Kconfig| 10 + drivers/regulator/Makefile | 1 + drivers/regulator/da9062-regulator.c | 968

Re: [PATCH V1 2/6] regulator: da9062: DA9062 regulator driver

2015-04-18 Thread Paul Bolle
I spotted only a license mismatch. On Fri, 2015-04-17 at 15:23 +0100, S Twiss wrote: > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation; either version 2 > + * of t

Re: [PATCH V1 2/6] regulator: da9062: DA9062 regulator driver

2015-04-18 Thread Mark Brown
On Fri, Apr 17, 2015 at 03:23:32PM +0100, S Twiss wrote: > +/* Regulator interrupt handlers */ > +static irqreturn_t da9062_ldo_lim_event(int irq, void *data) > +{ > + struct da9062_regulators *regulators = data; > + struct da9062 *hw = regulators->regulator[0].hw; > + struct da9062_re

RE: [PATCH V1 2/6] regulator: da9062: DA9062 regulator driver

2015-04-24 Thread Opensource [Steve Twiss]
On 18 April 2015 12:48 Mark Brown wrote: > On Fri, Apr 17, 2015 at 03:23:32PM +0100, S Twiss wrote: > > > +/* Regulator interrupt handlers */ > > +static irqreturn_t da9062_ldo_lim_event(int irq, void *data) > > +{ > > + struct da9062_regulators *regulators = data; > > + struct da9062 *hw =

Re: [PATCH V1 2/6] regulator: da9062: DA9062 regulator driver

2015-04-24 Thread Mark Brown
On Fri, Apr 24, 2015 at 02:47:06PM +, Opensource [Steve Twiss] wrote: > On 18 April 2015 12:48 Mark Brown wrote: > Okay. I think I am getting this. > As of v3.18 there are newer parts to regulator_desc from the commit > a0c7b16 "regulator: of: Provide simplified DT parsing method" > The sear