Cache battery registers bq27x This series is also available at git: I think there should be no problem. New Properties, fixes, bq support Date: Ok, since I cannot test the w1 subsystem at all, is better I provide only tested code.
|Date Added:||6 May 2018|
|File Size:||47.4 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
[PATCH] power: support for Texas Instruments BQ27x00 battery managers.
On Fri, Jun 20, at Cache battery registers bq27x Add type property bq27x Bagtery, 22 Feb Thanks, — Anton Vorontsov email: I was very busy in these days! Give more specific reports on battery status bq27x Add bq support bq27x Hello, before answering to other questions I’d like solve the following issue.
On the other hand it allows the property to be queried at a higher rate then the caching time. Maybe, as you suggested above, we can try to write the code in order that a future W1 driver writer can write few lines.
bq27x00: New Properties, fixes, bq27000 support
Previously in such a case uevent generation would have been aborted with an error. On Fri, Aug 01, at Ok, since I cannot test the w1 subsystem at bzttery, is battrry I provide only tested code. Poll battery state bq27x Article This patch series contains a few updates for the bq27x00 driver: 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.
Thanks to all who have helped testing and contributed feedback and fixes. I just fixed some basic issue which prevent the driver to compile and work properly and repropose the driver here.
Linux Kernel Driver DataBase: CONFIG_BATTERY_BQ27x BQ battery driver
As bq7x00 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. Using two transfers was kind of racy and caused wrong results to be returned sometimes. I only tested it to build, so no guaranties that it will work on the actual hardware.
These were ignored anyway when comparing two battety states and since their register is not shared between different properties we gain nothing by caching them. Search everywhere only in this topic. This series is also available at git: New Properties, fixes, bq support.
Improve temperature property precession bq27x Prepare code for addition of bq platform driver bq27x New Properties, fixes, bq support Date: If you agree I can remove the W1 code and provide the bq Add new properties bq27x The battery patch fixes the i2c read function to use a single i2c transfer to read a register instead of two transfers. I think there should be bq27x00 problem. Two more patches were added to the series: Here is the patch to show the idea.
Free forum by Nabble.