Re: [PATCH v3 1/3] regulator: act8865: add PMIC act8865 driver

2013-12-18 Thread Mark Brown
On Wed, Dec 18, 2013 at 01:14:49PM +0800, Wenyou Yang wrote: > +/* ACt8865 voltage table */ > +static const unsigned int act8865_voltages_table[] = { > + 60, 625000, 65, 675000, Like I say you should be able to use regulator_map_voltage_linear_range().

Re: [PATCH v3 1/3] regulator: act8865: add PMIC act8865 driver

2013-12-18 Thread Mark Brown
On Wed, Dec 18, 2013 at 01:14:49PM +0800, Wenyou Yang wrote: +/* ACt8865 voltage table */ +static const unsigned int act8865_voltages_table[] = { + 60, 625000, 65, 675000, Like I say you should be able to use regulator_map_voltage_linear_range().

[PATCH v3 1/3] regulator: act8865: add PMIC act8865 driver

2013-12-17 Thread Wenyou Yang
Signed-off-by: Wenyou Yang --- drivers/regulator/Kconfig |8 + drivers/regulator/Makefile|1 + drivers/regulator/act8865-regulator.c | 381 + include/linux/regulator/act8865.h | 53 + 4 files changed, 443 insertions(+)

[PATCH v3 1/3] regulator: act8865: add PMIC act8865 driver

2013-12-17 Thread Wenyou Yang
Signed-off-by: Wenyou Yang wenyou.y...@atmel.com --- drivers/regulator/Kconfig |8 + drivers/regulator/Makefile|1 + drivers/regulator/act8865-regulator.c | 381 + include/linux/regulator/act8865.h | 53 + 4 files changed,