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. I was very busy in these days! Thanks to all who have helped testing and contributed feedback and fixes. Prepare code for addition of bq platform driver bq27x My hardware just uses the I2C chip version so I cannot test the W1 one at all.
|Date Added:||4 February 2013|
|File Size:||18.79 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
bq2415x_charger.c: battery is discharged (fast, 224mA) when it should be charged
bq7x00 Using two transfers was kind of racy batteey caused wrong results to be returned sometimes. Thanks to all who have helped testing and contributed feedback and fixes. Poll battery state bq27x If you agree I can remove the W1 code and provide the bq This series is also available at git: Prepare code for addition of bq platform driver bq27x On the other hand it allows the property to be queried at a higher rate then the caching time.
On Fri, Jun 20, at My hardware just uses the I2C chip version so I cannot test the W1 one at all.
[PATCH] power: support for Texas Instruments BQ27x00 battery managers.
bq27x0 Ok, since I cannot test the w1 subsystem at all, is better I provide only tested code. I just fixed some basic issue which prevent the driver to compile and work properly and repropose the driver here.
I was very busy in these days! This series has so bq27s00 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.
As you can see at the top of the file I based this work an previour work by Texas Instruments people which never goes into linux vanilla but lives into linux-omap tree. Hello, before answering to other questions I’d like solve the following issue.
Article This patch series contains a few updates for the bq27x00 driver: Can you explain better what you mean? Cache battery registers bq27x New Properties, fixes, bq support. Here is the patch to show the idea.
Linux Kernel Driver DataBase: CONFIG_BATTERY_BQ27x BQ battery driver
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. On Fri, Aug 01, at I think there should be no problem. On Thu, Jul 31, at The other patch fixes the i2c read function to use a single i2c transfer to read a register instead of two transfers.
Maybe, as you suggested above, we can try to write the code in order that a future W1 driver writer can write few lines. Improve temperature property precession bq27x I only tested it to build, so no guaranties that it will work on the actual hardware.
Linux Kernel – [PATCH] power: support for Texas Instruments BQ27x00 battery managers.
Search everywhere only in this topic. Add bq support bq27x Add new properties bq27x Thanks, — Anton Vorontsov email: Previously in such a case uevent generation would have been aborted with an error.
Add type property bq27x Two more patches were added to the series: