Attention is currently required from: Hung-Te Lin, cong yang, Yu-Ping Wu.
Yidi Lin has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74341 )
Change subject: soc/mediatek: Add support for regulator VIO18
......................................................................
Patch Set 8: Code-Review+1
(2 comments)
Patchset:
PS8:
Could you also submit a patch for MT6366_VRF12 and rebase whole patchset (including CB:74342) ?
File src/soc/mediatek/mt8186/mt6366.c:
https://review.coreboot.org/c/coreboot/+/74341/comment/0fcfb966_9d9e5ed2
PS7, Line 797: voltage_uv
> OK,thanks.
Ack
--
To view, visit https://review.coreboot.org/c/coreboot/+/74341
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3c3aa105e648b87fc39f881d762002f67b4422b5
Gerrit-Change-Number: 74341
Gerrit-PatchSet: 8
Gerrit-Owner: cong yang <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Ruihai Zhou <zhouruihai(a)huaqin.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-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: cong yang <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Comment-Date: Thu, 13 Apr 2023 06:39:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: cong yang <yangcong5(a)huaqin.corp-partner.google.com>
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Tarun Tuli, Subrata Banik, Kapil Porwal.
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74392 )
Change subject: screebo: initial coreboot for rex variant
......................................................................
Patch Set 1:
(12 comments)
File src/mainboard/google/rex/variants/screebo/fw_config.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/13db1bd5_36578aa4
PS1, Line 47: // printk(BIOS_INFO, "Configure GPIOs for no audio.\n");
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/5b959a51_99a1cbdd
PS1, Line 48: // GPIO_PADBASED_OVERRIDE(padbased_table, i2s_disable_pads);
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/9e83d32b_50c65b60
PS1, Line 49: // GPIO_PADBASED_OVERRIDE(padbased_table, dmic_disable_pads);
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/86a33732_d5d114f8
PS1, Line 50: // GPIO_PADBASED_OVERRIDE(padbased_table, sndw_disable_pads);
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/0fea3b76_bc08c291
PS1, Line 52: // printk(BIOS_INFO, "Configure GPIOs for SoundWire audio.\n");
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/e8b5f478_28c5fe99
PS1, Line 53: // GPIO_PADBASED_OVERRIDE(padbased_table, i2s_disable_pads);
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/5d2d4d07_34366c0d
PS1, Line 55: // printk(BIOS_INFO, "Configure GPIOs for I2S audio.\n");
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/f2085051_86dff063
PS1, Line 56: // GPIO_PADBASED_OVERRIDE(padbased_table, sndw_disable_pads);
please, no space before tabs
File src/mainboard/google/rex/variants/screebo/variant.c:
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/f2b821a3_eaa420f1
PS1, Line 17: // if (fw_config_probe(FW_CONFIG(UFC, UFC_USB)))
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/ced40dc3_4375abe8
PS1, Line 18: // acpigen_soc_clear_tx_gpio(GPP_B09);
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/db1e5617_030b0bb1
PS1, Line 20: // if (fw_config_probe(FW_CONFIG(UFC, UFC_USB)))
please, no space before tabs
Robot Comment from checkpatch (run ID jenkins-coreboot-checkpatch-174086):
https://review.coreboot.org/c/coreboot/+/74392/comment/f25baf62_aa73135c
PS1, Line 21: // acpigen_soc_set_tx_gpio(GPP_B09);
please, no space before tabs
--
To view, visit https://review.coreboot.org/c/coreboot/+/74392
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0a6fe30ebbabb4325b8c855ec0fb6eaf7bc2e8ee
Gerrit-Change-Number: 74392
Gerrit-PatchSet: 1
Gerrit-Owner: Simon Zhou <zhouguohui(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Reviewer: Tarun Tuli <taruntuli(a)google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Tarun Tuli <taruntuli(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Comment-Date: Thu, 13 Apr 2023 06:34:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Simon Zhou has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/74391 )
Change subject: mb/google/rex: Create screebo variant
......................................................................
mb/google/rex: Create screebo variant
Create the screebo variant of the rex0 reference board by copying
the template files to a new directory named for the variant.
(Auto-Generated by create_coreboot_variant.sh version 4.5.0).
BUG=b:276814951
BRANCH=None
TEST=util/abuild/abuild -p none -t google/rex -x -a
make sure the build includes GOOGLE_SCREEBO
Change-Id: I8d05ca7c0fe596378ca15d0734d46ad1dc63a1f9
Signed-off-by: Simon Zhou <zhouguohui(a)huaqin.corp-partner.google.com>
---
M src/mainboard/google/rex/Kconfig
M src/mainboard/google/rex/Kconfig.name
A src/mainboard/google/rex/variants/screebo/include/variant/ec.h
A src/mainboard/google/rex/variants/screebo/include/variant/gpio.h
A src/mainboard/google/rex/variants/screebo/memory/Makefile.inc
A src/mainboard/google/rex/variants/screebo/memory/dram_id.generated.txt
A src/mainboard/google/rex/variants/screebo/memory/mem_parts_used.txt
A src/mainboard/google/rex/variants/screebo/overridetree.cb
8 files changed, 65 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/74391/1
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index 6cea7fc..62ece95 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -80,10 +80,12 @@
config MAINBOARD_PART_NUMBER
default "Rex" if BOARD_GOOGLE_REX0
+ default "Screebo" if BOARD_GOOGLE_SCREEBO
config VARIANT_DIR
string
default "rex0" if BOARD_GOOGLE_REX0
+ default "screebo" if BOARD_GOOGLE_SCREEBO
config DIMM_SPD_SIZE
default 512
diff --git a/src/mainboard/google/rex/Kconfig.name b/src/mainboard/google/rex/Kconfig.name
index ca63842..886a2f0 100644
--- a/src/mainboard/google/rex/Kconfig.name
+++ b/src/mainboard/google/rex/Kconfig.name
@@ -4,3 +4,7 @@
bool "-> Rex 0"
select BOARD_GOOGLE_BASEBOARD_REX
select DRIVERS_GENESYSLOGIC_GL9755
+
+config BOARD_GOOGLE_SCREEBO
+ bool "-> Screebo"
+ select BOARD_GOOGLE_BASEBOARD_REX
diff --git a/src/mainboard/google/rex/variants/screebo/include/variant/ec.h b/src/mainboard/google/rex/variants/screebo/include/variant/ec.h
new file mode 100644
index 0000000..7a2a6ff
--- /dev/null
+++ b/src/mainboard/google/rex/variants/screebo/include/variant/ec.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __VARIANT_EC_H__
+#define __VARIANT_EC_H__
+
+#include <baseboard/ec.h>
+
+#endif
diff --git a/src/mainboard/google/rex/variants/screebo/include/variant/gpio.h b/src/mainboard/google/rex/variants/screebo/include/variant/gpio.h
new file mode 100644
index 0000000..c4fe342
--- /dev/null
+++ b/src/mainboard/google/rex/variants/screebo/include/variant/gpio.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef VARIANT_GPIO_H
+#define VARIANT_GPIO_H
+
+#include <baseboard/gpio.h>
+
+#endif
diff --git a/src/mainboard/google/rex/variants/screebo/memory/Makefile.inc b/src/mainboard/google/rex/variants/screebo/memory/Makefile.inc
new file mode 100644
index 0000000..eace2e4
--- /dev/null
+++ b/src/mainboard/google/rex/variants/screebo/memory/Makefile.inc
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+# This is an auto-generated file. Do not edit!!
+# Add memory parts in mem_parts_used.txt and run spd_tools to regenerate.
+
+SPD_SOURCES = placeholder
diff --git a/src/mainboard/google/rex/variants/screebo/memory/dram_id.generated.txt b/src/mainboard/google/rex/variants/screebo/memory/dram_id.generated.txt
new file mode 100644
index 0000000..fa24790
--- /dev/null
+++ b/src/mainboard/google/rex/variants/screebo/memory/dram_id.generated.txt
@@ -0,0 +1 @@
+DRAM Part Name ID to assign
diff --git a/src/mainboard/google/rex/variants/screebo/memory/mem_parts_used.txt b/src/mainboard/google/rex/variants/screebo/memory/mem_parts_used.txt
new file mode 100644
index 0000000..9621137
--- /dev/null
+++ b/src/mainboard/google/rex/variants/screebo/memory/mem_parts_used.txt
@@ -0,0 +1,11 @@
+# This is a CSV file containing a list of memory parts used by this variant.
+# One part per line with an optional fixed ID in column 2.
+# Only include a fixed ID if it is required for legacy reasons!
+# Generated IDs are dependent on the order of parts in this file,
+# so new parts must always be added at the end of the file!
+#
+# Generate an updated Makefile.inc and dram_id.generated.txt by running the
+# part_id_gen tool from util/spd_tools.
+# See util/spd_tools/README.md for more details and instructions.
+
+# Part Name
diff --git a/src/mainboard/google/rex/variants/screebo/overridetree.cb b/src/mainboard/google/rex/variants/screebo/overridetree.cb
new file mode 100644
index 0000000..6c284b3
--- /dev/null
+++ b/src/mainboard/google/rex/variants/screebo/overridetree.cb
@@ -0,0 +1,6 @@
+chip soc/intel/meteorlake
+
+ device domain 0 on
+ end
+
+end
--
To view, visit https://review.coreboot.org/c/coreboot/+/74391
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8d05ca7c0fe596378ca15d0734d46ad1dc63a1f9
Gerrit-Change-Number: 74391
Gerrit-PatchSet: 1
Gerrit-Owner: Simon Zhou <zhouguohui(a)huaqin.corp-partner.google.com>
Gerrit-MessageType: newchange
Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
cong yang has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74341 )
Change subject: soc/mediatek: Add support for regulator VIO18
......................................................................
Patch Set 8:
(2 comments)
File src/soc/mediatek/mt8186/mt6366.c:
https://review.coreboot.org/c/coreboot/+/74341/comment/70f3b892_535fa8cb
PS7, Line 17: #define VIO18_VOLTAGE_UV 1800000
> Move to line 792.
Done
https://review.coreboot.org/c/coreboot/+/74341/comment/d7f62f56_38d0e87d
PS7, Line 797: voltage_uv
> what about `vio18_uv` ?
OK,thanks.
--
To view, visit https://review.coreboot.org/c/coreboot/+/74341
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3c3aa105e648b87fc39f881d762002f67b4422b5
Gerrit-Change-Number: 74341
Gerrit-PatchSet: 8
Gerrit-Owner: cong yang <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Ruihai Zhou <zhouruihai(a)huaqin.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-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: Yidi Lin <yidilin(a)google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-Comment-Date: Thu, 13 Apr 2023 06:33:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Yidi Lin <yidilin(a)google.com>
Gerrit-MessageType: comment
Attention is currently required from: Hung-Te Lin, cong yang, Yu-Ping Wu.
Hello Hung-Te Lin, build bot (Jenkins), Paul Menzel, Ruihai Zhou, Yidi Lin, Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/74341
to look at the new patch set (#8).
Change subject: soc/mediatek: Add support for regulator VIO18
......................................................................
soc/mediatek: Add support for regulator VIO18
To provide power to MIPI panel STA_HIMAX83102_J02, add support for
regulator VIO18.
BUG=b:272425116
TEST=test firmware display pass for STA_HIMAX83102_J02 on Starmie.
Change-Id: I3c3aa105e648b87fc39f881d762002f67b4422b5
Signed-off-by: Cong Yang <yangcong5(a)huaqin.corp-partner.google.com>
---
M src/soc/mediatek/common/include/soc/regulator.h
M src/soc/mediatek/mt8186/include/soc/mt6366.h
M src/soc/mediatek/mt8186/mt6366.c
3 files changed, 37 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/74341/8
--
To view, visit https://review.coreboot.org/c/coreboot/+/74341
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3c3aa105e648b87fc39f881d762002f67b4422b5
Gerrit-Change-Number: 74341
Gerrit-PatchSet: 8
Gerrit-Owner: cong yang <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-Reviewer: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Ruihai Zhou <zhouruihai(a)huaqin.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-Attention: Hung-Te Lin <hungte(a)chromium.org>
Gerrit-Attention: cong yang <yangcong5(a)huaqin.corp-partner.google.com>
Gerrit-Attention: Yu-Ping Wu <yupingso(a)google.com>
Gerrit-MessageType: newpatchset
Attention is currently required from: Jason Glenesk, Raul Rangel, Martin Roth, Tim Van Patten, Fred Reitberger, Felix Held.
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74334 )
Change subject: soc/amd/common/block/lpc/spi_dma: Leverage CBFS_CACHE when using SPI DMA
......................................................................
Patch Set 4:
(1 comment)
File src/soc/amd/common/block/lpc/spi_dma.c:
https://review.coreboot.org/c/coreboot/+/74334/comment/60c51e75_91a5b127
PS4, Line 218: if (!CONFIG_CBFS_CACHE_SIZE)
> I suggest updating this to: […]
By extra copy into the cache, are you referring to cbfs_cache?
--
To view, visit https://review.coreboot.org/c/coreboot/+/74334
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie30b6324f9977261c60e55ed509e979ef290f1f1
Gerrit-Change-Number: 74334
Gerrit-PatchSet: 4
Gerrit-Owner: Karthik Ramasubramanian <kramasub(a)google.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Martin Roth <martin.roth(a)amd.corp-partner.google.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-Attention: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Attention: Raul Rangel <rrangel(a)chromium.org>
Gerrit-Attention: Jason Glenesk <jason.glenesk(a)amd.corp-partner.google.com>
Gerrit-Attention: Martin Roth <martin.roth(a)amd.corp-partner.google.com>
Gerrit-Attention: Tim Van Patten <timvp(a)google.com>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Thu, 13 Apr 2023 06:25:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Van Patten <timvp(a)google.com>
Gerrit-MessageType: comment