Ingenic JZ47xx SoCs battery driver

modulename: ingenic-battery.ko

configname: CONFIG_BATTERY_INGENIC

Linux Kernel Configuration
└─>Device Drivers
└─>Power supply class support
└─>Ingenic JZ47xx SoCs battery driver
In linux kernel since version 5.1 (release Date: 2019-05-05)  
Choose this option if you want to monitor battery status on
Ingenic JZ47xx SoC based devices.

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

source code:
depends
CONFIG_INGENIC_ADC
CONFIG_POWER_SUPPLY
CONFIG_COMPILE_TEST or CONFIG_MIPS