yangcong has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/73442 )
Change subject: mb/google/geralt:set tps65132s program eeprom
......................................................................
Patch Set 3:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/73442/comment/af7ed4cd_51ab9bd4
PS1, Line 10: so write the default value in eeprom to +-5.7V when configure display for the first time.
> Possible unwrapped commit description (prefer a maximum 72 chars per line)
Please fix.
--
To view, visit https://review.coreboot.org/c/coreboot/+/73442
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I29236818444cac84d42386a371cd8934048ff948
Gerrit-Change-Number: 73442
Gerrit-PatchSet: 3
Gerrit-Owner: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 04 Mar 2023 02:58:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
yangcong has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/73442 )
Change subject: mb/google/geralt:set tps65132s program eeprom
......................................................................
Patch Set 3: Code-Review+1
(3 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/73442/comment/99579af9_03dc2774
PS1, Line 8:
> Possible unwrapped commit description (prefer a maximum 72 chars per line)
Please fix.
https://review.coreboot.org/c/coreboot/+/73442/comment/7fbc707a_d207a052
PS1, Line 9: For Geralt,it is necessary to increase the AVDD/AVEE of TPS65132S PMIC to +-5.7V,
> Possible unwrapped commit description (prefer a maximum 72 chars per line)
Please fix.
https://review.coreboot.org/c/coreboot/+/73442/comment/1f3e9497_5cbf134d
PS1, Line 13: BUG=b:268292556
> Possible unwrapped commit description (prefer a maximum 72 chars per line)
Please fix.
--
To view, visit https://review.coreboot.org/c/coreboot/+/73442
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I29236818444cac84d42386a371cd8934048ff948
Gerrit-Change-Number: 73442
Gerrit-PatchSet: 3
Gerrit-Owner: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 04 Mar 2023 02:56:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
yangcong has uploaded a new patch set (#3). ( https://review.coreboot.org/c/coreboot/+/73442 )
Change subject: mb/google/geralt:set tps65132s program eeprom
......................................................................
mb/google/geralt:set tps65132s program eeprom
For Geralt,it is necessary to increase the AVDD/AVEE of
TPS65132S PMIC to +-5.7V,so write the default value in
eeprom to +-5.7V when configure display for the first
time.In this way,the default voltage is +-5.7V when you
start or enter the kernel next time.
BUG=b:268292556
TEST=test firmware display pass and AVDD/AVEE is +-5.7V on Geralt.
Change-Id: I29236818444cac84d42386a371cd8934048ff948
Signed-off-by: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
---
M src/mainboard/google/geralt/display.c
M src/mainboard/google/geralt/panel_geralt.c
2 files changed, 64 insertions(+), 15 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/73442/3
--
To view, visit https://review.coreboot.org/c/coreboot/+/73442
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I29236818444cac84d42386a371cd8934048ff948
Gerrit-Change-Number: 73442
Gerrit-PatchSet: 3
Gerrit-Owner: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
yangcong has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/73442 )
Change subject: mb/google/geralt:set tps65132s program eeprom
......................................................................
mb/google/geralt:set tps65132s program eeprom
For Geralt,it is necessary to increase the AVDD/AVEE
of TPS65132S PMIC to +-5.7V,so write the default value
in eeprom to +-5.7V when configure display for the
first time.In this way,the default voltage is +-5.7V
when you start or enter the kernel next time.
BUG=b:268292556
TEST=test firmware display pass and AVDD/AVEE is +-5.7V for BOE_TV110C9M_LL0 on Geralt.
Change-Id: I29236818444cac84d42386a371cd8934048ff948
Signed-off-by: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
---
M src/mainboard/google/geralt/display.c
M src/mainboard/google/geralt/panel_geralt.c
2 files changed, 64 insertions(+), 15 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/42/73442/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/73442
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I29236818444cac84d42386a371cd8934048ff948
Gerrit-Change-Number: 73442
Gerrit-PatchSet: 2
Gerrit-Owner: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/73442 )
Change subject: mb/google/geralt:set tps65132s program eeprom
......................................................................
Patch Set 1:
(4 comments)
Commit Message:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-171430):
https://review.coreboot.org/c/coreboot/+/73442/comment/f32860cb_5b3d5b92
PS1, Line 8:
Possible unwrapped commit description (prefer a maximum 72 chars per line)
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-171430):
https://review.coreboot.org/c/coreboot/+/73442/comment/febce8a3_9a889ab0
PS1, Line 9: For Geralt,it is necessary to increase the AVDD/AVEE of TPS65132S PMIC to +-5.7V,
Possible unwrapped commit description (prefer a maximum 72 chars per line)
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-171430):
https://review.coreboot.org/c/coreboot/+/73442/comment/e2a28b61_11fd63f0
PS1, Line 10: so write the default value in eeprom to +-5.7V when configure display for the first time.
Possible unwrapped commit description (prefer a maximum 72 chars per line)
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-171430):
https://review.coreboot.org/c/coreboot/+/73442/comment/6a416794_992ec03a
PS1, Line 13: BUG=b:268292556
Possible unwrapped commit description (prefer a maximum 72 chars per line)
--
To view, visit https://review.coreboot.org/c/coreboot/+/73442
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I29236818444cac84d42386a371cd8934048ff948
Gerrit-Change-Number: 73442
Gerrit-PatchSet: 1
Gerrit-Owner: yangcong <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Sat, 04 Mar 2023 02:42:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/73081 )
(
7 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: mb/google/skyrim/var/frostflow: Update DPTC and STT settings
......................................................................
mb/google/skyrim/var/frostflow: Update DPTC and STT settings
According to thermal_table_0215, adjust DPTC and STT settings.
BRANCH=none
BUG=b:257149501
TEST=emerge-skyrim coreboot chromeos-bootimage
Then the thermal team has verified.
Signed-off-by: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
Change-Id: Id7df3f9bfa3f0e1337c502bc7db9e09e12cd956a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73081
Reviewed-by: Tim Van Patten <timvp(a)google.com>
Reviewed-by: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Reviewed-by: John Su <john_su(a)compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
1 file changed, 45 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
John Su: Looks good to me, approved
Tim Van Patten: Looks good to me, approved
Eric Lai: Looks good to me, approved
diff --git a/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb b/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
index b34e2e3..86b1c94 100644
--- a/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
+++ b/src/mainboard/google/skyrim/variants/frostflow/overridetree.cb
@@ -147,4 +147,27 @@
end
end # UART1
+ # Set Package Power Parameters
+ register "thermctl_limit_degreeC" = "90"
+
+ # STT settings
+ register "stt_control" = "1"
+ register "stt_pcb_sensor_count" = "2"
+ register "stt_error_coeff" = "0x21"
+ register "stt_error_rate_coefficient" = "0x2666"
+ register "stt_min_limit" = "15000"
+ register "stt_skin_temp_apu" = "0x3000"
+
+ # STT default mode
+ register "stt_m1" = "0xfed2"
+ register "stt_m2" = "0x5f9"
+ register "stt_c_apu" = "0xfbf8"
+ register "stt_alpha_apu" = "0x4ccd"
+
+ # STT tablet mode
+ register "stt_m1_tablet" = "0x208"
+ register "stt_m2_tablet" = "0x1f5"
+ register "stt_c_apu_tablet" = "0xa2"
+ register "stt_alpha_apu_tablet" = "0x199a"
+
end # chip soc/amd/mendocino
--
To view, visit https://review.coreboot.org/c/coreboot/+/73081
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id7df3f9bfa3f0e1337c502bc7db9e09e12cd956a
Gerrit-Change-Number: 73081
Gerrit-PatchSet: 10
Gerrit-Owner: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Chao Gui <chaogui(a)google.com>
Gerrit-Reviewer: Chris Wang <chris.wang(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Dtrain Hsu <dtrain_hsu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Eric Lai <eric_lai(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Jason Nien <jason.nien(a)amd.corp-partner.google.com>
Gerrit-Reviewer: John Su <john_su(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Jon Murphy <jpmurphy(a)google.com>
Gerrit-Reviewer: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Tim Van Patten <timvp(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/73205 )
Change subject: soc/amd/mendocino: Add STT support for dptc tablet mode
......................................................................
soc/amd/mendocino: Add STT support for dptc tablet mode
Add stt settings for dptc tablet mode.
BUG=b:257149501
BRANCH=None
TEST=Check if the STT value matches the clamshell/tablet mode.
Run the WebGL aquarium with 5000 fish and verify that there is
no power drop peak.
Change-Id: Ib4aad3af8761b20084717b15a462edf4704b83cc
Signed-off-by: Chris Wang <chris.wang(a)amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73205
Reviewed-by: Tim Van Patten <timvp(a)google.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
Reviewed-by: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
---
M src/soc/amd/mendocino/chip.h
M src/soc/amd/mendocino/root_complex.c
2 files changed, 30 insertions(+), 4 deletions(-)
Approvals:
build bot (Jenkins): Verified
Frank Wu: Looks good to me, approved
Tim Van Patten: Looks good to me, approved
diff --git a/src/soc/amd/mendocino/chip.h b/src/soc/amd/mendocino/chip.h
index dc147f8..42f27cb 100644
--- a/src/soc/amd/mendocino/chip.h
+++ b/src/soc/amd/mendocino/chip.h
@@ -73,6 +73,10 @@
uint32_t vrm_soc_current_limit_throttle_mA;
/* tablet mode.*/
+ uint16_t stt_m1_tablet;
+ uint16_t stt_m2_tablet;
+ uint16_t stt_c_apu_tablet;
+ uint16_t stt_alpha_apu_tablet;
/* Thermal profile B*/
uint32_t fast_ppt_limit_mW_B;
diff --git a/src/soc/amd/mendocino/root_complex.c b/src/soc/amd/mendocino/root_complex.c
index dce9498..6217246 100644
--- a/src/soc/amd/mendocino/root_complex.c
+++ b/src/soc/amd/mendocino/root_complex.c
@@ -264,10 +264,10 @@
config->vrm_maximum_current_limit_mA,
config->vrm_soc_current_limit_mA,
config->stt_min_limit,
- config->stt_m1,
- config->stt_m2,
- config->stt_c_apu,
- config->stt_alpha_apu,
+ config->stt_m1_tablet,
+ config->stt_m2_tablet,
+ config->stt_c_apu_tablet,
+ config->stt_alpha_apu_tablet,
config->stt_skin_temp_apu);
acpigen_write_alib_dptc_tablet((uint8_t *)&tablet_input, sizeof(tablet_input));
#endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/73205
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib4aad3af8761b20084717b15a462edf4704b83cc
Gerrit-Change-Number: 73205
Gerrit-PatchSet: 5
Gerrit-Owner: Chris Wang <chris.wang(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Frank Wu <frank_wu(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Isaac Lee <isaaclee(a)google.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Reviewer: Tim Van Patten <timvp(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged