af9f35a2ce
Add ACPI NHLT table generation that the current hardware supports. Reef supports two audio codecs, Dialog 7219 for headsets and Maxim 98357 for speakers. Change-Id: Ie39947960c86b8f65140834e31f9ed9f1b578485 Signed-off-by: Saurabh Satija <saurabh.satija@intel.com> Reviewed-on: https://review.coreboot.org/15440 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
49 lines
1.3 KiB
Text
49 lines
1.3 KiB
Text
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright 2016 Google Inc.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
DefinitionBlock(
|
|
"dsdt.aml",
|
|
"DSDT",
|
|
0x05, // DSDT revision: ACPI v5.0
|
|
"COREv4", // OEM id
|
|
"COREBOOT", // OEM table id
|
|
0x20110725 // OEM revision
|
|
)
|
|
{
|
|
/* global NVS and variables */
|
|
#include <soc/intel/apollolake/acpi/globalnvs.asl>
|
|
|
|
/* CPU */
|
|
#include <soc/intel/apollolake/acpi/cpu.asl>
|
|
|
|
Scope (\_SB) {
|
|
Device (PCI0)
|
|
{
|
|
#include <soc/intel/apollolake/acpi/northbridge.asl>
|
|
#include <soc/intel/apollolake/acpi/southbridge.asl>
|
|
#include <soc/intel/apollolake/acpi/pch_hda.asl>
|
|
}
|
|
}
|
|
|
|
/* Chrome OS specific */
|
|
#include "acpi/chromeos.asl"
|
|
#include <vendorcode/google/chromeos/acpi/chromeos.asl>
|
|
|
|
/* Chipset specific sleep states */
|
|
#include <soc/intel/apollolake/acpi/sleepstates.asl>
|
|
|
|
/* Mainboard Specific devices */
|
|
#include "acpi/mainboard.asl"
|
|
}
|