Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9270
-gerrit
commit 70d4fcf01f85da442d2bfec074921fb7d9dcf27f
Author: Duncan Laurie <dlaurie(a)chromium.org>
Date: Mon Nov 3 08:53:21 2014 -0800
samus: Update thermal max for broadwell
Broadwell Tj_max is 105C, update accordingly.
BUG=chrome-os-partner:28234
BRANCH=samus
TEST=build and boot on samus
Change-Id: I001e17287ebbcbfdd909428e149a95878734dab9
Signed-off-by: Stefan Reinauer <reinauer(a)chromium.org>
Original-Commit-Id: fb1de7a9e1d84f592b785a1b495e4aaf434f23a2
Original-Change-Id: If6a3fd682f4ee9b8010982870a61b76e33010fd4
Original-Signed-off-by: Duncan Laurie <dlaurie(a)chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/226952
Original-Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
---
src/mainboard/google/samus/thermal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mainboard/google/samus/thermal.h b/src/mainboard/google/samus/thermal.h
index 9bea3f0..2e3f450 100644
--- a/src/mainboard/google/samus/thermal.h
+++ b/src/mainboard/google/samus/thermal.h
@@ -23,12 +23,12 @@
#define TEMPERATURE_SENSOR_ID 0 /* PECI */
/* Temperature which OS will shutdown at */
-#define CRITICAL_TEMPERATURE 99
+#define CRITICAL_TEMPERATURE 104
/* Temperature which OS will throttle CPU */
#define PASSIVE_TEMPERATURE 95
/* Tj_max value for calculating PECI CPU temperature */
-#define MAX_TEMPERATURE 100
+#define MAX_TEMPERATURE 105
#endif
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9268
-gerrit
commit ca83d75248a488f831c5c65791793c0134e9e779
Author: Ben Zhang <benzh(a)chromium.org>
Date: Tue Sep 30 12:55:04 2014 -0700
samus: Make codec interrupt active high
The codec interrupt needs to be active high because multiple
interrupt sources share this line:
1) Headphone plug detect
2) Mic present
3) Hotword detect
These interrupt sources are OR-ed together.
BUG=chrome-os-partner:29649
BRANCH=samus
TEST=Jack detection works on samus
Change-Id: If35fe8493ab30d878d9fac2251acee62c776b0eb
Signed-off-by: Stefan Reinauer <reinauer(a)chromium.org>
Original-Commit-Id: 348608fe61f7848db2bfd22502a0c259d24f8980
Original-Change-Id: Ief0a291d9455f2d03789198153781ff8133aa1ce
Original-Signed-off-by: Ben Zhang <benzh(a)chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/220588
Original-Reviewed-by: Duncan Laurie <dlaurie(a)chromium.org>
---
src/mainboard/google/samus/acpi/mainboard.asl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/google/samus/acpi/mainboard.asl b/src/mainboard/google/samus/acpi/mainboard.asl
index b4b4723..128f266 100644
--- a/src/mainboard/google/samus/acpi/mainboard.asl
+++ b/src/mainboard/google/samus/acpi/mainboard.asl
@@ -193,7 +193,7 @@ Scope (\_SB.PCI0.I2C0)
)
/* GPIO46 is PIRQO (use HOTWORD_DET as codec IRQ) */
- Interrupt (ResourceConsumer, Edge, ActiveLow) { 30 }
+ Interrupt (ResourceConsumer, Edge, ActiveHigh) { 30 }
/*
* Codec GPIOs are 1-based in the schematic
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9267
-gerrit
commit 889f0ced93da98587915d95e928e372f7dbb37b4
Author: Kenji Chen <kenji.chen(a)intel.com>
Date: Tue Sep 30 14:17:35 2014 +0800
Broadwell: Fix PCIe L1 Sub-State capability ID not filled.
Signed-off-by: Stefan Reinauer <reinauer(a)chromium.org>
Original-Commit-Id: 31d7276fbdca67937bcdf0d5c2af371a2fd1a510
Original-BUG=chrome-os-partner:31424,chromeos-os-partner:32380
Original-TEST=Build a BIOS image and check the value is applied correctly.
Original-Signed-off-by: Kenji Chen <kenji.chen(a)intel.com>
Original-Change-Id: I0adda3643776b259a635a021babd983090f1df43
Original-Reviewed-on: https://chromium-review.googlesource.com/220475
Original-Reviewed-by: Duncan Laurie <dlaurie(a)chromium.org>
Change-Id: Id88c11ed128b44c3a60ef1a141b99071c1ee15d3
---
src/soc/intel/broadwell/pcie.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/soc/intel/broadwell/pcie.c b/src/soc/intel/broadwell/pcie.c
index 4e5bbfa..10b6230 100644
--- a/src/soc/intel/broadwell/pcie.c
+++ b/src/soc/intel/broadwell/pcie.c
@@ -558,9 +558,12 @@ static void pch_pcie_early(struct device *dev)
pcie_update_cfg8(dev, 0xf5, 0x0f, 0);
- /* Set Extended Capability to offset 200h and Advanced Error Report. */
+ /* Set AER Extended Cap ID to 01h and Next Cap Pointer to 200h. */
pcie_update_cfg(dev, 0x100, ~(1 << 29) & ~0xfffff, (1 << 29) | 0x10001);
+ /* Set L1 Sub-State Cap ID to 1Eh and Next Cap Pointer to None. */
+ pcie_update_cfg(dev, 0x200, ~0xffff, 0x001e);
+
pcie_update_cfg(dev, 0x320, ~(3 << 20) & ~(7 << 6),
(1 << 20) | (3 << 6));
/* Enable Relaxed Order from Root Port. */
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9266
-gerrit
commit f4caa0ad5dafb321d420d6d07b91dc5296142a83
Author: Ben Zhang <benzh(a)chromium.org>
Date: Mon Oct 20 17:27:42 2014 -0700
samus: Add codec platform data for jack detect
GPIO IRQ support has been added in upstream rt5677 driver,
with new jack detect platform config options.
BUG=chrome-os-partner:29649
BRANCH=samus
TEST=headphone and mic detect works on Samus
Change-Id: I68a675ccd1fec3e5329d57aadad3229053092026
Signed-off-by: Stefan Reinauer <reinauer(a)chromium.org>
Original-Commit-Id: 4b90fa2f557f603661e25c9e1b4712eea15c8502
Original-Change-Id: I379087b8acdb13e65776a18c9ee3a58d4cb4e73c
Original-Signed-off-by: Ben Zhang <benzh(a)chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/224513
Original-Reviewed-by: Duncan Laurie <dlaurie(a)chromium.org>
---
src/mainboard/google/samus/acpi/mainboard.asl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mainboard/google/samus/acpi/mainboard.asl b/src/mainboard/google/samus/acpi/mainboard.asl
index ec3cfe0..b4b4723 100644
--- a/src/mainboard/google/samus/acpi/mainboard.asl
+++ b/src/mainboard/google/samus/acpi/mainboard.asl
@@ -178,6 +178,9 @@ Scope (\_SB.PCI0.I2C0)
Name (OUT2, 1) /* LOUT2 differential */
Name (OUT3, 0) /* LOUT3 differential */
Name (ASRC, 1) /* Enable I2S1 ASRC */
+ Name (JD1, 0) /* JackDetect1 is not used */
+ Name (JD2, 2) /* Use GPIO5 as JackDetect2 */
+ Name (JD3, 3) /* Use GPIO6 as JackDetect3 */
Name (_CRS, ResourceTemplate()
{