Caveh Jalali has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47653 )
Change subject: soc/intel/tigerlake: Define TCSS AUX pin bias control
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/47653/1/src/soc/intel/tigerlake/in…
File src/soc/intel/tigerlake/include/soc/early_tcss.h:
https://review.coreboot.org/c/coreboot/+/47653/1/src/soc/intel/tigerlake/in…
PS1, Line 103: 0x09000000
> Did you figure out where this 0x09 at the top byte comes from? or it just always appears here, even […]
@brandon.breitenstein@intel.com
needs to answer this one as he originally introduced this value.
i have no visibility in this area.
--
To view, visit https://review.coreboot.org/c/coreboot/+/47653
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I001aede139c2503ce9cae3af8d625624ff6e1af7
Gerrit-Change-Number: 47653
Gerrit-PatchSet: 1
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 17 Nov 2020 21:05:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46620 )
Change subject: mb/google/poppy/v/atlas: Reset bluetooth during boot
......................................................................
Patch Set 4: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/46620
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4c489963f7a353e8fc5f55b6cba7aaee0b347a37
Gerrit-Change-Number: 46620
Gerrit-PatchSet: 4
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Tue, 17 Nov 2020 20:39:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46619 )
Change subject: mb/google/poppy: Add late_gpio support
......................................................................
Patch Set 3: Code-Review+1
seems slightly obnoxious to have to program GPIOs in bootblock, romstage, and twice in ramstage but hey, what can you do
--
To view, visit https://review.coreboot.org/c/coreboot/+/46619
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I847f90275740ca825e4c93e6b8d5650143228476
Gerrit-Change-Number: 46619
Gerrit-PatchSet: 3
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Shelley Chen <shchen(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Tue, 17 Nov 2020 20:39:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47654 )
Change subject: mb/google/volteer: Use SoC header for TCSS port control
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/47654
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9ded34ad2316764ce42851b3d9b631ed5a30860e
Gerrit-Change-Number: 47654
Gerrit-PatchSet: 1
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 17 Nov 2020 20:35:49 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47653 )
Change subject: soc/intel/tigerlake: Define TCSS AUX pin bias control
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
much more readable, thanks Caveh!
https://review.coreboot.org/c/coreboot/+/47653/1/src/soc/intel/tigerlake/in…
File src/soc/intel/tigerlake/include/soc/early_tcss.h:
https://review.coreboot.org/c/coreboot/+/47653/1/src/soc/intel/tigerlake/in…
PS1, Line 103: 0x09000000
Did you figure out where this 0x09 at the top byte comes from? or it just always appears here, even though they're marked reserved?
--
To view, visit https://review.coreboot.org/c/coreboot/+/47653
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I001aede139c2503ce9cae3af8d625624ff6e1af7
Gerrit-Change-Number: 47653
Gerrit-PatchSet: 1
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 17 Nov 2020 20:35:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/47501 )
Change subject: mb/google/volteer/v/volteer2: Config for passive USB-C DB on C1
......................................................................
Patch Set 7:
(2 comments)
https://review.coreboot.org/c/coreboot/+/47501/3/src/mainboard/google/volte…
File src/mainboard/google/volteer/mainboard.c:
https://review.coreboot.org/c/coreboot/+/47501/3/src/mainboard/google/volte…
PS3, Line 129: /* Set up port C1 for USB3 passive DB */
: if (fw_config_probe(FW_CONFIG(DB_USB, USB3_PASSIVE))) {
: /*
: * TGL UP3/UP4 Processor EDS vol. 2a rev. 1.2
: * section 3.6.10
: * set IOM_TYPEC_SW_CONFIGURATION_4.PORT2_HSL_ORIENTATION_OVRRD_EN
: */
: cfg->TcssAuxOri |= BIT(2);
: cfg->IomTypeCPortPadCfg[2] = GPIO_ID_TCP1_AUXP_DC;
: cfg->IomTypeCPortPadCfg[3] = GPIO_ID_TCP1_AUXN_DC;
: }
> hmmm... can we update struct soc_intel_tigerlake_config from there? […]
We can (using `config_of_soc()`), and if we trust the `GpioOverride` UPD in FSP-S, then we could move the boot state we call `fw_config_handle` from. Right now it's BS_DEV_ENABLE, but it could be earlier (BS_PRE_DEVICE) so that it definitely runs before FSP-S. I'll take a look at doing that in a followup.
https://review.coreboot.org/c/coreboot/+/47501/7/src/mainboard/google/volte…
File src/mainboard/google/volteer/mainboard.c:
https://review.coreboot.org/c/coreboot/+/47501/7/src/mainboard/google/volte…
PS7, Line 129: #if CONFIG(VARIANT_HAS_PASSIVE_USB_DB)
: /* Set up port C1 for USB3 passive DB */
: if (fw_config_probe(FW_CONFIG(DB_USB, USB3_PASSIVE))) {
: /*
: * TGL UP3/UP4 Processor EDS vol. 2a rev. 1.2
: * section 3.6.10
: * set IOM_TYPEC_SW_CONFIGURATION_4.PORT2_HSL_ORIENTATION_OVRRD_EN
: */
: cfg->TcssAuxOri |= IOM_TCSS_PORT_CTRL(1,
: IOM_TCSS_ORI_NORMAL, IOM_TCSS_MUX_INTERNAL);
: cfg->IomTypeCPortPadCfg[2] = GPIO_ID_TCP1_AUXP_DC;
: cfg->IomTypeCPortPadCfg[3] = GPIO_ID_TCP1_AUXN_DC;
: }
: #endif /* VARIANT_HAS_PASSIVE_USB_DB */
suggestion:
add a new variant-specific function to handle this, e.g.,
`void variant_configure_usb_db(void)`
with a __weak implementation here that does nothing.
The #if goes away here, e.g. just call `variant_configure_usb_db()`
then in variants/volteer2/variant.c (new file), implement it just like it is here, e.g.
```
void variant_configure_usb_db(void)
{
if (fw_config_probe(FW_CONFIG(DB_USB, USB3_PASSIVE))) {
/*
* TGL UP3/UP4 Processor EDS vol. 2a rev. 1.2
* section 3.6.10
* set IOM_TYPEC_SW_CONFIGURATION_4.PORT2_HSL_ORIENTATION_OVRRD_EN
*/
cfg->TcssAuxOri |= IOM_TCSS_PORT_CTRL(1,
IOM_TCSS_ORI_NORMAL, IOM_TCSS_MUX_INTERNAL);
cfg->IomTypeCPortPadCfg[2] = GPIO_ID_TCP1_AUXP_DC;
cfg->IomTypeCPortPadCfg[3] = GPIO_ID_TCP1_AUXN_DC;
}
}
```
Then the whole VARIANT_HAS_PASSIVE_DB goes away
--
To view, visit https://review.coreboot.org/c/coreboot/+/47501
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id9939450213bac4c0d661759bef2f38f3fd3af76
Gerrit-Change-Number: 47501
Gerrit-PatchSet: 7
Gerrit-Owner: Caveh Jalali <caveh(a)chromium.org>
Gerrit-Reviewer: Brandon Breitenstein <brandon.breitenstein(a)intel.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)google.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Tue, 17 Nov 2020 20:28:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Caveh Jalali <caveh(a)chromium.org>
Comment-In-Reply-To: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-MessageType: comment
Hello build bot (Jenkins), Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/47168
to look at the new patch set (#9).
Change subject: soc/intel/xeon_sp: Follow the Integration Guide recommendations
......................................................................
soc/intel/xeon_sp: Follow the Integration Guide recommendations
The CedarIsland FSP Integration recommends locking down some things.
Change-Id: I72e04b55d69a8da79485e084b39c3bd38504897f
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/soc/intel/xeon_sp/cpx/chip.c
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/47168/9
--
To view, visit https://review.coreboot.org/c/coreboot/+/47168
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I72e04b55d69a8da79485e084b39c3bd38504897f
Gerrit-Change-Number: 47168
Gerrit-PatchSet: 9
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-MessageType: newpatchset
Hello Philipp Deppenwiese, build bot (Jenkins), Patrick Rudolph, Jonathan Zhang, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/46499
to look at the new patch set (#12).
Change subject: soc/intel/xeon_sp/cpx: Lock down P2SB SBI
......................................................................
soc/intel/xeon_sp/cpx: Lock down P2SB SBI
This is required for CBnT.
Change-Id: Idfd5c01003e0d307631e5c6895ac02e89a9aff08
Signed-off-by: Arthur Heymans <arthur(a)aheymans.xyz>
---
M src/soc/intel/xeon_sp/cpx/chip.c
M src/soc/intel/xeon_sp/include/soc/p2sb.h
2 files changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/46499/12
--
To view, visit https://review.coreboot.org/c/coreboot/+/46499
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Idfd5c01003e0d307631e5c6895ac02e89a9aff08
Gerrit-Change-Number: 46499
Gerrit-PatchSet: 12
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Jonathan Zhang <jonzhang(a)fb.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset