Thanks to all who have helped testing and contributed feedback and fixes. Look for an array like this:. This series is also available at git: This means it will reload default values every time the battery is inserted. Article This patch series contains a few updates for the bq27x00 driver: This page has been accessed 4, times.

Uploader: Yozil
Date Added: 21 August 2015
File Size: 54.82 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 70475
Price: Free* [*Free Regsitration Required]

Replace “bqxx” in this example with the correct device for your platform.

Release 4.9 drivers/power/supply/bq27xxx_battery_i2c.c

Give more specific reports on battery status bq27x The driver does not have a mechanism to save and restore Ra values and Qmax as suggested in the Quick Start Guide of bqxx devices.

Please note as of Wednesday, August 15th, bq277200 wiki has been set to read only. Cache battery registers bq27x Add bq support bq27x On the other hand it allows the property to be queried at a higher rate then the caching time. This series is also available at git: If you are building bqtool using Android build system as above here is a caveat.

/sys/class/power_supply/bq/capacity changed meaning between and ? – Patchwork

Add type property bq27x Article This patch series contains a few updates for the bq27x00 driver: For technical support please post your questions at http: If you are a TI Employee and require Edit ability please contact x from the company directory.


New Properties, fixes, bq support. Look for an array like this:. These were ignored anyway when comparing two battery states and since their register is not shared between different properties we gain nothing by caching them.

Improve temperature property precession bq27x Two more patches were added to the series: Thanks to all who have pinux testing and contributed feedback and fixes.

The following patch demonstrates how bqxx support was added on Beaglebone Black assuming it is connected to I2C1 bus.

linux-kernel – Re: [PATCH] rx add bq i2c board info

vq27200 Previously in such a case uevent generation would have been aborted with an error. Prepare code for addition of bq platform driver bq27x Although bqtool is created for Android it can be easily ported for any Linux system.

File IO is not supported in the kernel, so this will have to be done from the user-land. In some versions of Android, Bionic’s include folder doesn’t contain “i2c-dev.


bq27x00: New Properties, fixes, bq27000 support

Tue, 22 Feb This page was last modified on 9 Octoberat This page has been accessed 4, times. However, more features will be added in the future. Using two transfers was kind of racy and caused wrong results to be returned sometimes.

New Properties, fixes, bq support Date: Retrieved from ” http: From Texas Instruments Wiki. This series has so far been tested with the bq and the bq battery, but not with the bq battery, so it would be nice if somebody with a board containing such a battery could test the patches to make sure that there are no regressions.

Views Read View source View history. This will require the driver to store these parameters in a file and retrieve them later.

Start the discussion

Leave a Reply

Your email address will not be published. Required fields are marked *