Attention is currently required from: Amanda Hwang, Dinesh Gehlot, Kapil Porwal, Nick Vaccaro, Rishika Raj.
Eric Lai has posted comments on this change by Amanda Hwang. ( https://review.coreboot.org/c/coreboot/+/83746?usp=email )
Change subject: mb/google/trulo: Remove mux references from typec port
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/83746?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: I2fd6e8fcebd194da03ba3f264ee89037ca11769a
Gerrit-Change-Number: 83746
Gerrit-PatchSet: 1
Gerrit-Owner: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Rishika Raj <rishikaraj(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Rishika Raj <rishikaraj(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-Attention: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Gerrit-Comment-Date: Fri, 02 Aug 2024 03:37:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: Amanda Hwang, Dinesh Gehlot, Eric Lai, Kapil Porwal, Nick Vaccaro, Rishika Raj.
Subrata Banik has posted comments on this change by Amanda Hwang. ( https://review.coreboot.org/c/coreboot/+/83746?usp=email )
Change subject: mb/google/trulo: Remove mux references from typec port
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://review.coreboot.org/c/coreboot/+/83746?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: I2fd6e8fcebd194da03ba3f264ee89037ca11769a
Gerrit-Change-Number: 83746
Gerrit-PatchSet: 1
Gerrit-Owner: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Gerrit-Reviewer: Dinesh Gehlot <digehlot(a)google.com>
Gerrit-Reviewer: Eric Lai <ericllai(a)google.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Rishika Raj <rishikaraj(a)google.com>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Eric Lai <ericllai(a)google.com>
Gerrit-Attention: Rishika Raj <rishikaraj(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-Attention: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Gerrit-Comment-Date: Fri, 02 Aug 2024 03:37:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Amanda Hwang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83746?usp=email )
Change subject: mb/google/trulo: Remove mux references from typec port
......................................................................
mb/google/trulo: Remove mux references from typec port
The Type-C kernel driver no longer programs the AP mux. So remove device
references to the TCSS Mux control device from the Type-C port driver.
BUG=b:351117685
TEST=USB-C drive can be detected after system warm or cold reboot.
Change-Id: I2fd6e8fcebd194da03ba3f264ee89037ca11769a
Signed-off-by: Amanda Huang <amanda_hwang(a)compal.corp-partner.google.com>
---
M src/mainboard/google/brya/variants/trulo/overridetree.cb
1 file changed, 1 insertion(+), 12 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/83746/1
diff --git a/src/mainboard/google/brya/variants/trulo/overridetree.cb b/src/mainboard/google/brya/variants/trulo/overridetree.cb
index d7fca12..510053f 100644
--- a/src/mainboard/google/brya/variants/trulo/overridetree.cb
+++ b/src/mainboard/google/brya/variants/trulo/overridetree.cb
@@ -525,21 +525,10 @@
device ref uart0 on end
device ref pch_espi on
chip ec/google/chromeec
- use conn0 as mux_conn[0]
device pnp 0c09.0 on end
end
end
- device ref pmc hidden
- chip drivers/intel/pmc_mux
- device generic 0 on
- chip drivers/intel/pmc_mux/conn
- use usb2_port5 as usb2_port
- use tcss_usb3_port1 as usb3_port
- device generic 0 alias conn0 on end
- end
- end
- end
- end
+ device ref pmc hidden end
device ref hda on
chip drivers/sof
register "spkr_tplg" = "max98360a"
--
To view, visit https://review.coreboot.org/c/coreboot/+/83746?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: I2fd6e8fcebd194da03ba3f264ee89037ca11769a
Gerrit-Change-Number: 83746
Gerrit-PatchSet: 1
Gerrit-Owner: Amanda Hwang <amanda_hwang(a)compal.corp-partner.google.com>
Jon Murphy has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83745?usp=email )
Change subject: mb/google/hatch: Add FP enable for Dratini
......................................................................
mb/google/hatch: Add FP enable for Dratini
Add FP enable/disable based on SKU ID for Dratini. This is meant
to resolve a UMA issue with Dratini devices that had the FPMCU
populated on non-fp devices. Since the FPMCU is present, and the
firmware enables the power GPIO's based on variant, not SKU, the
devices were reporting data on fingerprint errantly.
BUG=b:354769653
TEST=Flash to Dratini, test FP.
Disable test SKU, flash on Dratini, test FP.
Change-Id: Ifc450f51b00b9c3b62268ce94884f5749a3e18c0
Signed-off-by: Jon Murphy <jpmurphy(a)google.com>
---
M src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
M src/mainboard/google/hatch/variants/dratini/ramstage.c
2 files changed, 25 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/83745/1
diff --git a/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h b/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
index c44e0db..89f6708 100644
--- a/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
+++ b/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
@@ -4,6 +4,14 @@
#define __MAINBOARD_SKU_H__
enum {
+ SKU_1_DRATINI = 1,
+ SKU_2_DRATINI = 2,
+ SKU_3_DRATINI = 3,
+ SKU_4_DRATINI = 4,
+ SKU_5_DRATINI = 5,
+ SKU_6_DRATINI = 6,
+ SKU_7_DRATINI = 7,
+ SKU_8_DRATINI = 8,
SKU_21_DRAGONAIR = 21,
SKU_22_DRAGONAIR = 22,
SKU_23_DRAGONAIR = 23,
diff --git a/src/mainboard/google/hatch/variants/dratini/ramstage.c b/src/mainboard/google/hatch/variants/dratini/ramstage.c
index 240bcae..f5c98b5 100644
--- a/src/mainboard/google/hatch/variants/dratini/ramstage.c
+++ b/src/mainboard/google/hatch/variants/dratini/ramstage.c
@@ -6,13 +6,21 @@
void variant_ramstage_init(void)
{
- /*
- * Enable power to FPMCU, wait for power rail to stabilize,
- * and then deassert FPMCU reset.
- * Waiting for the power rail to stabilize can take a while,
- * a minimum of 400us on Kohaku.
- */
- gpio_output(GPP_C11, 1);
- mdelay(4);
- gpio_output(GPP_A12, 1);
+ switch (sku_id) {
+ case SKU_2_DRATINI:
+ case SKU_4_DRATINI:
+ case SKU_6_DRATINI:
+ case SKU_8_DRATINI:
+ case SKU_21_DRAGONAIR:
+ case SKU_22_DRAGONAIR:
+ /*
+ * Enable power to FPMCU, wait for power rail to stabilize,
+ * and then deassert FPMCU reset.
+ * Waiting for the power rail to stabilize can take a while,
+ * a minimum of 400us on Kohaku.
+ */
+ gpio_output(GPP_C11, 1);
+ mdelay(4);
+ gpio_output(GPP_A12, 1);
+ }
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/83745?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: Ifc450f51b00b9c3b62268ce94884f5749a3e18c0
Gerrit-Change-Number: 83745
Gerrit-PatchSet: 1
Gerrit-Owner: Jon Murphy <jpmurphy(a)google.com>
Attention is currently required from: Jon Murphy, Nick Vaccaro, Subrata Banik.
Hello Jon Murphy,
I'd like you to do a code review.
Please visit
https://review.coreboot.org/c/coreboot/+/83744?usp=email
to review the following change.
Change subject: mb/google/hatch: Add FP enable for Dratini
......................................................................
mb/google/hatch: Add FP enable for Dratini
Add FP enable/disable based on SKU ID for Dratini. This is meant
to resolve a UMA issue with Dratini devices that had the FPMCU
populated on non-fp devices. Since the FPMCU is present, and the
firmware enables the power GPIO's based on variant, not SKU, the
devices were reporting data on fingerprint errantly.
BUG=b:354769653
TEST=Flash to Dratini, test FP.
Disable test SKU, flash on Dratini, test FP.
Change-Id: I2b30d70082062bc4a5fdb0e2eeca4b37af1613d9
Signed-off-by: Jon Murphy <jpmurphy(a)google.com>
---
M src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
M src/mainboard/google/hatch/variants/dratini/ramstage.c
2 files changed, 25 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/44/83744/1
diff --git a/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h b/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
index c44e0db..89f6708 100644
--- a/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
+++ b/src/mainboard/google/hatch/variants/dratini/include/variant/sku.h
@@ -4,6 +4,14 @@
#define __MAINBOARD_SKU_H__
enum {
+ SKU_1_DRATINI = 1,
+ SKU_2_DRATINI = 2,
+ SKU_3_DRATINI = 3,
+ SKU_4_DRATINI = 4,
+ SKU_5_DRATINI = 5,
+ SKU_6_DRATINI = 6,
+ SKU_7_DRATINI = 7,
+ SKU_8_DRATINI = 8,
SKU_21_DRAGONAIR = 21,
SKU_22_DRAGONAIR = 22,
SKU_23_DRAGONAIR = 23,
diff --git a/src/mainboard/google/hatch/variants/dratini/ramstage.c b/src/mainboard/google/hatch/variants/dratini/ramstage.c
index 240bcae..f5c98b5 100644
--- a/src/mainboard/google/hatch/variants/dratini/ramstage.c
+++ b/src/mainboard/google/hatch/variants/dratini/ramstage.c
@@ -6,13 +6,21 @@
void variant_ramstage_init(void)
{
- /*
- * Enable power to FPMCU, wait for power rail to stabilize,
- * and then deassert FPMCU reset.
- * Waiting for the power rail to stabilize can take a while,
- * a minimum of 400us on Kohaku.
- */
- gpio_output(GPP_C11, 1);
- mdelay(4);
- gpio_output(GPP_A12, 1);
+ switch (sku_id) {
+ case SKU_2_DRATINI:
+ case SKU_4_DRATINI:
+ case SKU_6_DRATINI:
+ case SKU_8_DRATINI:
+ case SKU_21_DRAGONAIR:
+ case SKU_22_DRAGONAIR:
+ /*
+ * Enable power to FPMCU, wait for power rail to stabilize,
+ * and then deassert FPMCU reset.
+ * Waiting for the power rail to stabilize can take a while,
+ * a minimum of 400us on Kohaku.
+ */
+ gpio_output(GPP_C11, 1);
+ mdelay(4);
+ gpio_output(GPP_A12, 1);
+ }
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/83744?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: I2b30d70082062bc4a5fdb0e2eeca4b37af1613d9
Gerrit-Change-Number: 83744
Gerrit-PatchSet: 1
Gerrit-Owner: ChromeOS coreboot bot <chromeos-coreboot-bot(a)google.com>
Gerrit-Reviewer: Jon Murphy <jpmurphy(a)google.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro(a)chromium.org>
Gerrit-Reviewer: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Subrata Banik <subratabanik(a)google.com>
Gerrit-Attention: Jon Murphy <jpmurphy(a)google.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro(a)chromium.org>