BQ2515XSW-LINUX

Linux driver for BQ2515X

BQ2515XSW-LINUX

Overview

The Linux driver supports the BQ25155 I2C controlled, 1-cell, 500-mA linear 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: no   

Supported Devices:

  • BQ25150
  • BQ25155

Linux Source Files

The files associated with this device are:

  1. drivers/power/supply/bq2515x_charger.c

Source Files

drivers/power/supply/bq2515x_charger.c

 

Enabling Driver Support

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

Menuconfig Location

Symbol: CHARGER_BQ2515X [=y]

Type  : tristate

Prompt:TI BQ2515X battery charger family

  Location:

    -> Device Drivers

      -> Power supply class support (POWER_SUPPLY [=y])

  Defined at drivers/power/supply/Kconfig:618

  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 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.
Download View video with transcript Video

Support & training