]> git.sur5r.net Git - u-boot/commit
misc:pmic:core New generic PMIC driver
authorŁukasz Majewski <l.majewski@samsung.com>
Thu, 6 Oct 2011 02:37:34 +0000 (02:37 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:31 +0000 (21:56 +0200)
commite542b7f0a28f0a0ccb0921ed97f38e47afbb40d8
tree7661824a5ec6b5b9e2ae848a7e81509c80e82567
parente56daf635b4ae3598fcac83269dc659bff696cca
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>
drivers/misc/Makefile
drivers/misc/pmic_core.c [new file with mode: 0644]
drivers/misc/pmic_i2c.c [new file with mode: 0644]
drivers/misc/pmic_spi.c [new file with mode: 0644]
include/pmic.h [new file with mode: 0644]