power: battery add dummy battery driver [1/1]
authorShuide Chen <shuide.chen@amlogic.com>
Thu, 21 Jun 2018 01:56:02 +0000 (09:56 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 1 Aug 2018 08:04:15 +0000 (01:04 -0700)
commit7ff97417010946a571dae391f9489429ff07dfa1
tree0cd88da8973d5bddbe306640dd53489a7650cc7a
parent5d415782ab008163654377d99c18a49a06a2abb5
power: battery add dummy battery driver [1/1]

PD#169027: add dummy battery and charger for CTS/VTS

some CTS and VTS testcases use the battery information, here
implement a dummy battery for it.
for P, it requires a dummy charger to set the online property to 1.

Change-Id: I7cf516f7050b3930cfdd933dc65b811289f89c4f
Signed-off-by: Shuide Chen <shuide.chen@amlogic.com>
MAINTAINERS
arch/arm64/boot/dts/amlogic/gxl_p212_1g.dts
arch/arm64/boot/dts/amlogic/gxl_p212_2g.dts
arch/arm64/boot/dts/amlogic/txlx_t962e_r321.dts
arch/arm64/configs/meson64_defconfig
drivers/amlogic/Kconfig
drivers/amlogic/Makefile
drivers/amlogic/battery/Kconfig [new file with mode: 0644]
drivers/amlogic/battery/Makefile [new file with mode: 0644]
drivers/amlogic/battery/amlogic_battery.c [new file with mode: 0644]
drivers/amlogic/battery/amlogic_charger.c [new file with mode: 0644]