summaryrefslogtreecommitdiff
path: root/src/ec/starlabs/merlin/acpi
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-03-18 10:22:59 +0000
committerFelix Held <felix-coreboot@felixheld.de>2024-06-07 18:51:45 +0000
commitd4d321ff8986171cecc8cf12f98b0119c0201f90 (patch)
treeb3f02b3840f3948c9ea7254404777cb939411035 /src/ec/starlabs/merlin/acpi
parent95e726e5b7e1af820a78afeac9381ec7203176bb (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/acpi')
-rw-r--r--src/ec/starlabs/merlin/acpi/battery.asl1
1 files changed, 1 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