X-Powers AXP20X battery driver

modulename: axp20x_battery.ko

configname: CONFIG_BATTERY_AXP20X

Linux Kernel Configuration
└─>Device Drivers
└─>Power supply class support
└─>X-Powers AXP20X battery driver
In linux kernel since version 4.2 (release Date: 2015-08-30)  
Say Y here to enable support for X-Powers AXP20X PMICs' battery power
supply.

This driver can also be built as a module. If so, the module will be
called axp20x_battery.

source code: