BQ24257SW-LINUX

Linux Driver for BQ2425x

BQ24257SW-LINUX

Overview

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 mainline: Yes
Available through git.ti.com: N/A 

Linux source files

The files associated with this device are:

  1. drivers/power/supply/bq24257_charger.c
  2. Documentation/devicetree/bindings/power/bq24257.txt

Source files

drivers/power/supply/bq24257_charger.c

Linux device tree documenation

Documentation/devicetree/bindings/power/bq24257.txt

 

Enabling driver support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or "make nconfig")

Menuconfig location

Symbol: CHARGER_BQ24257 [=y]Type  : tristatePrompt: 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 either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2.  Contact your TI representative.

 

Battery charger ICs
BQ24250 1-cell, 2-A, I2C controlled buck battery charger with 1uA in SYSOFF mode and TS disable function BQ24251 2A Single Input I2C/Standalone Switch-Mode Li-Ion Battery Charger BQ24257 2A Single Input I2C/Standalone Switch-Mode Li-Ion Battery Charger
Download View video with transcript Video

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support.

Videos