Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

Using community linux driver to program the BQ27441 Fuel Gauge

$
0
0

Dear Forum, 

I found two drivers, one specifically for BQ27441 (https://android.googlesource.com/kernel/tegra/+/b445e5296764d18861a6450f6851f25b9ca59dee/drivers/power/bq27441_battery.c  ) and other a more general driver for BQ27XXX (http://git.ti.com/bms-linux/bms-kernel/blobs/master/drivers/power/bq27x00_battery.c   ) class. 

Both are pretty well made and have most register definitions etc. and might be the preferred method for programming the gauges, due to use of a consistent API. However, I have not been able to figure out how to use them ?

Even If I include this file, or make changes to it, it requires other header files, that I can't find anywhere.

Can somebody show a minimal example of use of the above mentioned drivers or any other gauge driver ?

 

Thanks and Regards

Chintan Pathak 

Research Scholar, 

University of Washington


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>