mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
ab8500-charger: AB8500 charger driver
This driver is responsible for detecting the ac/usb plugin and also includes function to enable ac/usb charging and re-kick the watchdog. It registers with the power supply class and provides information to the user space. The information include status of ac/usb charger device. This information in turn will be used by the abx500 charging algorithm driver to enable/disable and monitor charging. Signed-off-by: Arun Murthy <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
This commit is contained in:
parent
1668f81159
commit
84edbeeab6
2 changed files with 3343 additions and 0 deletions
2789
drivers/power/ab8500_charger.c
Normal file
2789
drivers/power/ab8500_charger.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue