summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-12-28 15:00:39 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2021-01-01 11:25:22 +0000
commit44fa0d4ca00fa4ca88415b7ca717767dd31f83f7 (patch)
tree56b26901fe49b773c120683399bce44a117c6fc2 /src/mainboard/google/auron
parent9e38efc27be1e5561da611b1e570ef3a52529da2 (diff)
soc/intel/bdw,nb/intel/hsw: convert panel delays to ms representation
For easier review of the switch to a new register struct in the follow-up change, the panel delay times get converted from destination register raw format to milliseconds representation in this change. Formula for conversion of power cycle delay: gpu_panel_power_cycle_delay_ms = (gpu_panel_power_cycle_delay - 1) * 100 Formula for all others: gpu_panel_power_X_delay_ms = gpu_panel_power_X_delay / 10 The register names gain a suffix `_ms` and calculation of the destination register raw values gets done in gma code now. Change-Id: Idf8e076dac2b3048a63a0109263a6e7899f07230 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48958 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/google/auron')
-rw-r--r--src/mainboard/google/auron/variants/auron_paine/overridetree.cb10
-rw-r--r--src/mainboard/google/auron/variants/auron_yuna/overridetree.cb10
-rw-r--r--src/mainboard/google/auron/variants/buddy/overridetree.cb10
-rw-r--r--src/mainboard/google/auron/variants/gandof/overridetree.cb10
-rw-r--r--src/mainboard/google/auron/variants/lulu/overridetree.cb10
-rw-r--r--src/mainboard/google/auron/variants/samus/overridetree.cb10
6 files changed, 30 insertions, 30 deletions
diff --git a/src/mainboard/google/auron/variants/auron_paine/overridetree.cb b/src/mainboard/google/auron/variants/auron_paine/overridetree.cb
index 81110408c1..cb7fb62b34 100644
--- a/src/mainboard/google/auron/variants/auron_paine/overridetree.cb
+++ b/src/mainboard/google/auron/variants/auron_paine/overridetree.cb
@@ -1,11 +1,11 @@
chip soc/intel/broadwell
# Set panel power delays
- register "gpu_panel_power_cycle_delay" = "5" # 400ms
- register "gpu_panel_power_up_delay" = "400" # 40ms
- register "gpu_panel_power_down_delay" = "150" # 15ms
- register "gpu_panel_power_backlight_on_delay" = "70" # 7ms
- register "gpu_panel_power_backlight_off_delay" = "2100" # 210ms
+ register "gpu_panel_power_cycle_delay_ms" = "400"
+ register "gpu_panel_power_up_delay_ms" = "40"
+ register "gpu_panel_power_down_delay_ms" = "15"
+ register "gpu_panel_power_backlight_on_delay_ms" = "7"
+ register "gpu_panel_power_backlight_off_delay_ms" = "210"
device domain 0 on
chip soc/intel/broadwell/pch
diff --git a/src/mainboard/google/auron/variants/auron_yuna/overridetree.cb b/src/mainboard/google/auron/variants/auron_yuna/overridetree.cb
index eb33d433e8..746ec9a58f 100644
--- a/src/mainboard/google/auron/variants/auron_yuna/overridetree.cb
+++ b/src/mainboard/google/auron/variants/auron_yuna/overridetree.cb
@@ -1,11 +1,11 @@
chip soc/intel/broadwell
# Set panel power delays
- register "gpu_panel_power_cycle_delay" = "5" # 400ms
- register "gpu_panel_power_up_delay" = "400" # 40ms
- register "gpu_panel_power_down_delay" = "150" # 15ms
- register "gpu_panel_power_backlight_on_delay" = "2100" # 210ms
- register "gpu_panel_power_backlight_off_delay" = "2100" # 210ms
+ register "gpu_panel_power_cycle_delay_ms" = "400"
+ register "gpu_panel_power_up_delay_ms" = "40"
+ register "gpu_panel_power_down_delay_ms" = "15"
+ register "gpu_panel_power_backlight_on_delay_ms" = "210"
+ register "gpu_panel_power_backlight_off_delay_ms" = "210"
device domain 0 on
chip soc/intel/broadwell/pch
diff --git a/src/mainboard/google/auron/variants/buddy/overridetree.cb b/src/mainboard/google/auron/variants/buddy/overridetree.cb
index 60fb08cbf7..5423043cd8 100644
--- a/src/mainboard/google/auron/variants/buddy/overridetree.cb
+++ b/src/mainboard/google/auron/variants/buddy/overridetree.cb
@@ -1,11 +1,11 @@
chip soc/intel/broadwell
# Set panel power delays
- register "gpu_panel_power_cycle_delay" = "5" # 400ms
- register "gpu_panel_power_up_delay" = "400" # 40ms
- register "gpu_panel_power_down_delay" = "150" # 15ms
- register "gpu_panel_power_backlight_on_delay" = "70" # 7ms
- register "gpu_panel_power_backlight_off_delay" = "2100" # 210ms
+ register "gpu_panel_power_cycle_delay_ms" = "400"
+ register "gpu_panel_power_up_delay_ms" = "40"
+ register "gpu_panel_power_down_delay_ms" = "15"
+ register "gpu_panel_power_backlight_on_delay_ms" = "7"
+ register "gpu_panel_power_backlight_off_delay_ms" = "210"
register "s0ix_enable" = "0"
diff --git a/src/mainboard/google/auron/variants/gandof/overridetree.cb b/src/mainboard/google/auron/variants/gandof/overridetree.cb
index c7e2421ee8..19c0ca0003 100644
--- a/src/mainboard/google/auron/variants/gandof/overridetree.cb
+++ b/src/mainboard/google/auron/variants/gandof/overridetree.cb
@@ -1,11 +1,11 @@
chip soc/intel/broadwell
# Set panel power delays
- register "gpu_panel_power_cycle_delay" = "5" # 400ms
- register "gpu_panel_power_up_delay" = "400" # 40ms
- register "gpu_panel_power_down_delay" = "150" # 15ms
- register "gpu_panel_power_backlight_on_delay" = "500" # 50ms
- register "gpu_panel_power_backlight_off_delay" = "2100" # 210ms
+ register "gpu_panel_power_cycle_delay_ms" = "400"
+ register "gpu_panel_power_up_delay_ms" = "40"
+ register "gpu_panel_power_down_delay_ms" = "15"
+ register "gpu_panel_power_backlight_on_delay_ms" = "50"
+ register "gpu_panel_power_backlight_off_delay_ms" = "210"
device domain 0 on
chip soc/intel/broadwell/pch
diff --git a/src/mainboard/google/auron/variants/lulu/overridetree.cb b/src/mainboard/google/auron/variants/lulu/overridetree.cb
index 81110408c1..cb7fb62b34 100644
--- a/src/mainboard/google/auron/variants/lulu/overridetree.cb
+++ b/src/mainboard/google/auron/variants/lulu/overridetree.cb
@@ -1,11 +1,11 @@
chip soc/intel/broadwell
# Set panel power delays
- register "gpu_panel_power_cycle_delay" = "5" # 400ms
- register "gpu_panel_power_up_delay" = "400" # 40ms
- register "gpu_panel_power_down_delay" = "150" # 15ms
- register "gpu_panel_power_backlight_on_delay" = "70" # 7ms
- register "gpu_panel_power_backlight_off_delay" = "2100" # 210ms
+ register "gpu_panel_power_cycle_delay_ms" = "400"
+ register "gpu_panel_power_up_delay_ms" = "40"
+ register "gpu_panel_power_down_delay_ms" = "15"
+ register "gpu_panel_power_backlight_on_delay_ms" = "7"
+ register "gpu_panel_power_backlight_off_delay_ms" = "210"
device domain 0 on
chip soc/intel/broadwell/pch
diff --git a/src/mainboard/google/auron/variants/samus/overridetree.cb b/src/mainboard/google/auron/variants/samus/overridetree.cb
index d8aec0ae04..989b887628 100644
--- a/src/mainboard/google/auron/variants/samus/overridetree.cb
+++ b/src/mainboard/google/auron/variants/samus/overridetree.cb
@@ -4,11 +4,11 @@ chip soc/intel/broadwell
register "gpu_dp_c_hotplug" = "0x06"
# Set panel power delays
- register "gpu_panel_power_cycle_delay" = "6" # 500ms
- register "gpu_panel_power_up_delay" = "2000" # 200ms
- register "gpu_panel_power_down_delay" = "500" # 50ms
- register "gpu_panel_power_backlight_on_delay" = "2000" # 200ms
- register "gpu_panel_power_backlight_off_delay" = "2000" # 200ms
+ register "gpu_panel_power_cycle_delay_ms" = "500"
+ register "gpu_panel_power_up_delay_ms" = "200"
+ register "gpu_panel_power_down_delay_ms" = "50"
+ register "gpu_panel_power_backlight_on_delay_ms" = "200"
+ register "gpu_panel_power_backlight_off_delay_ms" = "200"
register "vr_slow_ramp_rate_set" = "3"
register "vr_slow_ramp_rate_enable" = "1"