Attention is currently required from: Yidi Lin, agogo.
Yu-Ping Wu has posted comments on this change by agogo. ( https://review.coreboot.org/c/blobs/+/85980?usp=email )
Change subject: soc/mediatek/mt8196: Update MCUPM firmware to v1.1
......................................................................
Patch Set 4: Verified+1
--
To view, visit https://review.coreboot.org/c/blobs/+/85980?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: Ib6426b2eaf3ac23ccaa74514651fd02a69cf791a
Gerrit-Change-Number: 85980
Gerrit-PatchSet: 4
Gerrit-Owner: agogo <agogo.huang(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: agogo <agogo.huang(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Mon, 20 Jan 2025 07:34:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Yidi Lin, agogo.
Yu-Ping Wu has posted comments on this change by agogo. ( https://review.coreboot.org/c/blobs/+/85980?usp=email )
Change subject: soc/mediatek/mt8196: Update MCUPM firmware to v1.1
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit https://review.coreboot.org/c/blobs/+/85980?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: Ib6426b2eaf3ac23ccaa74514651fd02a69cf791a
Gerrit-Change-Number: 85980
Gerrit-PatchSet: 4
Gerrit-Owner: agogo <agogo.huang(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: agogo <agogo.huang(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Mon, 20 Jan 2025 07:34:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Yidi Lin, agogo.
Hello Yidi Lin, Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/blobs/+/85980?usp=email
to look at the new patch set (#4).
Change subject: soc/mediatek/mt8196: Update MCUPM firmware to v1.1
......................................................................
soc/mediatek/mt8196: Update MCUPM firmware to v1.1
Change to use release branch.
TEST=NA
BUG=b:317009620
Change-Id: Ib6426b2eaf3ac23ccaa74514651fd02a69cf791a
Signed-off-by: Agogo Huang <agogo.huang(a)mediatek.corp-partner.google.com>
---
M soc/mediatek/mt8196/mcupm.bin
M soc/mediatek/mt8196/mcupm.bin.md5
M soc/mediatek/mt8196/mcupm_release_notes.txt
3 files changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/blobs refs/changes/80/85980/4
--
To view, visit https://review.coreboot.org/c/blobs/+/85980?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: blobs
Gerrit-Branch: main
Gerrit-Change-Id: Ib6426b2eaf3ac23ccaa74514651fd02a69cf791a
Gerrit-Change-Number: 85980
Gerrit-PatchSet: 4
Gerrit-Owner: agogo <agogo.huang(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: agogo <agogo.huang(a)mediatek.corp-partner.google.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Attention is currently required from: Hung-Te Lin, Jarried Lin, Paul Menzel, Yidi Lin.
Yu-Ping Wu has posted comments on this change by Jarried Lin. ( https://review.coreboot.org/c/coreboot/+/85978?usp=email )
Change subject: soc/mediatek/mt8196: Add RTC driver
......................................................................
Patch Set 5:
(2 comments)
File src/soc/mediatek/mt8196/include/soc/rtc.h:
https://review.coreboot.org/c/coreboot/+/85978/comment/64bf6fe8_c5a12033?us… :
PS1, Line 18: RTC_BBPU_PWREN = BIT(0),
> The new version of the header file mt6685_RTC_HW.H deletes the same macro definition as rtc_common. […]
Sorry, but I'm not quite convinced of that approach. The duplicate constants are one problem, but the underlying problem is the organization of the headers. In PS5 the `RTC_*` constants are still spread in rtc.h and mt6685_rtc_hw.h in MT8196's code (not considering the common rtc_reg_common.h), and it's unclear to me what the difference of them is. I asked about the distinction of rtc.h, mt6685_rtc_hw.h and mt6685_rtc.h, but you didn't answer my question yet.
In PS5 you removed the duplicate constants in mt6685_rtc_hw.h. However that leaves mt6685_rtc_hw.h in an incomplete state (for example it contains `RTC_BBPU_PWREN` but not `RTC_BBPU`), so that approach is not ideal.
Considering the limited time we have, I'd like to propose a simplest approach: following what we did for existing SoCs.
- Remove mt6685_hw.h, mt6685_rtc_hw.h and mt6685_rtc.h and keep only rtc.h. Move constants from these headers to rtc.h if they are used.
- Keep only required constants in rtc.h. Please make sure we don't have duplicate constants in rtc.h, rtc_common.h and rtc_reg_common.h.
Then we may consider refactoring in future patches.
File src/soc/mediatek/mt8196/mt6685_rtc.c:
https://review.coreboot.org/c/coreboot/+/85978/comment/3ac1ac4a_18306f6e?us… :
PS2, Line 358: rtc_init_after_recovery
> move to above line
Done
--
To view, visit https://review.coreboot.org/c/coreboot/+/85978?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: I3dd337eaa3eed3012ddea300f7e04f2b63fb2daa
Gerrit-Change-Number: 85978
Gerrit-PatchSet: 5
Gerrit-Owner: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Shunxi Zhang <ot_shunxi.zhang(a)mediatek.corp-partner.google.com>
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-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jarried Lin <jarried.lin(a)mediatek.com>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Comment-Date: Mon, 20 Jan 2025 06:45:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Shunxi Zhang <ot_shunxi.zhang(a)mediatek.corp-partner.google.com>
Comment-In-Reply-To: Yu-Ping Wu <yupingso(a)google.com>
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>
Werner Zeh has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85881?usp=email )
(
2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: mb/siemens/mc_ehl2: Limit eMMC speed mode to DDR50
......................................................................
mb/siemens/mc_ehl2: Limit eMMC speed mode to DDR50
Due to layout restrictions on mc_ehl2, the eMMC interface is limited to
operate in DDR50 mode. The alternative modes SDR104 and SDR50 are not
supported. Limit the capabilities in the eMMC controller to DDR50 mode
only so that the eMMC driver in OS will choose the right mode for
operation even if the attached eMMC card supports higher modes.
BUG=none
TEST=Boot into Linux and check dmesg output for mmc modes
Change-Id: I668bb5b0b3197497920b36bcf283c25d2a0c00ba
Signed-off-by: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85881
Reviewed-by: Uwe Poeche <uwe.poeche(a)siemens.com>
Reviewed-by: Werner Zeh <werner.zeh(a)siemens.com>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c
1 file changed, 9 insertions(+), 0 deletions(-)
Approvals:
build bot (Jenkins): Verified
Werner Zeh: Looks good to me, approved
Uwe Poeche: Looks good to me, but someone else must approve
diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c
index dd90d6f..ac3ab14 100644
--- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c
+++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/mainboard.c
@@ -50,6 +50,15 @@
/* Use preset driver strength from preset value registers. */
clrsetbits16(res2mmio(res, HOSTCTRL2, 0), 0, HOSTCTRL2_PRESET);
}
+
+ dev = pcidev_path_on_root(PCH_DEVFN_EMMC);
+ if (dev) {
+ struct resource *res = probe_resource(dev, PCI_BASE_ADDRESS_0);
+ if (!res)
+ return;
+
+ disable_sdr_modes(res);
+ }
}
static void finalize_boot(void *unused)
--
To view, visit https://review.coreboot.org/c/coreboot/+/85881?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I668bb5b0b3197497920b36bcf283c25d2a0c00ba
Gerrit-Change-Number: 85881
Gerrit-PatchSet: 4
Gerrit-Owner: Mario Scheithauer <mario.scheithauer(a)siemens.com>
Gerrit-Reviewer: Uwe Poeche <uwe.poeche(a)siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>