BQ27xxx I2C support

modulename: bq27xxx_battery_i2c.ko

configname: CONFIG_BATTERY_BQ27XXX_I2C

Linux Kernel Configuration
└─>Device Drivers
└─>Power supply class support
└─>BQ27xxx I2C support
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Say Y here to enable support for batteries with BQ27xxx chips
connected over an I2C bus.

source code: