The Linux driver supports the BQ24190 I2C controlled 4.5-A single cell charger. The Linux driver supports communication through the I2C bus and interfaces with the power supply sub-system.
Linux mainline status
Available in Linux mainline: Yes
Available through git.ti.com: N/A
Linux source files
The files associated with this device are:
- drivers/power/supply/bq24190_charger.c
- include/linux/power/bq24190_charger.h
Source files
drivers/power/supply/bq24190_charger.cOther files
include/linux/power/bq24190_charger.h
Enabling driver support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or "make nconfig")
Menuconfig location
Symbol: CHARGER_BQ24190 [=y]Type : tristatePrompt: TI BQ24190 battery charger driver Location: -> Device Drivers -> Power supply class support (POWER_SUPPLY [=y]) Defined at drivers/power/supply/Kconfig:416 Depends on: POWER_SUPPLY [=y] && I2C [=y] && (GPIOLIB [=y] || COMPILE_TEST [=y])
Fixes and code enhancements
If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2. Contact your TI representative.