This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ25988 driver issue

Other Parts Discussed in Thread: BQ25890, BQ25898

Hi,


I am using BQ25898 chip for drivers/power/bq25890_charger.c driver modified as per naming . below are log linux kernel

root@linaro-developer:~# dmesg | grep bq
[    3.476932] BQ25898: start of bq25898_probe:807
[    3.511290] BQ25898: end of bq25898_probe:916


probe successfully .

root@linaro-developer:~# cat /sys/class/power_supply/bq25898-charger/uevent
POWER_SUPPLY_NAME=bq25898-charger
POWER_SUPPLY_MANUFACTURER=Texas Instruments
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_ONLINE=0
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_CONSTANT_CHARGE_CURRENT=0
POWER_SUPPLY_CONSTANT_CHARGE_CURRENT_MAX=5056000
POWER_SUPPLY_CONSTANT_CHARGE_VOLTAGE=0
POWER_SUPPLY_CONSTANT_CHARGE_VOLTAGE_MAX=4608000
POWER_SUPPLY_CHARGE_TERM_CURRENT=64000
 

root@linaro-developer:~# cat /sys/class/power_supply/bq25898-charger/online
0
root@linaro-developer:~#

POWER_SUPPLY_ONLINE=0 is zero it is required 1 ?


How to set this functionality ?

Thanks

Tejas patil