soc/intel/cnl/acpi: add ish ACPI device

Create the ISH ACPI device so we can hang fields off of a _DSD table.

Since this is also a PCI device that has run time probing, we can always
emit the ACPI device and let the device tree turn the device on or off.

BRANCH=none
BUG=b:122722008
TEST=verify that _DSD table gets publish under ISH device in kernel ACPI
tables. Also verified that device is still turned off if device tree for
ISH is off.

Change-Id: Ic0231f1ac637fea0e251eb3ac84f0fd8d64c12b2
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://review.coreboot.org/c/31681
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Lijian Zhao <lijian.zhao@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Jett Rink 2019-02-27 13:58:05 -07:00 committed by Patrick Georgi
parent 59e5c80237
commit 088d2a3dad
2 changed files with 25 additions and 0 deletions

View File

@ -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:13.0 */
Device (ISHB)
{
Name (_ADR, 0x00130000)
Name (_DDN, "Integrated Sensor Hub Controller")
}

View File

@ -51,6 +51,9 @@
/* SMBus 0:1f.4 */
#include "smbus.asl"
/* ISH 0:13.0 */
#include "ish.asl"
/* USB XHCI 0:14.0 */
#include "xhci.asl"