From: Peng Fan Date: Fri, 7 Aug 2015 08:43:44 +0000 (+0800) Subject: power: pmic: pfuze100 support driver model X-Git-Tag: KARO-TX6-2015-09-18~502 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=94b2627b40130b2ba01ffe35203001b3348215b1 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 Cc: Przemyslaw Marczak Cc: Simon Glass Reviewed-by: Simon Glass --- diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile index 6ef149aee7..25b3f92e4f 100644 --- a/drivers/power/pmic/Makefile +++ b/drivers/power/pmic/Makefile @@ -7,6 +7,7 @@ obj-$(CONFIG_DM_PMIC) += pmic-uclass.o obj-$(CONFIG_DM_PMIC_MAX77686) += max77686.o +obj-$(CONFIG_DM_PMIC_PFUZE100) += pfuze100.o obj-$(CONFIG_DM_PMIC_SANDBOX) += sandbox.o i2c_pmic_emul.o obj-$(CONFIG_PMIC_TPS65090) += tps65090.o obj-$(CONFIG_PMIC_S5M8767) += s5m8767.o