summaryrefslogtreecommitdiff
path: root/drivers/misc/Makefile
diff options
context:
space:
mode:
authorƁukasz Majewski <l.majewski@samsung.com>2011-10-06 02:37:34 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:31 +0200
commite542b7f0a28f0a0ccb0921ed97f38e47afbb40d8 (patch)
tree7661824a5ec6b5b9e2ae848a7e81509c80e82567 /drivers/misc/Makefile
parente56daf635b4ae3598fcac83269dc659bff696cca (diff)
downloadu-boot-imx-e542b7f0a28f0a0ccb0921ed97f38e47afbb40d8.zip
u-boot-imx-e542b7f0a28f0a0ccb0921ed97f38e47afbb40d8.tar.gz
u-boot-imx-e542b7f0a28f0a0ccb0921ed97f38e47afbb40d8.tar.bz2
misc:pmic:core New generic PMIC driver
I2C or SPI PMIC devices can be accessed. Separate files: pmic_i2c.c and pmic_spi.c are responsible for handling transmission over I2C or SPI bus. New flags: CONFIG_PMIC - enable PMIC general device. CONFIG_PMIC_I2C/SPI - specify the interface to be used. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/misc/Makefile')
-rw-r--r--drivers/misc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index b152486..91c5bfa 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -35,6 +35,9 @@ COBJS-$(CONFIG_NS87308) += ns87308.o
COBJS-$(CONFIG_PDSP188x) += pdsp188x.o
COBJS-$(CONFIG_STATUS_LED) += status_led.o
COBJS-$(CONFIG_TWL4030_LED) += twl4030_led.o
+COBJS-$(CONFIG_PMIC) += pmic_core.o
+COBJS-$(CONFIG_PMIC_I2C) += pmic_i2c.o
+COBJS-$(CONFIG_PMIC_SPI) += pmic_spi.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)