[coreboot-gerrit] Change in coreboot[master]: mb/google/poppy/variants/nocturne: Stop charging with highest priority
Sumeet R Pawnikar (Code Review)
gerrit at coreboot.org
Mon Sep 24 14:19:37 CEST 2018
Sumeet R Pawnikar has uploaded this change for review. ( https://review.coreboot.org/28723
Change subject: mb/google/poppy/variants/nocturne: Stop charging with highest priority
......................................................................
mb/google/poppy/variants/nocturne: Stop charging with highest priority
First stop battery charging at high temperature of TSR2 sensor and
later start CPU throttling for TSR2 sensor. This will control the
TSR2 sensor temperature going high and prevent to hit critical
temperature threshold for TSR2 to avoid shutdown.
BUG=b:112550414
BRANCH=None
TEST=Build coreboot for Nocturne board.
Change-Id: I22bf648ff31f7bdf0ce0d147399d4f566ccdddc3
Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar at intel.com>
---
M src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/dptf.asl
1 file changed, 4 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/23/28723/1
diff --git a/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/dptf.asl b/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/dptf.asl
index f9773b8..6250cea 100644
--- a/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/dptf.asl
+++ b/src/mainboard/google/poppy/variants/nocturne/include/variant/acpi/dptf.asl
@@ -46,6 +46,7 @@
Package () { 0, 0, 0, 0, 24, 0x800, "mA", 0 }, /* 2000mA */
Package () { 0, 0, 0, 0, 16, 0x400, "mA", 0 }, /* 1000mA */
Package () { 0, 0, 0, 0, 8, 0x200, "mA", 0 }, /* 500mA */
+ Package () { 0, 0, 0, 0, 0, 0x000, "mA", 0 }, /* 0.0mA (stop charging) */
})
Name (DTRT, Package () {
@@ -56,17 +57,17 @@
Package () { \_SB.PCI0.B0D4, \_SB.DPTF.TSR0, 100, 600, 0, 0, 0, 0 },
/* CPU Throttle Effect on DRAM (TSR2) */
- Package () { \_SB.PCI0.B0D4, \_SB.DPTF.TSR2, 100, 600, 0, 0, 0, 0 },
+ Package () { \_SB.PCI0.B0D4, \_SB.DPTF.TSR2, 100, 50, 0, 0, 0, 0 },
/* CPU Throttle Effect on eMMC (TSR3) */
Package () { \_SB.PCI0.B0D4, \_SB.DPTF.TSR3, 100, 600, 0, 0, 0, 0 },
#ifdef DPTF_ENABLE_CHARGER
/* Charger Throttle Effect on Charger (TSR1) */
- Package () { \_SB.DPTF.TCHG, \_SB.DPTF.TSR1, 100, 600, 0, 0, 0, 0 },
+ Package () { \_SB.DPTF.TCHG, \_SB.DPTF.TSR1, 100, 50, 0, 0, 0, 0 },
/* Charger Throttle Effect on DRAM (TSR2) */
- Package () { \_SB.DPTF.TCHG, \_SB.DPTF.TSR2, 100, 600, 0, 0, 0, 0 },
+ Package () { \_SB.DPTF.TCHG, \_SB.DPTF.TSR2, 200, 50, 0, 0, 0, 0 },
#endif
})
--
To view, visit https://review.coreboot.org/28723
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I22bf648ff31f7bdf0ce0d147399d4f566ccdddc3
Gerrit-Change-Number: 28723
Gerrit-PatchSet: 1
Gerrit-Owner: Sumeet R Pawnikar <sumeet.r.pawnikar at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180924/9c4a7078/attachment-0001.html>
More information about the coreboot-gerrit
mailing list