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 <broonie@opensource.wolfsonmicro.com> Acked-by: Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user