Add missing part of: "power: pmic: pfuze100 support driver model"
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 14 Aug 2015 09:36:16 +0000 (11:36 +0200)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 14 Aug 2015 14:53:02 +0000 (16:53 +0200)
commit1c1f6076b9668cd04f4b13c011e72ee4e3c872f6
tree8d4823d2f7dc28cd2737a00051d3fd15999dea17
parentbbc1b99e8b8a1b87c2d0d959a1fcd1990abe82dd
Add missing part of: "power: pmic: pfuze100 support driver model"

This part of mentioned commit, was missed by my mistake during the rebase.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Original commit message:
power: pmic: pfuze100 support driver model

1. Support driver model for pfuze100.
2. Introduce a new Kconfig entry DM_PMIC_PFUZE100 for pfuze100
3. This driver intends to support PF100, PF200 and PF3000, so add
   the device id into the udevice_id array.
4. Rename PMIC_NUM_OF_REGS macro to PFUZE100_NUM_OF_REGS.

Change-Id: I4fc88414f3c0285f9648e47ec7aed60addeccc4d
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/pmic/Kconfig
drivers/power/pmic/pfuze100.c [new file with mode: 0644]
drivers/power/pmic/pmic_pfuze100.c
include/power/pfuze100_pmic.h