summaryrefslogtreecommitdiff
path: root/drivers/misc/pmic_i2c.c
Commit message (Collapse)AuthorAgeLines
* misc: pmic: use I2C_SET_BUS in pmic I2CStefano Babic2012-04-20-1/+1
| | | | | | | | Instead of using directly the i2c_set_bus() function, the I2C_SET_BUS macro must be used to avoid build errors for targets without multibus I2C. Signed-off-by: Stefano Babic <sbabic@denx.de>
* misc:pmic:core New generic PMIC driverƁukasz Majewski2012-04-20-0/+92
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>