Attention is currently required from: Jason Glenesk, Raul Rangel, Arthur Heymans, Fred Reitberger, Felix Held.
Matt DeVillier has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68113 )
Change subject: soc/amd/*: Move emmc disabling to device ops
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://review.coreboot.org/c/coreboot/+/68113
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4052438185e7861792733b96a1298201c73fc3ff
Gerrit-Change-Number: 68113
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk(a)gmail.com>
Gerrit-Reviewer: Matt DeVillier <matt.devillier(a)amd.corp-partner.google.com>
Gerrit-Reviewer: Raul Rangel <rrangel(a)chromium.org>
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: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Attention: Fred Reitberger <reitbergerfred(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Tue, 04 Oct 2022 17:33:53 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Tim Wawrzynczak.
Hello Tim Wawrzynczak,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/68117
to look at the new patch set (#2).
Change subject: src/soc/intel/alderlake: Add HDA link enable parameter
......................................................................
src/soc/intel/alderlake: Add HDA link enable parameter
This patch adds HDA link enable parameter. The PchHDaAudioLinkHdaEnable
is required to be set for HDA link signals. The FSP uses it to enable
HDA SDI signal wake/response through HDA PCR registers. Otherwise, the
HDA link is not going to work even the HDA GPIO pins are configured
properly.
TEST=Add pch_hda_link_enable = "1" in devicetree & make & ensure the
HDA ALC711 codec (HDA configured) is recognized on ADL-S RVP
Signed-off-by: Gaggery Tsai <gaggery.tsai(a)intel.com>
Change-Id: Id72cc9c3924250bd8f27174299a641c09c2dcad6
---
M src/soc/intel/alderlake/chip.h
M src/soc/intel/alderlake/romstage/fsp_params.c
2 files changed, 25 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/68117/2
--
To view, visit https://review.coreboot.org/c/coreboot/+/68117
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id72cc9c3924250bd8f27174299a641c09c2dcad6
Gerrit-Change-Number: 68117
Gerrit-PatchSet: 2
Gerrit-Owner: Gaggery Tsai <gaggery.tsai(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Attention: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-MessageType: newpatchset
Gaggery Tsai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/68117 )
Change subject: src/soc/intel/alderlake: Add HDA link enable parameter
......................................................................
src/soc/intel/alderlake: Add HDA link enable parameter
This patch adds HDA link enable parameter. The PchHDaAudioLinkHdaEnable
is required to be set for HDA link signals. The FSP uses it to enable
HDA SDI signal wake/response through HDA PCR registers. Otherwise, the
HDA link is not going to work even the HDA GPIO pins are configured
properly.
TEST=Add pch_hda_link_enable = "1" in devicetree & make & ensure the
HDA ALC711 codec (HDA configured) is recognized on ADL-S RVP
Signed-off-by: Gaggery Tsai <gaggery.tsai(a)intel.com>
Change-Id: Id72cc9c3924250bd8f27174299a641c09c2dcad6
---
M src/soc/intel/alderlake/chip.h
M src/soc/intel/alderlake/romstage/fsp_params.c
2 files changed, 25 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/68117/1
diff --git a/src/soc/intel/alderlake/chip.h b/src/soc/intel/alderlake/chip.h
index 4cb6066..50de43c 100644
--- a/src/soc/intel/alderlake/chip.h
+++ b/src/soc/intel/alderlake/chip.h
@@ -323,6 +323,7 @@
/* Audio related */
uint8_t pch_hda_dsp_enable;
+ uint8_t pch_hda_link_enable;
/* iDisp-Link T-Mode 0: 2T, 2: 4T, 3: 8T, 4: 16T */
enum {
diff --git a/src/soc/intel/alderlake/romstage/fsp_params.c b/src/soc/intel/alderlake/romstage/fsp_params.c
index c0bdb0d..d127f18 100644
--- a/src/soc/intel/alderlake/romstage/fsp_params.c
+++ b/src/soc/intel/alderlake/romstage/fsp_params.c
@@ -239,12 +239,12 @@
m_cfg->PchHdaIDispLinkFrequency = config->pch_hda_idisp_link_frequency;
m_cfg->PchHdaIDispCodecDisconnect = !config->pch_hda_idisp_codec_enable;
/*
- * All the PchHdaAudioLink{Hda|Dmic|Ssp|Sndw}Enable UPDs are used by FSP only to
- * configure GPIO pads for audio. Mainboard is expected to perform all GPIO
- * configuration in coreboot and hence these UPDs are set to 0 to skip FSP GPIO
- * configuration for audio pads.
+ * For HDA link, PchHdaAudioLinkHdaEnable needs to be set, FSP will set HDA PCR
+ * to activate SDI wake/response. For Non-HDA linkgit statu, Mainboard is expected
+ * to perform all GPIO configuration in coreboot and hence these UPDs are set
+ * to 0 to skip FSP GPIO configuration for audio pads.
*/
- m_cfg->PchHdaAudioLinkHdaEnable = 0;
+ m_cfg->PchHdaAudioLinkHdaEnable = config->pch_hda_link_enable;
memset(m_cfg->PchHdaAudioLinkDmicEnable, 0, sizeof(m_cfg->PchHdaAudioLinkDmicEnable));
memset(m_cfg->PchHdaAudioLinkSspEnable, 0, sizeof(m_cfg->PchHdaAudioLinkSspEnable));
memset(m_cfg->PchHdaAudioLinkSndwEnable, 0, sizeof(m_cfg->PchHdaAudioLinkSndwEnable));
--
To view, visit https://review.coreboot.org/c/coreboot/+/68117
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id72cc9c3924250bd8f27174299a641c09c2dcad6
Gerrit-Change-Number: 68117
Gerrit-PatchSet: 1
Gerrit-Owner: Gaggery Tsai <gaggery.tsai(a)intel.com>
Gerrit-MessageType: newchange
Attention is currently required from: Fabio Aiuto, Paul Menzel, Tim Wawrzynczak, Felix Held.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68101 )
Change subject: include/device/device_util.c: add helpers to check pci device enabled
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
File src/device/device_util.c:
https://review.coreboot.org/c/coreboot/+/68101/comment/a4da243b_45f69d50
PS1, Line 971: pci->bus->dev->path.type
Why does this access the bus info? Can any of these pointers be NULL? The parameter itself can be NULL, too...
--
To view, visit https://review.coreboot.org/c/coreboot/+/68101
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3257c8404017372f6cdd9f6cf9453502447343a0
Gerrit-Change-Number: 68101
Gerrit-PatchSet: 1
Gerrit-Owner: Fabio Aiuto <fabioaiuto83(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Fabio Aiuto <fabioaiuto83(a)gmail.com>
Gerrit-Attention: Paul Menzel <paulepanter(a)mailbox.org>
Gerrit-Attention: Tim Wawrzynczak <inforichland(a)gmail.com>
Gerrit-Attention: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-Comment-Date: Tue, 04 Oct 2022 16:27:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: Fabio Aiuto, Damien Zammit.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/68103 )
Change subject: treewide: use helper to check if pci device is on n-th bus
......................................................................
Patch Set 2:
(1 comment)
File src/mainboard/emulation/qemu-i440fx/northbridge.c:
https://review.coreboot.org/c/coreboot/+/68103/comment/76360c68_0a93f46b
PS2, Line 222: if (!is_pci_dev_on_bus(dev, 0))
This is equivalent to:
dev->bus->dev->path.type != DEVICE_PATH_PCI || dev->bus->secondary != 0
Whereas the original was:
dev->path.type != DEVICE_PATH_PCI || dev->bus->secondary != 0
Why involve the bus?
--
To view, visit https://review.coreboot.org/c/coreboot/+/68103
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4a3e96381c29056de71953ea2c39cd540f3df191
Gerrit-Change-Number: 68103
Gerrit-PatchSet: 2
Gerrit-Owner: Fabio Aiuto <fabioaiuto83(a)gmail.com>
Gerrit-Reviewer: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-Reviewer: Damien Zammit
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Attention: Fabio Aiuto <fabioaiuto83(a)gmail.com>
Gerrit-Attention: Damien Zammit
Gerrit-Comment-Date: Tue, 04 Oct 2022 16:26:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment