summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2020-10-27 15:36:55 +0800
committerFelix Held <felix-coreboot@felixheld.de>2020-11-06 13:02:24 +0000
commit795d73c6d851fde143041483af5dff7c448febe6 (patch)
treea44a592eebe49f10e82bf5d07861d69bd663f5d1 /src/mainboard/google/zork
parent0cae9008f01af3cd89dad317d42292c04b53bb51 (diff)
soc/amd/picasso: Update coreboot UPD variable names to include units
Use command below to change the variable globally. sed -i "s/\<variable\>/variable_u/g" `grep variable -rl ./ \ --exclude-dir=build --exclude-dir=crossgcc` BUG=b:171334623 TEST=Build Change-Id: I056a76663e84ebc940343d64178c18cb20df01a3 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46840 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/google/zork')
-rw-r--r--src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb20
-rw-r--r--src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb20
-rw-r--r--src/mainboard/google/zork/variants/berknip/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/dalboz/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/dirinboz/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/ezkinil/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/morphius/overridetree.cb24
-rw-r--r--src/mainboard/google/zork/variants/trembyle/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/vilboz/overridetree.cb14
-rw-r--r--src/mainboard/google/zork/variants/woomax/overridetree.cb14
10 files changed, 81 insertions, 81 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
index 58e25e6ba3..9f5ef0c37b 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
@@ -15,22 +15,22 @@ chip soc/amd/picasso
# For the below fields, 0 indicates use SOC default
# PROCHOT_L de-assertion Ramp Time
- register "prochot_l_deassertion_ramp_time" = "20" #mS
+ register "prochot_l_deassertion_ramp_time_ms" = "20"
# Lower die temperature limit
- register "thermctl_limit" = "100" #degrees C
+ register "thermctl_limit_degreeC" = "100"
# FP5 Processor Voltage Supply PSI Currents
- register "psi0_current_limit" = "18000" #mA
- register "psi0_soc_current_limit" = "12000" #mA
- register "vddcr_soc_voltage_margin" = "0" #mV
- register "vddcr_vdd_voltage_margin" = "0" #mV
+ register "psi0_current_limit_mA" = "18000"
+ register "psi0_soc_current_limit_mA" = "12000"
+ register "vddcr_soc_voltage_margin_mV" = "0"
+ register "vddcr_vdd_voltage_margin_mV" = "0"
# VRM Limits
- register "vrm_maximum_current_limit" = "0" #mA
- register "vrm_soc_maximum_current_limit" = "0" #mA
- register "vrm_current_limit" = "0" #mA
- register "vrm_soc_current_limit" = "0" #mA
+ register "vrm_maximum_current_limit_mA" = "0"
+ register "vrm_soc_maximum_current_limit_mA" = "0"
+ register "vrm_current_limit_mA" = "0"
+ register "vrm_soc_current_limit_mA" = "0"
# Misc SMU settings
register "sb_tsi_alert_comparator_mode_en" = "0"
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
index 3ab70a2945..ffe2b7f3f3 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_trembyle.cb
@@ -15,22 +15,22 @@ chip soc/amd/picasso
# For the below fields, 0 indicates use SOC default
# PROCHOT_L de-assertion Ramp Time
- register "prochot_l_deassertion_ramp_time" = "20" #mS
+ register "prochot_l_deassertion_ramp_time_ms" = "20"
# Lower die temperature limit
- register "thermctl_limit" = "100" #degrees C
+ register "thermctl_limit_degreeC" = "100"
# FP5 Processor Voltage Supply PSI Currents
- register "psi0_current_limit" = "18000" #mA
- register "psi0_soc_current_limit" = "12000" #mA
- register "vddcr_soc_voltage_margin" = "0" #mV
- register "vddcr_vdd_voltage_margin" = "0" #mV
+ register "psi0_current_limit_mA" = "18000"
+ register "psi0_soc_current_limit_mA" = "12000"
+ register "vddcr_soc_voltage_margin_mV" = "0"
+ register "vddcr_vdd_voltage_margin_mV" = "0"
# VRM Limits
- register "vrm_maximum_current_limit" = "0" #mA
- register "vrm_soc_maximum_current_limit" = "0" #mA
- register "vrm_current_limit" = "0" #mA
- register "vrm_soc_current_limit" = "0" #mA
+ register "vrm_maximum_current_limit_mA" = "0"
+ register "vrm_soc_maximum_current_limit_mA" = "0"
+ register "vrm_current_limit_mA" = "0"
+ register "vrm_soc_current_limit_mA" = "0"
# Misc SMU settings
register "sb_tsi_alert_comparator_mode_en" = "0"
diff --git a/src/mainboard/google/zork/variants/berknip/overridetree.cb b/src/mainboard/google/zork/variants/berknip/overridetree.cb
index d97a2b5780..8f6aff2ede 100644
--- a/src/mainboard/google/zork/variants/berknip/overridetree.cb
+++ b/src/mainboard/google/zork/variants/berknip/overridetree.cb
@@ -9,15 +9,15 @@ chip soc/amd/picasso
register "system_config" = "3"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "20000" #mw
- register "fast_ppt_limit" = "24000" #mw
- register "slow_ppt_time_constant" = "5" #second
- register "stapm_time_constant" = "200" #second
- register "sustained_power_limit" = "12000" #mw
+ register "slow_ppt_limit_mW" = "20000"
+ register "fast_ppt_limit_mW" = "24000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "200"
+ register "sustained_power_limit_mW" = "12000"
- register "telemetry_vddcr_vdd_slope" = "65599" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "65599"
register "telemetry_vddcr_vdd_offset" = "0"
- register "telemetry_vddcr_soc_slope" = "29788" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "29788"
register "telemetry_vddcr_soc_offset" = "0"
# End : OPN Performance Configuration
diff --git a/src/mainboard/google/zork/variants/dalboz/overridetree.cb b/src/mainboard/google/zork/variants/dalboz/overridetree.cb
index 1ddb17bdf4..67fa077f3d 100644
--- a/src/mainboard/google/zork/variants/dalboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/dalboz/overridetree.cb
@@ -9,17 +9,17 @@ chip soc/amd/picasso
register "system_config" = "1"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "6000" #mw
- register "fast_ppt_limit" = "9000" #mw
- register "slow_ppt_time_constant" = "5" #second
- register "stapm_time_constant" = "2500" #second
- register "sustained_power_limit" = "4800" #mw
+ register "slow_ppt_limit_mW" = "6000"
+ register "fast_ppt_limit_mW" = "9000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "2500"
+ register "sustained_power_limit_mW" = "4800"
# End : OPN Performance Configuration
- register "telemetry_vddcr_vdd_slope" = "30231" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "30231"
register "telemetry_vddcr_vdd_offset" = "0-1"
- register "telemetry_vddcr_soc_slope" = "22644" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "22644"
register "telemetry_vddcr_soc_offset" = "68"
# I2C2 for touchscreen and trackpad
diff --git a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
index a11fa5e4c7..f3be599780 100644
--- a/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/dirinboz/overridetree.cb
@@ -9,15 +9,15 @@ chip soc/amd/picasso
register "system_config" = "1"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "6000" #mw
- register "fast_ppt_limit" = "9000" #mw
- register "slow_ppt_time_constant" = "5" #second
- register "stapm_time_constant" = "2500" #second
- register "sustained_power_limit" = "4800" #mw
+ register "slow_ppt_limit_mW" = "6000"
+ register "fast_ppt_limit_mW" = "9000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "2500"
+ register "sustained_power_limit_mW" = "4800"
- register "telemetry_vddcr_vdd_slope" = "42465" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "42465"
register "telemetry_vddcr_vdd_offset" = "69"
- register "telemetry_vddcr_soc_slope" = "42667" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "42667"
register "telemetry_vddcr_soc_offset" = "167"
# End : OPN Performance Configuration
diff --git a/src/mainboard/google/zork/variants/ezkinil/overridetree.cb b/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
index 5ef2f0ac77..4fd7e0e063 100644
--- a/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
+++ b/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
@@ -9,15 +9,15 @@ chip soc/amd/picasso
register "system_config" = "2"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "20000" #mw
- register "fast_ppt_limit" = "24000" #mw
- register "slow_ppt_time_constant" = "5" #second
- register "stapm_time_constant" = "200" #second
- register "sustained_power_limit" = "12000" #mw
+ register "slow_ppt_limit_mW" = "20000"
+ register "fast_ppt_limit_mW" = "24000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "200"
+ register "sustained_power_limit_mW" = "12000"
- register "telemetry_vddcr_vdd_slope" = "62413" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "62413"
register "telemetry_vddcr_vdd_offset" = "0"
- register "telemetry_vddcr_soc_slope" = "28977" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "28977"
register "telemetry_vddcr_soc_offset" = "0"
# End : OPN Performance Configuration
diff --git a/src/mainboard/google/zork/variants/morphius/overridetree.cb b/src/mainboard/google/zork/variants/morphius/overridetree.cb
index e04a62e654..4ac5f81798 100644
--- a/src/mainboard/google/zork/variants/morphius/overridetree.cb
+++ b/src/mainboard/google/zork/variants/morphius/overridetree.cb
@@ -9,24 +9,24 @@ chip soc/amd/picasso
register "system_config" = "2"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "20000" #mw
- register "fast_ppt_limit" = "24000" #mw
- register "slow_ppt_time_constant" = "5" #second
- register "stapm_time_constant" = "200" #second
- register "sustained_power_limit" = "12000" #mw
- register "thermctl_limit" = "100" #degrees C
+ register "slow_ppt_limit_mW" = "20000"
+ register "fast_ppt_limit_mW" = "24000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "200"
+ register "sustained_power_limit_mW" = "12000"
+ register "thermctl_limit_degreeC" = "100"
- register "telemetry_vddcr_vdd_slope" = "62641" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "62641"
register "telemetry_vddcr_vdd_offset" = "0"
- register "telemetry_vddcr_soc_slope" = "28333" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "28333"
register "telemetry_vddcr_soc_offset" = "0"
# Set STAPM confiuration for tablet mode
register "dptc_enable" = "1"
- register "slow_ppt_limit_tablet_mode" = "20000" #mw
- register "fast_ppt_limit_tablet_mode" = "24000" #mw
- register "sustained_power_limit_tablet_mode" = "12000" #mw
- register "thermctl_limit_tablet_mode" = "70" #degrees C
+ register "slow_ppt_limit_tablet_mode_mW" = "20000"
+ register "fast_ppt_limit_tablet_mode_mW" = "24000"
+ register "sustained_power_limit_tablet_mode_mW" = "12000"
+ register "thermctl_limit_tablet_mode_degreeC" = "70"
# End : OPN Performance Configuration
diff --git a/src/mainboard/google/zork/variants/trembyle/overridetree.cb b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
index f06f03d8d6..90020ea89c 100644
--- a/src/mainboard/google/zork/variants/trembyle/overridetree.cb
+++ b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
@@ -9,15 +9,15 @@ chip soc/amd/picasso
register "system_config" = "2"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "25000" #mw
- register "fast_ppt_limit" = "30000" #mw
- register "slow_ppt_time_constant" = "5" #second
- register "stapm_time_constant" = "200" #second
- register "sustained_power_limit" = "15000" #mw
+ register "slow_ppt_limit_mW" = "25000"
+ register "fast_ppt_limit_mW" = "30000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "200"
+ register "sustained_power_limit_mW" = "15000"
- register "telemetry_vddcr_vdd_slope" = "71222" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "71222"
register "telemetry_vddcr_vdd_offset" = "0"
- register "telemetry_vddcr_soc_slope" = "28977" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "28977"
register "telemetry_vddcr_soc_offset" = "0"
# End : OPN Performance Configuration
diff --git a/src/mainboard/google/zork/variants/vilboz/overridetree.cb b/src/mainboard/google/zork/variants/vilboz/overridetree.cb
index bca556cbee..2f3b4fcc4e 100644
--- a/src/mainboard/google/zork/variants/vilboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/vilboz/overridetree.cb
@@ -10,17 +10,17 @@ chip soc/amd/picasso
register "system_config" = "1"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "6000" # mW
- register "fast_ppt_limit" = "9000" # mW
- register "slow_ppt_time_constant" = "5" # second
- register "stapm_time_constant" = "1400" # second
- register "sustained_power_limit" = "4800" # mW
+ register "slow_ppt_limit_mW" = "6000"
+ register "fast_ppt_limit_mW" = "9000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "1400"
+ register "sustained_power_limit_mW" = "4800"
# End : OPN Performance Configuration
- register "telemetry_vddcr_vdd_slope" = "32643" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "32643"
register "telemetry_vddcr_vdd_offset" = "208"
- register "telemetry_vddcr_soc_slope" = "22742" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "22742"
register "telemetry_vddcr_soc_offset" = "-83"
# USB OC pin mapping
diff --git a/src/mainboard/google/zork/variants/woomax/overridetree.cb b/src/mainboard/google/zork/variants/woomax/overridetree.cb
index e9d66f9a77..0f0e856559 100644
--- a/src/mainboard/google/zork/variants/woomax/overridetree.cb
+++ b/src/mainboard/google/zork/variants/woomax/overridetree.cb
@@ -10,15 +10,15 @@ chip soc/amd/picasso
register "system_config" = "2"
# Set STAPM confiuration. All of these fields must be set >0 to take affect
- register "slow_ppt_limit" = "25000" #mw
- register "fast_ppt_limit" = "30000" #mw
- register "slow_ppt_time_constant" = "5" #second
- register "stapm_time_constant" = "200" #second
- register "sustained_power_limit" = "15000" #mw
+ register "slow_ppt_limit_mW" = "25000"
+ register "fast_ppt_limit_mW" = "30000"
+ register "slow_ppt_time_constant_s" = "5"
+ register "stapm_time_constant_s" = "200"
+ register "sustained_power_limit_mW" = "15000"
- register "telemetry_vddcr_vdd_slope" = "102586" #mA
+ register "telemetry_vddcr_vdd_slope_mA" = "102586"
register "telemetry_vddcr_vdd_offset" = "0"
- register "telemetry_vddcr_soc_slope" = "26967" #mA
+ register "telemetry_vddcr_soc_slope_mA" = "26967"
register "telemetry_vddcr_soc_offset" = "0"
# End : OPN Performance Configuration