Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30037
Change subject: soc/amd/stoneyridge: Name IO061 in ASL appropriately
......................................................................
soc/amd/stoneyridge: Name IO061 in ASL appropriately
AMD traditionally claims the resource at I/O port 61 for the onboard
PC-AT speaker. In later designs, the speaker may be omitted in favor
of routing the SPKR signal to the codec.
Some systems implement neither, and for those it is not correct to
identify the resource as a speaker. Modify the EISAID reported to
the OS depending on the system design. The default is that port 61
is reported as reserved. In order to report a speaker, add #define
in mainboard//dsdt.asl.
TEST=check /proc/ioports and iasl -d for both ways using a Grunt
BUG=b:117818432
Change-Id: I33aafb187f9fea7b38aae43c399292c7521fcfc4
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
---
M src/mainboard/amd/gardenia/dsdt.asl
M src/soc/amd/stoneyridge/acpi/lpc.asl
2 files changed, 9 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/37/30037/1
diff --git a/src/mainboard/amd/gardenia/dsdt.asl b/src/mainboard/amd/gardenia/dsdt.asl
index f190b4e..52bd90b 100644
--- a/src/mainboard/amd/gardenia/dsdt.asl
+++ b/src/mainboard/amd/gardenia/dsdt.asl
@@ -13,6 +13,8 @@
* GNU General Public License for more details.
*/
+#define MAINBOARD_HAS_SPEAKER 1
+
/* DefinitionBlock Statement */
#include <arch/acpi.h>
DefinitionBlock (
diff --git a/src/soc/amd/stoneyridge/acpi/lpc.asl b/src/soc/amd/stoneyridge/acpi/lpc.asl
index a41357a..390d3b6 100644
--- a/src/soc/amd/stoneyridge/acpi/lpc.asl
+++ b/src/soc/amd/stoneyridge/acpi/lpc.asl
@@ -13,6 +13,12 @@
* GNU General Public License for more details.
*/
+#if IS_ENABLED(MAINBOARD_HAS_SPEAKER)
+#define IO61_HID "PNP0800" /* AT style speaker */
+#else
+#define IO61_HID "PNP0C02" /* reserved resource */
+#endif
+
/* 0:14.3 - LPC */
Device(LPCB) {
Name(_ADR, 0x00140003)
@@ -66,7 +72,7 @@
} /* End Device(_SB.PCI0.LpcIsaBr.TMR) */
Device(SPKR) { /* Speaker */
- Name(_HID,EISAID("PNP0800")) /* AT style speaker */
+ Name(_HID,EISAID(IO61_HID)) /* AT style speaker */
Name(_CRS, ResourceTemplate() {
IO(Decode16, 0x0061, 0x0061, 0, 1)
})
--
To view, visit https://review.coreboot.org/c/coreboot/+/30037
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I33aafb187f9fea7b38aae43c399292c7521fcfc4
Gerrit-Change-Number: 30037
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-MessageType: newchange
Duncan Laurie has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30036
Change subject: ec/google/wilco: Guard DTPF with ifdef
......................................................................
ec/google/wilco: Guard DTPF with ifdef
There is a dependency issue with the EC DPTF code accessing
methods that are external, but once the mainboard includes the
relevant code they become internal and the current version of
IASL used by jenkins will fail to compile it.
Until the new IASL is deployed everywhere wrap the EC DPTF code
and expect that the mainboard will explicitly enable it.
Change-Id: I612ad8f86d424060ca0303d267d7c2915c760173
Signed-off-by: Duncan Laurie <dlaurie(a)google.com>
---
M src/ec/google/wilco/acpi/dptf.asl
M src/ec/google/wilco/acpi/ec.asl
M src/ec/google/wilco/acpi/event.asl
3 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/36/30036/1
diff --git a/src/ec/google/wilco/acpi/dptf.asl b/src/ec/google/wilco/acpi/dptf.asl
index f5545d0..0f1663f 100644
--- a/src/ec/google/wilco/acpi/dptf.asl
+++ b/src/ec/google/wilco/acpi/dptf.asl
@@ -18,10 +18,6 @@
* Dynamic Platform Thermal Framework support
*/
-External (\_SB.DPTF.CTOK, MethodObj)
-External (\_SB.DPTF.KTOC, MethodObj)
-External (\_SB.DPTF.TEVT, MethodObj)
-
/* Mutex for EC PAT interface */
Mutex (PATM, 1)
diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl
index ff8fccc..f9b16b5 100644
--- a/src/ec/google/wilco/acpi/ec.asl
+++ b/src/ec/google/wilco/acpi/ec.asl
@@ -147,5 +147,7 @@
#include "event.asl"
#include "lid.asl"
#include "platform.asl"
+#ifdef EC_ENABLE_DPTF
#include "dptf.asl"
+#endif
}
diff --git a/src/ec/google/wilco/acpi/event.asl b/src/ec/google/wilco/acpi/event.asl
index 21721f2..4a3394f 100644
--- a/src/ec/google/wilco/acpi/event.asl
+++ b/src/ec/google/wilco/acpi/event.asl
@@ -88,10 +88,12 @@
{
Printf ("EVT3: %o", Arg0)
+#ifdef EC_ENABLE_DPTF
/* Theraml Events */
If (EBIT (E3TH, Arg0)) {
^PATX ()
}
+#endif
}
/* Handle events in PmEv4 */
--
To view, visit https://review.coreboot.org/c/coreboot/+/30036
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I612ad8f86d424060ca0303d267d7c2915c760173
Gerrit-Change-Number: 30036
Gerrit-PatchSet: 1
Gerrit-Owner: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29762
to look at the new patch set (#5).
Change subject: mb/google/sarien: Enable DPTF
......................................................................
mb/google/sarien: Enable DPTF
Enable DPTF support for sarien/arcada boards. This is currently
using placeholder values that are identical that will be updated
after thermal tuning is done.
Change-Id: I7d51c3b38068fc25927c8dafc0bd9069b29d77f5
Signed-off-by: Duncan Laurie <dlaurie(a)google.com>
---
M src/mainboard/google/sarien/dsdt.asl
M src/mainboard/google/sarien/variants/arcada/devicetree.cb
A src/mainboard/google/sarien/variants/arcada/include/variant/acpi/dptf.asl
M src/mainboard/google/sarien/variants/arcada/include/variant/ec.h
M src/mainboard/google/sarien/variants/sarien/devicetree.cb
A src/mainboard/google/sarien/variants/sarien/include/variant/acpi/dptf.asl
M src/mainboard/google/sarien/variants/sarien/include/variant/ec.h
7 files changed, 137 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/62/29762/5
--
To view, visit https://review.coreboot.org/c/coreboot/+/29762
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7d51c3b38068fc25927c8dafc0bd9069b29d77f5
Gerrit-Change-Number: 29762
Gerrit-PatchSet: 5
Gerrit-Owner: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Michael Bacarella has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30035
Change subject: Documentation/mainboard/lenovo/t420.md: add pic of chip
......................................................................
Documentation/mainboard/lenovo/t420.md: add pic of chip
Provide pic of the flash IC with pinouts labeled, as well
as additional text about the chip.
Signed-off-by: Michael Bacarella <michael.bacarella(a)gmail.com>
Change-Id: I22a424db580abbcf3298b3f41baaab1fa422720f
---
M Documentation/mainboard/lenovo/t420.md
A Documentation/mainboard/lenovo/t420_chip_location.jpg
D Documentation/mainboard/lenovo/t420_chip_location.png
3 files changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/30035/1
diff --git a/Documentation/mainboard/lenovo/t420.md b/Documentation/mainboard/lenovo/t420.md
index 9516a4c..6ebff0e 100644
--- a/Documentation/mainboard/lenovo/t420.md
+++ b/Documentation/mainboard/lenovo/t420.md
@@ -7,7 +7,7 @@
Below is a picture of IC on the mainboard, with the pinouts labeled.
-[t420_chip_location]: t420_chip_location.png
+[t420_chip_location]: t420_chip_location.jpg
The chip will either be a Macronix MX25L6404E (shown above) or a Winbond
W25Q64CVSIG. Do not rely on dots painted in the corner of the chip (such as
diff --git a/Documentation/mainboard/lenovo/t420_chip_location.jpg b/Documentation/mainboard/lenovo/t420_chip_location.jpg
new file mode 100644
index 0000000..e385165
--- /dev/null
+++ b/Documentation/mainboard/lenovo/t420_chip_location.jpg
Binary files differ
diff --git a/Documentation/mainboard/lenovo/t420_chip_location.png b/Documentation/mainboard/lenovo/t420_chip_location.png
deleted file mode 100644
index b9172ac..0000000
--- a/Documentation/mainboard/lenovo/t420_chip_location.png
+++ /dev/null
Binary files differ
--
To view, visit https://review.coreboot.org/c/coreboot/+/30035
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I22a424db580abbcf3298b3f41baaab1fa422720f
Gerrit-Change-Number: 30035
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Bacarella <michael.bacarella(a)gmail.com>
Gerrit-MessageType: newchange
Duncan Laurie has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29762 )
Change subject: mb/google/sarien: Enable DPTF
......................................................................
Patch Set 4:
Need the updated iasl again.. I guess I need to isolate the DPTF code with a Kconfig instead.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29762
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7d51c3b38068fc25927c8dafc0bd9069b29d77f5
Gerrit-Change-Number: 29762
Gerrit-PatchSet: 4
Gerrit-Owner: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 04 Dec 2018 17:36:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Jett Rink has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30034
Change subject: mb/google/sarien: Enable ISH
......................................................................
mb/google/sarien: Enable ISH
Turn on the ISH in the device tree.
BUG=b:120295222
Change-Id: I0ba08c245d050aebc6eb06055690c422ab9b51c6
Signed-off-by: Jett Rink <jettrink(a)chromium.org>
---
M src/mainboard/google/sarien/variants/sarien/devicetree.cb
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/30034/1
diff --git a/src/mainboard/google/sarien/variants/sarien/devicetree.cb b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
index b33c923..d0b78f7 100644
--- a/src/mainboard/google/sarien/variants/sarien/devicetree.cb
+++ b/src/mainboard/google/sarien/variants/sarien/devicetree.cb
@@ -108,6 +108,7 @@
device pci 12.0 on end # Thermal Subsystem
device pci 12.5 off end # UFS SCS
device pci 12.6 off end # GSPI #2
+ device pci 13.0 on end # Integrated Sensor Hub
device pci 14.0 on end # USB xHCI
device pci 14.1 off end # USB xDCI (OTG)
chip drivers/intel/wifi
--
To view, visit https://review.coreboot.org/c/coreboot/+/30034
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I0ba08c245d050aebc6eb06055690c422ab9b51c6
Gerrit-Change-Number: 30034
Gerrit-PatchSet: 1
Gerrit-Owner: Jett Rink <jettrink(a)chromium.org>
Gerrit-MessageType: newchange
Hello build bot (Jenkins), Furquan Shaikh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/29761
to look at the new patch set (#4).
Change subject: ec/google/wilco/acpi: Add DPTF support
......................................................................
ec/google/wilco/acpi: Add DPTF support
Add the support needed for DPTF. This includes the methods to
write trip point values, read temperatures, and handle events.
This was tested on a sarien board by inspecting AML debug output
with the kernel while monitoring temperatures and trip points in
sysfs and controlling temperatures with a fan to ensure that when
a trip point is crossed an SCI is generated and the event is
handled properly.
Change-Id: I8d8570d176c0896fa709a6c782b319f58d3c1e52
Signed-off-by: Duncan Laurie <dlaurie(a)google.com>
---
A src/ec/google/wilco/acpi/dptf.asl
M src/ec/google/wilco/acpi/ec.asl
M src/ec/google/wilco/acpi/ec_ram.asl
M src/ec/google/wilco/acpi/event.asl
4 files changed, 159 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/29761/4
--
To view, visit https://review.coreboot.org/c/coreboot/+/29761
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I8d8570d176c0896fa709a6c782b319f58d3c1e52
Gerrit-Change-Number: 29761
Gerrit-PatchSet: 4
Gerrit-Owner: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Duncan Laurie <dlaurie(a)chromium.org>
Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: newpatchset
Patrick Rudolph has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/29859 )
Change subject: Documentation/../../kblrvp11: Add RVP11 documentation
......................................................................
Patch Set 2: Code-Review+1
(3 comments)
https://review.coreboot.org/#/c/29859/2/Documentation/mainboard/intel/kblrv…
File Documentation/mainboard/intel/kblrvp11.md:
https://review.coreboot.org/#/c/29859/2/Documentation/mainboard/intel/kblrv…
PS2, Line 48: 1. Dediprog SF600 with adapter B is used.
Not everyboard has a dediprog, I'd recommend to just reference https://doc.coreboot.org/flash_tutorial/index.htmlhttps://review.coreboot.org/#/c/29859/2/Documentation/mainboard/intel/kblrv…
PS2, Line 50: 3. Connect Dediprog SF600 to header at J7H1.
That's the important part here.
Knowing that there's a programming header compatible to dediprog pinout.
https://review.coreboot.org/#/c/29859/2/Documentation/mainboard/intel/kblrv…
PS2, Line 52: 5. Go to "file" and select the .rom file (16 MB) to program chip1.
That seems to describe some Windows UI ?
--
To view, visit https://review.coreboot.org/c/coreboot/+/29859
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I01509c2fa2c127b77ae72b8b0aaac0f826b0bedd
Gerrit-Change-Number: 29859
Gerrit-PatchSet: 2
Gerrit-Owner: PraveenX Hodagatta Pranesh <praveenx.hodagatta.pranesh(a)intel.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: PraveenX Hodagatta Pranesh <praveenx.hodagatta.pranesh(a)intel.com>
Gerrit-Reviewer: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-Reviewer: Teo Boon Tiong <boon.tiong.teo(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Tue, 04 Dec 2018 15:34:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment