[U-Boot] [PATCH V3 5/6] power: regulator: add pfuze100 support

Simon Glass sjg at chromium.org
Fri Aug 7 21:09:39 CEST 2015


On 7 August 2015 at 02:43, Peng Fan <Peng.Fan at freescale.com> wrote:
> 1. Add new regulator driver pfuze100.
>    * Introduce struct pfuze100_regulator_desc for maintaining info
>      for one regulator.
> 2. Add new Kconfig entry DM_REGULATOR_PFUZE100 for pfuze100.
> 3. This driver intends to support PF100, PF200 and PF3000.
> 4. Add related macro definition in pfuze header file.
>
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> Cc: Przemyslaw Marczak <p.marczak at samsung.com>
> Cc: Simon Glass <sjg at chromium.org>
> ---
>
> Changes v3:
>  Discard the double pointer, using "struct pfuze100_regulator_platdata"
>  following Simon's suggestion.
>
> Changes v2:
>  Addressed Simon's comments.
>  1. Use pmic_reg_read/pmic_reg_write/pmic_clrsetbits
>  2. 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 at chromium.org>


More information about the U-Boot mailing list