Re: [PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-24 Thread Lee Jones
> > On some STMicroelectronics hardware reside regulators consisting > > partly of a PWM input connected to the feedback loop. As the PWM > > duty-cycle is varied the output voltage adapts. This driver > > allows us to vary the output voltage by adapting the PWM input > > duty-cycle. > > Applied,

Re: [PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-24 Thread Lee Jones
On some STMicroelectronics hardware reside regulators consisting partly of a PWM input connected to the feedback loop. As the PWM duty-cycle is varied the output voltage adapts. This driver allows us to vary the output voltage by adapting the PWM input duty-cycle. Applied, thanks.

Re: [PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-21 Thread Mark Brown
On Fri, Mar 21, 2014 at 10:21:36AM +, Lee Jones wrote: > On some STMicroelectronics hardware reside regulators consisting > partly of a PWM input connected to the feedback loop. As the PWM > duty-cycle is varied the output voltage adapts. This driver > allows us to vary the output voltage by

Re: [PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-21 Thread Josh Cartwright
On Fri, Mar 21, 2014 at 10:21:36AM +, Lee Jones wrote: > +static int st_pwm_regulator_set_voltage_sel(struct regulator_dev *dev, > + unsigned selector) > +{ > + struct st_pwm_regulator_data *drvdata = rdev_get_drvdata(dev); > + int dutycycle; > +

[PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-21 Thread Lee Jones
On some STMicroelectronics hardware reside regulators consisting partly of a PWM input connected to the feedback loop. As the PWM duty-cycle is varied the output voltage adapts. This driver allows us to vary the output voltage by adapting the PWM input duty-cycle. Signed-off-by: Lee Jones ---

[PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-21 Thread Lee Jones
On some STMicroelectronics hardware reside regulators consisting partly of a PWM input connected to the feedback loop. As the PWM duty-cycle is varied the output voltage adapts. This driver allows us to vary the output voltage by adapting the PWM input duty-cycle. Signed-off-by: Lee Jones

Re: [PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-21 Thread Josh Cartwright
On Fri, Mar 21, 2014 at 10:21:36AM +, Lee Jones wrote: +static int st_pwm_regulator_set_voltage_sel(struct regulator_dev *dev, + unsigned selector) +{ + struct st_pwm_regulator_data *drvdata = rdev_get_drvdata(dev); + int dutycycle; +

Re: [PATCH] regulator: Add new driver for ST's PWM controlled voltage regulators

2014-03-21 Thread Mark Brown
On Fri, Mar 21, 2014 at 10:21:36AM +, Lee Jones wrote: On some STMicroelectronics hardware reside regulators consisting partly of a PWM input connected to the feedback loop. As the PWM duty-cycle is varied the output voltage adapts. This driver allows us to vary the output voltage by