BQ2415XSW-LINUX

Linux Driver for BQ2415X

BQ2415XSW-LINUX

Overview

The Linux driver supports the BQ2415x series of fully integrated switch-mode one-cell Li-ion chargers. 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/bq2415x_charger.c

  2. Documentation/devicetree/bindings/power/bq2415x.txt

  3. include/linux/power/bq2415x_charger.h

Source files

drivers/power/supply/bq2415x_charger.c

Linux device tree documenation

Documentation/devicetree/bindings/power/bq2415x.txt

 

Other files

include/linux/power/bq2415x_charger.h

 

 

Enabling driver support

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

Menuconfig location

Symbol: CHARGER_BQ2415X [=y]Type  : tristatePrompt: TI BQ2415x battery charger driver  Location:    -> Device Drivers      -> Power supply class support (POWER_SUPPLY [=y])  Defined at drivers/power/supply/Kconfig:406  Depends on: POWER_SUPPLY [=y] && I2C [=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 here or contact your TI representative.

Battery charger ICs
BQ24150A I2C 1cell 1.25A Buck battery charger with OTG and 2KV HBM BQ24151 I2C 1cell 1.25A Buck battery charger with OTG and Automatic High Impedance Mode BQ24151A I2C 1cell 1.25A Buck battery charger with OTG and 2KV HBM & Automatic High Impedance Mode BQ24152 I2C 1cell 1.25A Buck battery charger with OTG and no battery detection at power up BQ24153 I2C 1cell 1.25A Buck battery charger with OTG and Vovp=6.5V BQ24153A I2C 1cell 1.55A Buck battery charger with OTG and Vovp=6.5V BQ24155 I2C 1cell 1.25A Buck battery charger BQ24156A I2C 1cell 1.55A Buck battery charger BQ24157S I2C 1cell 1.25A Buck battery charger with OTG BQ24158 I2C 1cell 1.25A Buck battery charger with OTG and no battery detection at power up
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