
7 Aug
2015
7 Aug
'15
9:09 p.m.
On 7 August 2015 at 02:43, Peng Fan Peng.Fan@freescale.com wrote:
- Add new regulator driver pfuze100.
- Introduce struct pfuze100_regulator_desc for maintaining info for one regulator.
- Add new Kconfig entry DM_REGULATOR_PFUZE100 for pfuze100.
- This driver intends to support PF100, PF200 and PF3000.
- Add related macro definition in pfuze header file.
Signed-off-by: Peng Fan Peng.Fan@freescale.com Cc: Przemyslaw Marczak p.marczak@samsung.com Cc: Simon Glass sjg@chromium.org
Changes v3: Discard the double pointer, using "struct pfuze100_regulator_platdata" following Simon's suggestion.
Changes v2: Addressed Simon's comments.
- Use pmic_reg_read/pmic_reg_write/pmic_clrsetbits
- blank line between declarations and rest
drivers/power/regulator/Kconfig | 8 + drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pfuze100.c | 568 +++++++++++++++++++++++++++++++++++++ include/power/pfuze100_pmic.h | 24 +- 4 files changed, 597 insertions(+), 4 deletions(-) create mode 100644 drivers/power/regulator/pfuze100.c
Acked-by: Simon Glass sjg@chromium.org