Attention is currently required from: Hung-Te Lin, Jarried Lin.
Hello Hung-Te Lin, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85128?usp=email
to look at the new patch set (#14).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add PMIC MT6363 ADC driver
......................................................................
soc/mediatek/mt8196: Add PMIC MT6363 ADC driver
Add MT6363 AUXADC driver support.
TEST=build pass
BUG=b:317009620
Change-Id: Ice3c286cd207e445392d5f0126a07ce4f40dcf8a
---
A src/soc/mediatek/common/include/soc/mt6363_sdmadc.h
A src/soc/mediatek/common/mt6363_sdmadc.c
M src/soc/mediatek/mt8196/Makefile.mk
3 files changed, 217 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/85128/14
--
To view, visit https://review.coreboot.org/c/coreboot/+/85128?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: Ice3c286cd207e445392d5f0126a07ce4f40dcf8a
Gerrit-Change-Number: 85128
Gerrit-PatchSet: 14
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: Jarried Lin <jarried.lin(a)mediatek.com>
Attention is currently required from: Hope Wang, Hung-Te Lin, Jarried Lin, Yidi Lin, Yu-Ping Wu.
Hello Hope Wang, Hung-Te Lin, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85129?usp=email
to look at the new patch set (#13).
The following approvals got outdated and were removed:
Verified+1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add PMIC mt6373 driver
......................................................................
soc/mediatek/mt8196: Add PMIC mt6373 driver
1. add mt6373 driver in soc folder
2. add regulator api for SD power
3. add implement interface for vcn33_3
4. enable vcn33_3 & set vcn33_3 3.3v
5. add MT6373 LDO enable api
TEST=build pass
BUG=b:317009620
Change-Id: Icbcd1f5a22388093781fd92c31889dd55a0ed9a3
Signed-off-by: Hope Wang <hope.wang(a)mediatek.corp-partner.google.com>
---
A src/soc/mediatek/common/include/soc/mt6373.h
A src/soc/mediatek/common/mt6373.c
M src/soc/mediatek/mt8196/Makefile.mk
A src/soc/mediatek/mt8196/mt6373.c
4 files changed, 717 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/85129/13
--
To view, visit https://review.coreboot.org/c/coreboot/+/85129?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: Icbcd1f5a22388093781fd92c31889dd55a0ed9a3
Gerrit-Change-Number: 85129
Gerrit-PatchSet: 13
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-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Attention is currently required from: Hung-Te Lin, Jarried Lin.
Hello Hung-Te Lin, Yidi Lin, Yu-Ping Wu, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/85128?usp=email
to look at the new patch set (#13).
The following approvals got outdated and were removed:
Verified-1 by build bot (Jenkins)
Change subject: soc/mediatek/mt8196: Add PMIC MT6363 ADC driver
......................................................................
soc/mediatek/mt8196: Add PMIC MT6363 ADC driver
Add MT6363 AUXADC driver support.
TEST=build pass
BUG=b:317009620
Change-Id: Ice3c286cd207e445392d5f0126a07ce4f40dcf8a
---
A src/soc/mediatek/common/include/soc/mt6363_sdmadc.h
A src/soc/mediatek/common/mt6363_sdmadc.c
M src/soc/mediatek/mt8196/Makefile.mk
3 files changed, 218 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/85128/13
--
To view, visit https://review.coreboot.org/c/coreboot/+/85128?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: Ice3c286cd207e445392d5f0126a07ce4f40dcf8a
Gerrit-Change-Number: 85128
Gerrit-PatchSet: 13
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: Jarried Lin <jarried.lin(a)mediatek.com>
Attention is currently required from: Arthur Heymans, Krystian Hebel, Martin L Roth, Patrick Rudolph, Paul Menzel, Sergii Dmytruk.
Michał Żygowski has posted comments on this change by Sergii Dmytruk. ( https://review.coreboot.org/c/coreboot/+/83426?usp=email )
Change subject: Documentation/drivers/smmstorev2.md: describe capsule update API
......................................................................
Patch Set 13:
(1 comment)
File Documentation/drivers/smmstorev2.md:
https://review.coreboot.org/c/coreboot/+/83426/comment/1ed7dc61_340168bf?us… :
PS13, Line 213: Attempts to write the protected memory regions can lead to undesired. When
unfinished sentence?
--
To view, visit https://review.coreboot.org/c/coreboot/+/83426?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: I94761d18be567e5302d1a836f09f0a7eecb4fb00
Gerrit-Change-Number: 83426
Gerrit-PatchSet: 13
Gerrit-Owner: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Martin L Roth <gaumless(a)gmail.com>
Gerrit-CC: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Martin L Roth <gaumless(a)gmail.com>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Krystian Hebel <krystian.hebel(a)3mdeb.com>
Gerrit-Attention: Sergii Dmytruk <sergii.dmytruk(a)3mdeb.com>
Gerrit-Comment-Date: Tue, 03 Dec 2024 11:54:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Jayvik Desai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85449?usp=email )
Change subject: ec/google/chromeec: Add indexed IO support
......................................................................
ec/google/chromeec: Add indexed IO support
Add support for indexed IO for ec communication, Indexed I/O allows
memory access using a single I/O port base address usually called an
index register and another port address called a data register.
BUG=b:379224648
TEST= able to build nissa/yaviks
Change-Id: I6c1aab3fc914eb5af2736a8ea3adf447040905e0
Signed-off-by: Jayvik Desai <jayvik(a)google.com>
---
M src/ec/google/chromeec/Kconfig
M src/ec/google/chromeec/ec_lpc.c
2 files changed, 28 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/85449/1
diff --git a/src/ec/google/chromeec/Kconfig b/src/ec/google/chromeec/Kconfig
index f0418ff..e7e56fa 100644
--- a/src/ec/google/chromeec/Kconfig
+++ b/src/ec/google/chromeec/Kconfig
@@ -60,6 +60,18 @@
this option simply enables the LPC EC code. The eSPI device
still needs to correctly configure the bus transactions.
+config EC_GOOGLE_CHROMEEC_INDEXED_IO
+ depends on EC_GOOGLE_CHROMEEC && ARCH_X86
+ def_bool n
+ help
+ Google Chrome EC enable support for indexed I/O access.
+
+ Indexed I/O allows devices with multiple memory locations to be
+ accessed using a single I/O port base address and an index register.
+ A separate data register, typically located at the address
+ immediately following the index register, is used for sending and
+ receiving data to the device.
+
config EC_GOOGLE_CHROMEEC_LPC
depends on ARCH_X86 # Needs Plug-and-play.
def_bool n
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c
index 2a9eabb..1732abf 100644
--- a/src/ec/google/chromeec/ec_lpc.c
+++ b/src/ec/google/chromeec/ec_lpc.c
@@ -52,6 +52,18 @@
return byte;
}
+#if CONFIG(EC_GOOGLE_CHROMEEC_INDEXED_IO)
+/* Read singe byte and return byte read using indexed IO*/
+static inline u8 read_byte_indexed_io(u16 port, u8 offset)
+{
+ u8 byte;
+ outb(offset, port);
+ port = port + 1;
+ byte = inb(port);
+ return byte;
+}
+#endif
+
/*
* Write bytes to a given LPC-mapped address.
*
@@ -156,6 +168,10 @@
printk(BIOS_ERR, "Error reading memmap data.\n");
return -1;
}
+#elif CONFIG(EC_GOOGLE_CHROMEEC_INDEXED_IO)
+ id1 = read_byte_indexed_io(EC_LPC_ADDR_MEMMAP, EC_MEMMAP_ID);
+ id2 = read_byte_indexed_io(EC_LPC_ADDR_MEMMAP, EC_MEMMAP_ID + 1);
+ flags = read_byte_indexed_io(EC_LPC_ADDR_MEMMAP, EC_MEMMAP_HOST_CMD_FLAGS);
#else
id1 = read_byte(EC_LPC_ADDR_MEMMAP + EC_MEMMAP_ID);
id2 = read_byte(EC_LPC_ADDR_MEMMAP + EC_MEMMAP_ID + 1);
--
To view, visit https://review.coreboot.org/c/coreboot/+/85449?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: I6c1aab3fc914eb5af2736a8ea3adf447040905e0
Gerrit-Change-Number: 85449
Gerrit-PatchSet: 1
Gerrit-Owner: Jayvik Desai <jayvik(a)google.com>
Attention is currently required from: Dinesh Gehlot, Eric Lai, Jayvik Desai, John Su, Kapil Porwal, Nick Vaccaro, Subrata Banik.
Paul Menzel has posted comments on this change by John Su. ( https://review.coreboot.org/c/coreboot/+/85447?usp=email )
Change subject: mb/google/brya/var/uldrenite: Generate RAM ID and SPD file
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://review.coreboot.org/c/coreboot/+/85447/comment/bdf771d7_dcf5512b?us… :
PS1, Line 10: Here is the ram part number list:
: DRAM Part Name ID to assign
: H9JCNNNBK3MLYR-N6E 0 (0000)
: K3KL6L60GM-MGCT 1 (0001)
: K3KL8L80CM-MGCT 2 (0010)
: MT62F1G32D2DS-026 WT:B 2 (0010)
: H58G56CK8BX146 3 (0011)
Copying the file content is not needed. Maybe just mention the models with the vendor.
--
To view, visit https://review.coreboot.org/c/coreboot/+/85447?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: I8003f693e1d8fa049a0e508078ce29b5bb39f2ef
Gerrit-Change-Number: 85447
Gerrit-PatchSet: 1
Gerrit-Owner: John Su <john_su(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Jayvik Desai <jayvik(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Jayvik Desai <jayvik(a)google.com>
Gerrit-Attention: John Su <john_su(a)compal.corp-partner.google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Attention: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Comment-Date: Tue, 03 Dec 2024 11:11:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No