summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ec/starlabs/merlin/acpi/battery.asl1
-rw-r--r--src/ec/starlabs/merlin/variants/apl/emem.asl1
-rw-r--r--src/ec/starlabs/merlin/variants/glk/emem.asl1
-rw-r--r--src/ec/starlabs/merlin/variants/glkr/emem.asl1
-rw-r--r--src/ec/starlabs/merlin/variants/kbl/emem.asl1
-rw-r--r--src/ec/starlabs/merlin/variants/merlin/emem.asl1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/acpi/battery.asl b/src/ec/starlabs/merlin/acpi/battery.asl
index 6c7b5f1386..197be64f50 100644
--- a/src/ec/starlabs/merlin/acpi/battery.asl
+++ b/src/ec/starlabs/merlin/acpi/battery.asl
@@ -86,6 +86,7 @@ Device (BAT0)
XBIF [5] = B1DV
XBIF [6] = B1DC / 5 // 20%
XBIF [7] = B1DC / 20 // 5%
+ XBIF [8] = B1CC
XBIF [14] = B1DC / 500 // 0.2%
XBIF [15] = B1DC / 500 // 0.2%
XBIF [17] = B1SN
diff --git a/src/ec/starlabs/merlin/variants/apl/emem.asl b/src/ec/starlabs/merlin/variants/apl/emem.asl
index fd1073ee77..812339f307 100644
--- a/src/ec/starlabs/merlin/variants/apl/emem.asl
+++ b/src/ec/starlabs/merlin/variants/apl/emem.asl
@@ -94,6 +94,7 @@ Field (ECF2, ByteAcc, Lock, Preserve)
B1RC, 16, // Battery Remaining Capacity
B1PV, 16, // Battery Present Voltage
BPRP, 16, // Battery Remaining percentage
+ B1CC, 16, // Battery Cycle Count
Offset(0x9d),
OPWE, 8, // OPM write to EC flag for UCSI
diff --git a/src/ec/starlabs/merlin/variants/glk/emem.asl b/src/ec/starlabs/merlin/variants/glk/emem.asl
index 5df3bc0492..64cd5edbbf 100644
--- a/src/ec/starlabs/merlin/variants/glk/emem.asl
+++ b/src/ec/starlabs/merlin/variants/glk/emem.asl
@@ -94,6 +94,7 @@ Field (ECF2, ByteAcc, Lock, Preserve)
B1RC, 16, // Battery Remaining Capacity
B1PV, 16, // Battery Present Voltage
BPRP, 16, // Battery Remaining percentage
+ B1CC, 16, // Battery Cycle Count
Offset(0x9d),
OPWE, 8, // OPM write to EC flag for UCSI
diff --git a/src/ec/starlabs/merlin/variants/glkr/emem.asl b/src/ec/starlabs/merlin/variants/glkr/emem.asl
index 2c07ef4102..e706c82424 100644
--- a/src/ec/starlabs/merlin/variants/glkr/emem.asl
+++ b/src/ec/starlabs/merlin/variants/glkr/emem.asl
@@ -66,6 +66,7 @@ Field (ECF2, ByteAcc, Lock, Preserve)
B1RC, 16, // Battery Remaining Capacity
B1PV, 16, // Battery Present Voltage
BPRP, 16, // Battery Remaining percentage
+ B1CC, 16, // Battery Cycle Count
Offset(0x9d),
OPWE, 8, // OPM write to EC flag for UCSI
diff --git a/src/ec/starlabs/merlin/variants/kbl/emem.asl b/src/ec/starlabs/merlin/variants/kbl/emem.asl
index c475972591..fa3a32f8b3 100644
--- a/src/ec/starlabs/merlin/variants/kbl/emem.asl
+++ b/src/ec/starlabs/merlin/variants/kbl/emem.asl
@@ -83,6 +83,7 @@ Field (ECF2, ByteAcc, Lock, Preserve)
B1RC, 16, // Battery Remaining Capacity
B1PV, 16, // Battery Present Voltage
BPRP, 16, // Battery Remaining percentage
+ B1CC, 16, // Battery Cycle Count
Offset(0x9d),
OPWE, 8, // OPM write to EC flag for UCSI
diff --git a/src/ec/starlabs/merlin/variants/merlin/emem.asl b/src/ec/starlabs/merlin/variants/merlin/emem.asl
index b17a14874a..869f204955 100644
--- a/src/ec/starlabs/merlin/variants/merlin/emem.asl
+++ b/src/ec/starlabs/merlin/variants/merlin/emem.asl
@@ -49,4 +49,5 @@ Field (ECF2, ByteAcc, Lock, Preserve)
B1RC, 16, // Battery Remaining Capacity
B1PV, 16, // Battery Present Voltage
BPRP, 16, // Battery Remaining percentage
+ B1CC, 16, // Battery Cycle Count
}