power: pmic: pfuze100 support driver model
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 7 Aug 2015 08:43:44 +0000 (16:43 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:43 +0000 (08:17 +0200)
commit94b2627b40130b2ba01ffe35203001b3348215b1
treef50d068421b27be2e3eb8790181a8e0ada22294d
parent9324fbff8526f41ded10032493d162536824e062
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.

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/Makefile