GPIO charger

modulename: gpio-charger.ko

configname: CONFIG_CHARGER_GPIO

Linux Kernel Configuration
└─>Device Drivers
└─>Power supply class support
└─>GPIO Support
└─>GPIO charger
In linux kernel since version 2.6.38 (release Date: 2011-03-14)  
Say Y to include support for chargers which report their online status
through a GPIO pin.

This driver can be build as a module. If so, the module will be
called gpio-charger.

source code:
depends
CONFIG_POWER_SUPPLY
CONFIG_COMPILE_TEST or CONFIG_GPIOLIB