diff options
author | Sean Rhodes <sean@starlabs.systems> | 2024-03-18 10:22:59 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-06-07 18:51:45 +0000 |
commit | d4d321ff8986171cecc8cf12f98b0119c0201f90 (patch) | |
tree | b3f02b3840f3948c9ea7254404777cb939411035 /src/ec/starlabs/merlin/variants | |
parent | 95e726e5b7e1af820a78afeac9381ec7203176bb (diff) |
ec/starlabs/merlin: Report the battery cycle count to ACPI
Change-Id: Iccb60d3530227fb71a3ce5a3ab1421627cc86611
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81405
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/starlabs/merlin/variants')
-rw-r--r-- | src/ec/starlabs/merlin/variants/apl/emem.asl | 1 | ||||
-rw-r--r-- | src/ec/starlabs/merlin/variants/glk/emem.asl | 1 | ||||
-rw-r--r-- | src/ec/starlabs/merlin/variants/glkr/emem.asl | 1 | ||||
-rw-r--r-- | src/ec/starlabs/merlin/variants/kbl/emem.asl | 1 | ||||
-rw-r--r-- | src/ec/starlabs/merlin/variants/merlin/emem.asl | 1 |
5 files changed, 5 insertions, 0 deletions
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 } |