From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.31; helo=mga06.intel.com; envelope-from=shifeix.a.lu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E40392034A866 for ; Mon, 30 Oct 2017 01:47:21 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP; 30 Oct 2017 01:51:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,319,1505804400"; d="scan'208";a="329499433" Received: from shwdeopenpsi011.ccr.corp.intel.com (HELO SHWDEOPENPSI011.local) ([10.239.9.136]) by fmsmga004.fm.intel.com with SMTP; 30 Oct 2017 01:51:11 -0700 Date: Mon, 30 Oct 2017 16:51:12 +0800 From: lushifex CC: david.wei@intel.com; Sender: lushifex To: edk2-devel@lists.01.org Message-ID: <13f4cfc6-761d-4def-a317-4c02b028da7c@SHWDEOPENPSI011.local> X-Mailer: TortoiseGit MIME-Version: 1.0 Subject: [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Enable audio. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Oct 2017 08:47:22 -0000 Content-Type: text/plain; Enable on-board audio. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex --- .../PlatformSsdt/Audio/AudioCodec_INT343A.asl | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/Audio/AudioCodec_INT343A.asl b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/Audio/AudioCodec_INT343A.asl index a1756ec..b11793b 100644 --- a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/Audio/AudioCodec_INT343A.asl +++ b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/Audio/AudioCodec_INT343A.asl @@ -1,5 +1,5 @@ /** @file - Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -14,13 +14,10 @@ External(\IOBF, IntObj) // ScHdAudioIoBufferOwnership External(\IS3A, IntObj) -Scope(\_SB.PCI0.I2C0) { + Scope(\_SB.PCI0.I2C7) { //----------------------------------- // HD Audio I2S Codec device - // ALC 298 - // I2C1 - // GPIO_192:SOC_CODEC_PD_N North West Community number 5 - // GPIO_116:SOC_CODEC_IRQ North West Community, direct IRQ, IRQ number 0x5B. + // I2C7 //----------------------------------- Device (HDAC) { @@ -35,14 +32,10 @@ Scope(\_SB.PCI0.I2C0) { Method (_CRS, 0, Serialized) { Name (SBFB, ResourceTemplate () { - I2cSerialBus (0x1C, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.I2C0",,,) + I2cSerialBus (0x1A, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.I2C7",0x00, ResourceConsumer,,) }) - Name (SBFI, ResourceTemplate () { - Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake,,,) {0x5B} - }) - - Return (ConcatenateResTemplate(SBFB, SBFI)) + Return (SBFB) } Method (_STA, 0, NotSerialized) -- 2.7.0.windows.1