mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
power_supply: Add battery health reporting for WM8350
Implement support for reporting battery health in the WM8350 battery interface. Since we are now able to report this via the classs remove the diagnostics from the interrupt handler. Signed-off-by: Mark Brown <[email protected]> Acked-by: Anton Vorontsov <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
parent
7e386e6e0e
commit
4008e879e1
3 changed files with 33 additions and 9 deletions
|
|
@ -1314,7 +1314,7 @@ const struct wm8350_reg_access wm8350_reg_io_map[] = {
|
|||
{ 0xFFFF, 0xFFFF, 0xFFFF }, /* R223 */
|
||||
{ 0x0000, 0x0000, 0x0000 }, /* R224 */
|
||||
{ 0x8F3F, 0x0000, 0xFFFF }, /* R225 - DCDC/LDO status */
|
||||
{ 0x0000, 0x0000, 0x0000 }, /* R226 */
|
||||
{ 0x0000, 0x0000, 0xFFFF }, /* R226 - Charger status */
|
||||
{ 0x0000, 0x0000, 0xFFFF }, /* R227 */
|
||||
{ 0x0000, 0x0000, 0x0000 }, /* R228 */
|
||||
{ 0x0000, 0x0000, 0x0000 }, /* R229 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue