Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85773?usp=email )
Change subject: mb/google/rauru: Raise little core CPU frequency from 700MHz to 2.4GHz
......................................................................
mb/google/rauru: Raise little core CPU frequency from 700MHz to 2.4GHz
To improve boot time, raise little CPU from 700MHz to 2.4GHz at romstage
(before DRAM calibration).
FW logs:
Check CPU freq: 2400120 KHz
BUG=b:317009620
TEST=Build pass, boot ok.
Change-Id: I14a31f3a51ca246b842cc0ef740c43ff5d857310
Signed-off-by: Jarried Lin <jarried.lin(a)mediatek.corp-partner.google.com>
---
M src/mainboard/google/rauru/romstage.c
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/85773/1
diff --git a/src/mainboard/google/rauru/romstage.c b/src/mainboard/google/rauru/romstage.c
index 1d9a03b..e472a70 100644
--- a/src/mainboard/google/rauru/romstage.c
+++ b/src/mainboard/google/rauru/romstage.c
@@ -9,12 +9,21 @@
#include <soc/mt6685.h>
#include <soc/mtk_pwrsel.h>
#include <soc/pcie.h>
+#include <soc/pll.h>
+
+static void raise_little_cpu_freq(void)
+{
+ mt6316_buck_set_voltage(0x8, MT6316_BUCK_3, 1050000);
+ printk(BIOS_INFO, "get vcpul:%d\n", mt6316_buck_get_voltage(0x8, MT6316_BUCK_3));
+ mt_pll_raise_little_cpu_freq(2400U * MHz);
+}
void platform_romstage_main(void)
{
irq2axi_disable();
pwrsel_init();
mt6316_init();
+ raise_little_cpu_freq();
mt6363_init();
mt6363_init_pmif_arb();
mt6363_enable_vtref18(true);
--
To view, visit https://review.coreboot.org/c/coreboot/+/85773?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I14a31f3a51ca246b842cc0ef740c43ff5d857310
Gerrit-Change-Number: 85773
Gerrit-PatchSet: 1
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Attention is currently required from: Andy Hsu, Jarried Lin.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/blobs/+/85763?usp=email )
Change subject: soc/mediatek/mt8196: Add GPUEB firmware v1.0
......................................................................
Patch Set 1:
(2 comments)
File soc/mediatek/mt8196/README.md:
https://review.coreboot.org/c/blobs/+/85763/comment/8aacddb9_58a3c7a3?usp=e… :
PS1, Line 203: . It will copy `tinysys-gpueb-RV33_A.mkpt_fw.img` to the SRAM of GPUEB.
`, parse it, and copy the resulting image to the SRAM of GPUEB`
File soc/mediatek/mt8196/tinysys-gpueb-RV33_A.mkpt_fw.img:
PS1:
Can we have a shorter file name please (such as `gpueb.img`)? If you think "tinysys" or "RV33_A" (I have no idea what that means) are important to mention, please mention them in the README.
--
To view, visit https://review.coreboot.org/c/blobs/+/85763?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: blobs
Gerrit-Branch: main
Gerrit-Change-Id: I470f1575beea481cac2dcb5f3eb77587739ff2dc
Gerrit-Change-Number: 85763
Gerrit-PatchSet: 1
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Andy Hsu <andy.hsu(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Attention: Andy Hsu <andy.hsu(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Thu, 26 Dec 2024 02:55:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Hung-Te Lin, Jarried Lin, Yidi Lin.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85755?usp=email )
Change subject: mb/google/rauru: Initialize PMICs in romstage
......................................................................
Patch Set 4:
(1 comment)
File src/mainboard/google/rauru/romstage.c:
https://review.coreboot.org/c/coreboot/+/85755/comment/f1efdc3a_2ad17a48?us… :
PS4, Line 19: mt6363_init_pmif_arb
With `mt6363_init`, this can be removed now.
--
To view, visit https://review.coreboot.org/c/coreboot/+/85755?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ia220db1d8d6d20e508f5e4d47054922012f6c417
Gerrit-Change-Number: 85755
Gerrit-PatchSet: 4
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Thu, 26 Dec 2024 02:49:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Hope Wang, Hung-Te Lin, Jarried Lin.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85751?usp=email )
Change subject: soc/mediatek/mt8196: Set SPMI-P SCL/SDA SoC PD
......................................................................
Patch Set 5:
(2 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/85751/comment/3111080a_ff2f5643?us… :
PS5, Line 10: clk
clock
https://review.coreboot.org/c/coreboot/+/85751/comment/9c084ad1_22062ddd?us… :
PS5, Line 10: spmi
SPMI
--
To view, visit https://review.coreboot.org/c/coreboot/+/85751?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Idbf8ed8e31850ca81c823db1b25bde4a83a48c4f
Gerrit-Change-Number: 85751
Gerrit-PatchSet: 5
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hope Wang <hope.wang(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Hope Wang <hope.wang(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Thu, 26 Dec 2024 02:48:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Hung-Te Lin, Jarried Lin.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85734?usp=email )
The change is no longer submittable: All-Comments-Resolved is unsatisfied now.
Change subject: soc/mediatek/mt8196: Add MT6685 Clock IC driver
......................................................................
Patch Set 6:
(6 comments)
Commit Message:
https://review.coreboot.org/c/coreboot/+/85734/comment/6887e772_d7468a87?us… :
PS6, Line 10: ,
`.`
File src/soc/mediatek/common/mt6685.c:
https://review.coreboot.org/c/coreboot/+/85734/comment/e3be3939_cd3151aa?us… :
PS6, Line 72: 0xFFFF
Are you sure this is correct? `pmif_spmi_read` should only read 1 byte of data, so that (when shift is 0) the mask should be at most 0xFF.
https://review.coreboot.org/c/coreboot/+/85734/comment/6dc7f126_6acffbb5?us… :
PS6, Line 78: key_protect_setting
We should use a different struct other than `mt6685_setting` if only `addr` and `val` are used. For example
```
static const struct {
u16 addr;
u16 val;
} key_protect_setting[] = {
{0x39E, 0x7A},
...
};
```
Please also move the key_protect_setting declaration to right above this function (line #74).
https://review.coreboot.org/c/coreboot/+/85734/comment/6fcdb22f_478a31f7?us… :
PS6, Line 92: [MT6685]
Remove "MT6685", as it's already included in the function name.
https://review.coreboot.org/c/coreboot/+/85734/comment/5fffbf6a_cd19142f?us… :
PS6, Line 103: MT6685
Remove "MT6685", as it's already included in the function name.
https://review.coreboot.org/c/coreboot/+/85734/comment/0df96b31_d1f16cb9?us… :
PS6, Line 104: 0xFFFF
Same here.
--
To view, visit https://review.coreboot.org/c/coreboot/+/85734?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I26ae4f416202f04a8030259c49e009b19a60712e
Gerrit-Change-Number: 85734
Gerrit-PatchSet: 6
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hope Wang <hope.wang(a)mediatek.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Yidi Lin <yidilin(a)google.com>
Gerrit-Reviewer: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Comment-Date: Thu, 26 Dec 2024 02:35:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: Keith Hui.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85768?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: mb/asus/p8x7x-series: Add SABERTOOTH Z77 as a variant
......................................................................
mb/asus/p8x7x-series: Add SABERTOOTH Z77 as a variant
Copied from p8z77-v variant, then adjusted overridetree, GPIO,
HDA verbs and USB port config based on boardview and vendor firmware
dumps.
It builds, but not hardware tested.
Unlike most other variants, this one allows use of MRC raminit, if
for testing.
It has no serial port, but a debug port allows access to LPC bus,
minus LDRQ# signal.
Change-Id: I1c26e751a224491c5aa1ce1035c55955ef0ee83c
Signed-off-by: Keith Hui <buurin(a)gmail.com>
---
A Documentation/mainboard/asus/sabertooth_z77.md
M Documentation/mainboard/index.md
M src/mainboard/asus/p8x7x-series/Kconfig
M src/mainboard/asus/p8x7x-series/Kconfig.name
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/board_info.txt
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/cmos.default
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/cmos.layout
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/data.vbt
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/early_init.c
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/gma-mainboard.ads
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/gpio.c
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/hda_verb.c
A src/mainboard/asus/p8x7x-series/variants/sabertooth_z77/overridetree.cb
13 files changed, 681 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/85768/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/85768?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I1c26e751a224491c5aa1ce1035c55955ef0ee83c
Gerrit-Change-Number: 85768
Gerrit-PatchSet: 2
Gerrit-Owner: Keith Hui <buurin(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Keith Hui <buurin(a)gmail.com>