]> git.dujemihanovic.xyz Git - u-boot.git/commit
pmic: Extend PMIC framework to support battery related commands
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 13 Nov 2012 03:22:12 +0000 (03:22 +0000)
committerAnatolij Gustschin <agust@denx.de>
Wed, 14 Nov 2012 10:21:12 +0000 (11:21 +0100)
commit7d19629f8ee62c594629cd998ba7d89a4fc8ec18
tree664a9d2ea2f19e021f6aac233a717bc955533948
parentbdee9c8501837c80316a0febb5e9ff79f02767f0
pmic: Extend PMIC framework to support battery related commands

Two extra commands:
"pmic name bat state" and "pmic name bat charge" has been added to
pmic framework. Those provides state display and charge capabilities
to named batteries.

The pmic_core.c file has been refactored to more consistent name scheme.

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/power/pmic_core.c