rambi: Enable charger participant and define states
Define a table detailing the charger performance states for the rambi device and enable the charger participant in DPTF. BUG=chrome-os-partner:17279 BRANCH=baytrail TEST=build and boot on rambi, start DPTF and heat up device to see the charger current limited as expected. Change-Id: I35a46da7f53cb95cd3d06bec9d71ef721c61e387 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/185760 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
287e893661
commit
2f62a11927
1 changed files with 10 additions and 1 deletions
|
|
@ -16,7 +16,16 @@
|
|||
#define DPTF_TSR2_PASSIVE 60
|
||||
#define DPTF_TSR2_CRITICAL 70
|
||||
|
||||
#undef DPTF_ENABLE_CHARGER
|
||||
#define DPTF_ENABLE_CHARGER
|
||||
|
||||
/* Charger performance states, board-specific values from charger and EC */
|
||||
Name (CHPS, Package () {
|
||||
Package () { 0, 0, 0, 0, 255, 0x6a4, "mA", 0 }, /* 1.7A (MAX) */
|
||||
Package () { 0, 0, 0, 0, 24, 0x600, "mA", 0 }, /* 1.5A */
|
||||
Package () { 0, 0, 0, 0, 16, 0x400, "mA", 0 }, /* 1.0A */
|
||||
Package () { 0, 0, 0, 0, 8, 0x200, "mA", 0 }, /* 0.5A */
|
||||
Package () { 0, 0, 0, 0, 0, 0x000, "mA", 0 }, /* 0.0A */
|
||||
})
|
||||
|
||||
Name (DTRT, Package () {
|
||||
/* CPU Throttle Effect on CPU */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue