Hello Jes Klinke,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/39475
to review the following change.
Change subject: {soc,drivers}: Enable ISH 'firmware-name' device property on TGL via ACPI _DSD table
......................................................................
{soc,drivers}: Enable ISH 'firmware-name' device property on TGL via ACPI _DSD table
Upstream of non-mainboard parts of commit c88f7d29565a5f24603bc6cf235d8f3d7d1caf12.
Change-Id: I082c5bdd83a9d9e1a23dbc38b74e5f9752c98c99
Signed-off-by: Hu, Hebo <hebo.hu(a)intel.com>
---
M src/drivers/intel/ish/Kconfig
M src/drivers/intel/ish/ish.c
M src/include/device/pci_ids.h
A src/soc/intel/tigerlake/acpi/ish.asl
M src/soc/intel/tigerlake/acpi/southbridge.asl
5 files changed, 28 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/75/39475/1
diff --git a/src/drivers/intel/ish/Kconfig b/src/drivers/intel/ish/Kconfig
index 635864e..a2828d1 100644
--- a/src/drivers/intel/ish/Kconfig
+++ b/src/drivers/intel/ish/Kconfig
@@ -1,5 +1,6 @@
config DRIVERS_INTEL_ISH
bool
+ default n
help
When enabled, chip driver/intel/ish will publish information to the
SSDT _DSD table for the ISH device.
diff --git a/src/drivers/intel/ish/ish.c b/src/drivers/intel/ish/ish.c
index e9d5ae96..d542bd3 100644
--- a/src/drivers/intel/ish/ish.c
+++ b/src/drivers/intel/ish/ish.c
@@ -65,6 +65,7 @@
static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CNL_ISHB,
PCI_DEVICE_ID_INTEL_CML_ISHB,
+ PCI_DEVICE_ID_INTEL_TGL_ISHB,
0
};
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index ccbfe40..3da326b 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -2105,6 +2105,7 @@
#define PCI_DEVICE_ID_INTEL_82439TX 0x7100
#define PCI_DEVICE_ID_INTEL_CNL_ISHB 0x9dfc
#define PCI_DEVICE_ID_INTEL_CML_ISHB 0x02fc
+#define PCI_DEVICE_ID_INTEL_TGL_ISHB 0xa0fc
/* Intel 82371FB (PIIX) */
#define PCI_DEVICE_ID_INTEL_82371FB_ISA 0x122e
diff --git a/src/soc/intel/tigerlake/acpi/ish.asl b/src/soc/intel/tigerlake/acpi/ish.asl
new file mode 100644
index 0000000..186a147
--- /dev/null
+++ b/src/soc/intel/tigerlake/acpi/ish.asl
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2019 Google LLC.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+/* Intel Integrated Sensor Hub Controller 0:12.0 */
+
+Device (ISHB)
+{
+ Name (_ADR, 0x00120000)
+ Name (_DDN, "Integrated Sensor Hub Controller")
+}
diff --git a/src/soc/intel/tigerlake/acpi/southbridge.asl b/src/soc/intel/tigerlake/acpi/southbridge.asl
index 8593d07..8e17abb 100644
--- a/src/soc/intel/tigerlake/acpi/southbridge.asl
+++ b/src/soc/intel/tigerlake/acpi/southbridge.asl
@@ -46,6 +46,9 @@
/* SMBus 0:1f.4 */
#include "smbus.asl"
+/* ISH 0:12.0 */
+#include "ish.asl"
+
/* USB XHCI 0:14.0 */
#include "xhci.asl"
--
To view, visit https://review.coreboot.org/c/coreboot/+/39475
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I082c5bdd83a9d9e1a23dbc38b74e5f9752c98c99
Gerrit-Change-Number: 39475
Gerrit-PatchSet: 1
Gerrit-Owner: Jes Klinke <jbk(a)chromium.org>
Gerrit-Reviewer: Jes Klinke <jbk(a)google.com>
Gerrit-MessageType: newchange