Linux Driver for BQ2425x BQ24257SW-LINUX (ACTIVE)
The Linux driver supports the BQ2425x Switch-Mode Li-Ion Battery Charger. The Linux driver supports communication through the I2C bus and interfaces with the power supply sub-system.
Linux Mainline Status
Available in Linux Main line: Yes
Available through git.ti.com: N/A
Linux Source Files
The files associated with this device are:
Linux Device Tree DocumenationDocumentation/devicetree/bindings/power/bq24257.txt
Enabling Driver Support
Configure kernel with "make menuconfig" (alternatively use "make xconfig" or "make nconfig")
Symbol: CHARGER_BQ24257 [=y] Type : tristate Prompt: TI BQ24250/24251/24257 battery charger driver Location: -> Device Drivers -> Power supply class support (POWER_SUPPLY [=y]) Defined at drivers/power/supply/Kconfig:423 Depends on: POWER_SUPPLY [=y] && I2C [=y] && (GPIOLIB [=y] || COMPILE_TEST [=y]) && REGMAP_I2C [=y]
Fixes and Code Enhancements
If there are fixes and or code enhancements that need to be added to this driver please either 1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Here or 2. Contact your TI representative.