power: pmic: Palmas: Add the base pmic support
authorKeerthy <j-keerthy@ti.com>
Fri, 30 Sep 2016 03:50:43 +0000 (09:20 +0530)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Oct 2016 16:17:05 +0000 (10:17 -0600)
commit33621d247e771168ebaab2218d02e625371d144a
treed2c775025a378d649ccdf5977d4b2c24f4f23d32
parent34514b8b9ce287e2b8e90c77974889d8c53656fe
power: pmic: Palmas: Add the base pmic support

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>
drivers/power/pmic/Kconfig
drivers/power/pmic/Makefile
drivers/power/pmic/palmas.c [new file with mode: 0644]
include/power/palmas.h [new file with mode: 0644]