Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 577c9570 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: smb1360: Fix the fuel-gauge and IRQ register offsets"

parents 723475e4 25044c0e
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@
#define IRQ_C_CHG_TERM			BIT(0)

#define IRQ_D_REG			0x53
#define IRQ_E_REG			0x53
#define IRQ_E_REG			0x54
#define IRQ_F_REG			0x55

#define IRQ_G_REG			0x56
@@ -162,10 +162,10 @@
#define VTG_EMPTY_REG			0x26

/* FG SHADOW registers */
#define SHDW_FG_MSYS_SOC		0xE1
#define SHDW_FG_CAPACITY		0xE2
#define SHDW_FG_VTG_NOW			0xE9
#define SHDW_FG_BATT_TEMP		0xED
#define SHDW_FG_MSYS_SOC		0x61
#define SHDW_FG_CAPACITY		0x62
#define SHDW_FG_VTG_NOW			0x69
#define SHDW_FG_BATT_TEMP		0x6D

/* Constants */
#define CURRENT_100_MA			100