
11 Oct
2016
11 Oct
'16
2:29 a.m.
On 29 September 2016 at 21:50, Keerthy j-keerthy@ti.com wrote:
Add support to bind the regulators/child nodes with the pmic. Also adds the pmic i2c based read/write funtions to access pmic registers.
Signed-off-by: Keerthy j-keerthy@ti.com Reviewed-by: Simon Glass sjg@chromium.org Reviewed-by: Tom Rini trini@konsulko.com
Changes in v6:
- Used dm_i2c_write and dm_i2c_read in place of dm_i2c_reg_write dm_i2c_reg_read respectively.
Changes in v5:
- Added pmic read/write functions.
drivers/power/pmic/Kconfig | 7 +++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/palmas.c | 104 ++++++++++++++++++++++++++++++++++++++++++++ include/power/palmas.h | 25 +++++++++++ 4 files changed, 137 insertions(+) create mode 100644 drivers/power/pmic/palmas.c create mode 100644 include/power/palmas.h
Applied to u-boot-dm, thanks!