Re: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-14 Thread Linus Walleij
On Mon, Aug 5, 2013 at 9:09 AM, Kim, Milo wrote: > In the meantime, I've reviewed the pin control subsystem, > I think it is not the best way to implement LP3943 driver. > The GPIO controller is OK, but I can't make flexible pin assignment for the > PWM > operation. > For example, multiple outpu

Re: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-05 Thread Lee Jones
> > > > Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is > > > > there nothing we can do about that? > > > > > > OK, enum value of lp3943_pwm_output can be changed as below because > > > LP3943_PWM_INVALID is not used anymore. > > > > > > enum lp3943_pwm_output { > > > LP3943_

RE: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-05 Thread Kim, Milo
> > > Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is > > > there nothing we can do about that? > > > > OK, enum value of lp3943_pwm_output can be changed as below because > > LP3943_PWM_INVALID is not used anymore. > > > > enum lp3943_pwm_output { > > LP3943_PWM_OUT0, > >

Re: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-01 Thread Lee Jones
On Wed, 31 Jul 2013, Kim, Milo wrote: > Thanks for the review, please see my comments. > > > * looks good up to me up to here * > > > > Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is > > there nothing we can do about that? > > OK, enum value of lp3943_pwm_output can be ch

RE: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-07-31 Thread Kim, Milo
Thanks for the review, please see my comments. > * looks good up to me up to here * > > Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is > there nothing we can do about that? OK, enum value of lp3943_pwm_output can be changed as below because LP3943_PWM_INVALID is not used a

Re: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-07-31 Thread Lee Jones
> Cc: Lee Jones > Cc: Linus Walleij > Cc: Mark Brown > Cc: Samuel Ortiz > Cc: Thierry Reding > Signed-off-by: Milo Kim > --- > drivers/mfd/Kconfig| 11 +++ > drivers/mfd/Makefile |1 + > drivers/mfd/lp3943.c | 165 > >