Linux Driver for BQ2425x

(ACTIVE) BQ24257SW-LINUX

Description & Features

Technical Documents

Support & Training

Order Now



Description

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

Supported Devices:

  • bq24257
  • bq24250
  • bq24251

 

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  : 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.

 

TI Devices (3)

Part Number Name Product Family
BQ24250  2A Single Input I2C/Standalone Switch-Mode Li-Ion Battery Charger  Battery management 
BQ24251  2A Single Input I2C/Standalone Switch-Mode Li-Ion Battery Charger  Battery management 
BQ24257  2A Single Input I2C/Standalone Switch-Mode Li-Ion Battery Charger  Battery management 

Support & training

Search our extensive online knowledge base where millions of technical questions and answers are available 24/7.

Search answers from TI experts

Content is provided 'AS IS' by the respective 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 visit our Support page.

Blogs