Re: [PATCH v3] power_supply: Add driver for TWL4030/TPS65950 BCI charger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 27, 2010 at 4:24 PM, Grazvydas Ignotas <notasas@xxxxxxxxx> wrote:
> On Mon, Sep 27, 2010 at 10:21 AM, Arun Murthy <arunrmurthy.83@xxxxxxxxx> wrote:
>> On Mon, Sep 27, 2010 at 1:05 AM, Grazvydas Ignotas <notasas@xxxxxxxxx>
>> wrote:
>>> ---
>> Only AC and USB monitoring is achieved by registering with power supply
>> class.
>> How is battery monitored?
>> An instance of battery is to be registered with power supply class in order
>> to monitor battery.
>
> The problem is that BCI is only active while charging, when it is not
> charging most (all?) monitoring registers freeze and no monitoring
> happens (BCI registers read frozen values from last charge). So I
> don't register battery as it has no useful data to report. I heard it
> is possible to use MADC to perform monitoring while not charging, so
> battery can be added when MADC driver is merged and corresponding code
> is written for this driver.
>
How do I check the battery voltage?
I need to check the battery voltage/current/temp and, if I am not
wrong these are obtained from MADC.
MADC driver has to be added first and then the battery.
With being able to read the basic parameter battery voltage, this
driver becomes incomplete.

How do I get notified if battery voltage is low and needs charging
from user space?

Thanks and Regards,
Arun R Murthy
---------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux