We used TI bq27421 battery fuel gauge in the product.
1) About the product, please refer as follows:
1-1) SoC: MIPS processor
1-2) OS: OpenWrt (Linux kernel 3.7.6)
1-3) The bq27421 is connected to the I2C-bus (400 KHz) via i2c-gpio.
2) About the Linux driver for bq27421, we found several sample codes in the WEB sites as follows:
2-1) Linux/Android Software Solutions for TI Single-cell Gas Gauges
processors.wiki.ti.com/.../Android_Software_Solutions_for_TI_Single-cell_Gas_Gauges
2-2) android / kernel / tegra / b445e5296764d18861a6450f6851f25b9ca59dee / . / drivers / power
android.googlesource.com/.../power
2-2-1) bq27441_battery.c
2-3) android / kernel / msm.git / 511b239792d76efc7456ef92735a1257c95eac44 / . / drivers / power /
android / kernel / msm.git / 511b239792d76efc7456ef92735a1257c95eac44 / . / drivers / power /
2-3-1) bq27541_fuelgauge.c
2-4) In the Linux kernel downloaded from FTP site (ftp.kernel.org).
2-4-1) linux-4.4/drivers/power/bq27xxx_battery.c
For the product, could you tell us which sample codes in item 2) should we use for bq27421?
Thank you.