summaryrefslogtreecommitdiff
path: root/drivers/power/tps65090-charger.c
AgeCommit message (Collapse)Author
2012-11-26drivers: power: tps65090: enable interrupt for chargerSyed Rafiuddin
enabling interrupt support in tps65090 charger driver to update the plug-in/plug-out of charger cable Change-Id: I300b9bb1b91f39655ee877e2be2631aeaaeab188 Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/164991 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-11-08drivers: power: tps65090: detect battery from fuel-guageSyed Rafiuddin
detect battery in tps65090 charger driver using bq20z45 fuel-gauge driver. Change-Id: Ic19a8f2459b3fecde2c7cf17b3d02b9e4b71c307 Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/161649 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Daniel Solomon <daniels@nvidia.com>
2012-08-23power: tps65090-charger: fix multiple issueLaxman Dewangan
Some changes: - Correct platform data struture name and get correct platform data. - Make remove function to __devexit. - Correct license to GPL v2 - Add error print when failure occurs. - remove unnecessary tabs. Change-Id: If4d3e09cbd4a762c909586146021004b945a9a6d Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/126825 Reviewed-by: Automatic_Commit_Validation_User
2012-08-23power: tps65090-charger: fix compilation warningLaxman Dewangan
Fix the "maybe-uninitialized" warnings. Change-Id: I80bacdbf7e8886dfa6afef8877529ed2abd81155 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/126824 Reviewed-by: Automatic_Commit_Validation_User
2012-08-23power: tps65090-charger: fix compilation errorLaxman Dewangan
The driver is missing the include of interrupt header file. Including it to fix compilation error. Also it is not suggested to use the devm_request_threaded_irq() as it is not safe when removing driver. converting it to non-devm version of API. Change-Id: I5dc3acf731d62861be0fc0f396b97997e7d269ea Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/126823 Reviewed-by: Automatic_Commit_Validation_User
2012-08-22power: tps65090: add battery charger driverSyed Rafiuddin
TPS65090 supports the battery charging. Add driver for supporting this feature. Bug 1011286 Change-Id: I7db2147d85869df43d07cdd826e4c5719acedf86 Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/125133 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>