Dtrain Hsu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/67307 )
Change subject: mb/google/brya/var/kinox: Modify fan speed/duty table ......................................................................
mb/google/brya/var/kinox: Modify fan speed/duty table
Modify fan speed/duty table follow "Duty table.xlsx". The table has 20 elements so sets the DPTF_MAX_FAN_PERF_STATES from 10 to 20.
BUG=b:244262869 TEST=Boot to Chrome OS.
Signed-off-by: Dtrain Hsu dtrain_hsu@compal.corp-partner.google.com Change-Id: Id5e885b96624d5fc31f1d42e3582c3ab01e08458 --- M src/include/acpi/acpigen_dptf.h M src/mainboard/google/brya/variants/kinox/overridetree.cb 2 files changed, 37 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/67307/1
diff --git a/src/include/acpi/acpigen_dptf.h b/src/include/acpi/acpigen_dptf.h index 893256e..6ef87a4 100644 --- a/src/include/acpi/acpigen_dptf.h +++ b/src/include/acpi/acpigen_dptf.h @@ -41,7 +41,7 @@
/* Maximum found by automatic inspection (awk) */ DPTF_MAX_CHARGER_PERF_STATES = 10, - DPTF_MAX_FAN_PERF_STATES = 10, + DPTF_MAX_FAN_PERF_STATES = 20,
/* From ACPI spec 6.3 */ DPTF_FIELD_UNUSED = 0xFFFFFFFFull, diff --git a/src/mainboard/google/brya/variants/kinox/overridetree.cb b/src/mainboard/google/brya/variants/kinox/overridetree.cb index 95eba1f..a874b1d 100644 --- a/src/mainboard/google/brya/variants/kinox/overridetree.cb +++ b/src/mainboard/google/brya/variants/kinox/overridetree.cb @@ -196,16 +196,26 @@ }" ## Fan Performance Control (Percent, Speed, Noise, Power) register "controls.fan_perf" = "{ - [0] = { 90, 6700, 220, 2200, }, - [1] = { 80, 5800, 180, 1800, }, - [2] = { 70, 5000, 145, 1450, }, - [3] = { 60, 4900, 115, 1150, }, - [4] = { 50, 3838, 90, 900, }, - [5] = { 40, 2904, 55, 550, }, - [6] = { 30, 2337, 30, 300, }, - [7] = { 20, 1608, 15, 150, }, - [8] = { 10, 800, 10, 100, }, - [9] = { 0, 0, 0, 50, } + [0] = { 100, 6060, 0, 0, }, + [1] = { 90, 5585, 0, 0, }, + [2] = { 80, 4964, 0, 0, }, + [3] = { 70, 4237, 0, 0, }, + [4] = { 64, 3963, 0, 0, }, + [5] = { 60, 3510, 0, 0, }, + [6] = { 54, 3212, 0, 0, }, + [7] = { 50, 2808, 0, 0, }, + [8] = { 48, 2776, 0, 0, }, + [9] = { 47, 2715, 0, 0, }, + [10] = { 45, 2566, 0, 0, }, + [11] = { 43, 2415, 0, 0, }, + [12] = { 40, 2010, 0, 0, }, + [13] = { 36, 1813, 0, 0, }, + [14] = { 35, 1686, 0, 0, }, + [15] = { 32, 1404, 0, 0, }, + [16] = { 30, 1160, 0, 0, }, + [17] = { 20, 760, 0, 0, }, + [18] = { 10, 760, 0, 0, }, + [19] = { 0, 0, 0, 0, } }"
## Fan options