Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48239 )
Change subject: MAINTAINERS: add maintainers for soc/amd/cezanne and soc/amd/common
......................................................................
MAINTAINERS: add maintainers for soc/amd/cezanne and soc/amd/common
Change-Id: Ib661fdf27d5cdb6c2b989c7f2acfc8a6e061657c
Signed-off-by: Felix Held <felix-coreboot(a)felixheld.de>
---
M MAINTAINERS
1 file changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/48239/1
diff --git a/MAINTAINERS b/MAINTAINERS
index 880c4aa..14444aa 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -551,6 +551,20 @@
# Systems on a Chip
################################################################################
+AMD Cezanne
+M: Marshall Dawson <marshalldawson3rd(a)gmail.com>
+M: Felix Held <felix-coreboot(a)felixheld.de>
+M: Jason Glenesk <jason.glenesk(a)gmail.com>
+S: Maintained
+F: src/soc/amd/cezanne/
+
+AMD common SoC code
+M: Marshall Dawson <marshalldawson3rd(a)gmail.com>
+M: Felix Held <felix-coreboot(a)felixheld.de>
+M: Jason Glenesk <jason.glenesk(a)gmail.com>
+S: Maintained
+F: src/soc/amd/common/
+
AMD Picasso
M: Marshall Dawson <marshalldawson3rd(a)gmail.com>
M: Felix Held <felix-coreboot(a)felixheld.de>
--
To view, visit https://review.coreboot.org/c/coreboot/+/48239
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ib661fdf27d5cdb6c2b989c7f2acfc8a6e061657c
Gerrit-Change-Number: 48239
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot(a)felixheld.de>
Gerrit-MessageType: newchange
Michael Niewöhner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/48089 )
Change subject: intel/common/block/gpio: only reset configured SMI instead of all
......................................................................
intel/common/block/gpio: only reset configured SMI instead of all
Currently, when a SMI GPIO gets configured, the whole status register is
get written back and thus, all SMIs get reset.
Do it right and reset only the correspondig status bit of the GPIO to be
configured.
Signed-off-by: Michael Niewöhner <foss(a)mniewoehner.de>
Change-Id: Iecf789d3009011381835959cb1c166f703f1c0cc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48089
Reviewed-by: Furquan Shaikh <furquan(a)google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Tested-by: build bot (Jenkins) <no-reply(a)coreboot.org>
---
M src/soc/intel/common/block/gpio/gpio.c
1 file changed, 7 insertions(+), 7 deletions(-)
Approvals:
build bot (Jenkins): Verified
Furquan Shaikh: Looks good to me, approved
Tim Wawrzynczak: Looks good to me, approved
diff --git a/src/soc/intel/common/block/gpio/gpio.c b/src/soc/intel/common/block/gpio/gpio.c
index d6958b1..0d21c8a 100644
--- a/src/soc/intel/common/block/gpio/gpio.c
+++ b/src/soc/intel/common/block/gpio/gpio.c
@@ -154,9 +154,9 @@
static void gpi_enable_smi(const struct pad_config *cfg,
const struct pad_community *comm)
{
- uint32_t value;
uint16_t sts_reg;
uint16_t en_reg;
+ uint32_t en_value;
int group;
int pin;
@@ -165,15 +165,15 @@
pin = relative_pad_in_comm(comm, cfg->pad);
group = gpio_group_index(comm, pin);
-
sts_reg = GPI_SMI_STS_OFFSET(comm, group);
- value = pcr_read32(comm->port, sts_reg);
- /* Write back 1 to reset the sts bits */
- pcr_write32(comm->port, sts_reg, value);
+ en_reg = GPI_SMI_EN_OFFSET(comm, group);
+ en_value = gpio_bitmask_within_group(comm, pin);
+
+ /* Write back 1 to reset the sts bit */
+ pcr_rmw32(comm->port, sts_reg, en_value, 0);
/* Set enable bits */
- en_reg = GPI_SMI_EN_OFFSET(comm, group);
- pcr_or32(comm->port, en_reg, gpio_bitmask_within_group(comm, pin));
+ pcr_or32(comm->port, en_reg, en_value);
}
static void gpio_configure_itss(const struct pad_config *cfg, uint16_t port,
--
To view, visit https://review.coreboot.org/c/coreboot/+/48089
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iecf789d3009011381835959cb1c166f703f1c0cc
Gerrit-Change-Number: 48089
Gerrit-PatchSet: 11
Gerrit-Owner: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Felix Singer <felixsinger(a)posteo.net>
Gerrit-Reviewer: Arthur Heymans <arthur(a)aheymans.xyz>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: Michael Niewöhner <foss(a)mniewoehner.de>
Gerrit-Reviewer: Nico Huber <nico.h(a)gmx.de>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: merged
Martin Roth has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48255 )
Change subject: mb/google/zork: Set S0IX_SLP_L high in S0, low in S3
......................................................................
mb/google/zork: Set S0IX_SLP_L high in S0, low in S3
This is used as a signal to show the system state. It hadn't been used
up to this point as we're not currently using S0i3, but the fingerprint
sensor will use it to go into a low power mode, so set it appropriately
on Trembyle. Dalboz devices don't use the FPMCU, but set there as well
so that the state matches.
BUG=b:174695987
TEST=Verify GPIO state in S0 and S3 with the EC
BRANCH=Zork
Signed-off-by: Martin Roth <martinroth(a)chromium.org>
Change-Id: Ibc725905909830d44f77c2498a26edf6d7a3dc05
---
M src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c
M src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
2 files changed, 8 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/48255/1
diff --git a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c
index 884862d..a528827 100644
--- a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c
+++ b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_dalboz.c
@@ -30,8 +30,8 @@
PAD_NF(GPIO_8, ACP_I2S_LRCLK, PULL_NONE),
/* TOUCHPAD_INT_ODL */
PAD_SCI(GPIO_9, PULL_NONE, EDGE_LOW),
- /* S0iX SLP - (unused - goes to EC */
- PAD_NC(GPIO_10),
+ /* S0iX SLP - goes to EC */
+ PAD_GPO(GPIO_10, HIGH),
/* EC_IN_RW_OD */
PAD_GPI(GPIO_11, PULL_NONE),
/* USI_INT_ODL */
@@ -302,6 +302,8 @@
}
static const struct soc_amd_gpio gpio_sleep_table[] = {
+ /* S0iX SLP */
+ PAD_GPO(GPIO_10, LOW),
/* PCIE_RST1_L */
PAD_GPO(GPIO_27, LOW),
/*
diff --git a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
index 818c39b..2929c54 100644
--- a/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
+++ b/src/mainboard/google/zork/variants/baseboard/gpio_baseboard_trembyle.c
@@ -32,8 +32,8 @@
PAD_NF(GPIO_8, ACP_I2S_LRCLK, PULL_NONE),
/* TOUCHPAD_INT_ODL */
PAD_SCI(GPIO_9, PULL_NONE, EDGE_LOW),
- /* S0iX SLP - (unused - goes to EC & FPMCU */
- PAD_NC(GPIO_10),
+ /* S0iX SLP - goes to EC & FPMCU */
+ PAD_GPO(GPIO_10, HIGH),
/* USI_INT_ODL */
PAD_GPI(GPIO_12, PULL_NONE),
/* EN_PWR_TOUCHPAD_PS2 */
@@ -342,6 +342,8 @@
}
static const struct soc_amd_gpio gpio_sleep_table[] = {
+ /* S0iX SLP */
+ PAD_GPO(GPIO_10, LOW),
/* NVME_AUX_RESET_L */
PAD_GPO(GPIO_40, LOW),
/* EN_PWR_CAMERA */
--
To view, visit https://review.coreboot.org/c/coreboot/+/48255
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibc725905909830d44f77c2498a26edf6d7a3dc05
Gerrit-Change-Number: 48255
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth(a)google.com>
Gerrit-MessageType: newchange