Commit 16b9b902 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Kleber Sacilotto de Souza

power: bq27xxx: fix register numbers of bq27500

BugLink: https://bugs.launchpad.net/bugs/1878232

commit 099867a1 upstream.

bug: according to data sheet some register numbers are wrong.

tested: no

Fixes: d74534c2 ("power: bq27xxx_battery: Add support for additional bq27xxx family devices")
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Acked-by: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarIan May <ian.may@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent 2b07a80d
...@@ -198,10 +198,10 @@ static u8 bq27500_regs[] = { ...@@ -198,10 +198,10 @@ static u8 bq27500_regs[] = {
INVALID_REG_ADDR, /* TTECP - NA */ INVALID_REG_ADDR, /* TTECP - NA */
0x0c, /* NAC */ 0x0c, /* NAC */
0x12, /* LMD(FCC) */ 0x12, /* LMD(FCC) */
0x1e, /* CYCT */ 0x2a, /* CYCT */
INVALID_REG_ADDR, /* AE - NA */ INVALID_REG_ADDR, /* AE - NA */
0x20, /* SOC(RSOC) */ 0x2c, /* SOC(RSOC) */
0x2e, /* DCAP(ILMD) */ 0x3c, /* DCAP(ILMD) */
INVALID_REG_ADDR, /* AP - NA */ INVALID_REG_ADDR, /* AP - NA */
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment