| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
| |
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
| |
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
Check_charge_full function is added to determine the charge full
condition. Added a function calculate the charge cycles. Temperature
based charging worker is modified according to support SW charge
termination and maintenance charging.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
To support fuel gauging Energy now, Energy full, charge counter and capacity
level Sysfs Interfaces are added to driver.
A table is added to look up voltage against charge.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Added a worker function to monitor status if any fault conditions like Over
Voltage, Over Temperature, etc.. happens.
Removed most of the code from threaded IRQ function and improved exception
handling code.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
Added a sysfs interface for enabling/disabling Emergency call support.
During the charge cycle depending on the temperature and emergency charge
enablement parameters we set the current limit value accordingly.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
cc_to_coloumbs/ msic_get_charge_now functions are added to return charge in
mAhrs.
Init_msic_regs function modified to add two more registers initialization.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
- Fix kfifo build problem
- Clean up printing to debug level for the most part
- Remove an impossible NULL check
- Clean up all the ipc writing loops using a single helper
Signed-off-by: Alan Cox <alan@linux.intel.com>
|
|
Battery driver for the Intel MID platform devices based on the Medfield
chipset.
Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
|