From nobody Sat Apr 27 15:58:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1509354334047251.93388007213252; Mon, 30 Oct 2017 02:05:34 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id C2544203525FE; Mon, 30 Oct 2017 02:01:41 -0700 (PDT) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 A2522203525EE for ; Mon, 30 Oct 2017 02:01:40 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2017 02:05:30 -0700 Received: from shwdeopenpsi011.ccr.corp.intel.com (HELO SHWDEOPENPSI011.local) ([10.239.9.136]) by fmsmga004.fm.intel.com with SMTP; 30 Oct 2017 02:05:29 -0700 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=shifeix.a.lu@intel.com; receiver=edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,319,1505804400"; d="scan'208";a="329505182" Date: Mon, 30 Oct 2017 17:05:30 +0800 From: lushifex To: edk2-devel@lists.01.org Message-ID: <717b8178-5a4e-49bd-8dc5-8cb5ef50aa12@SHWDEOPENPSI011.local> X-Mailer: TortoiseGit MIME-Version: 1.0 Subject: [edk2] [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Add I2C table. 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: , Cc: , david.wei@intel.com Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Add I2C table for on-board WM8731 I2S audio. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex Reviewed-by: zwei4 --- .../PlatformSsdt/Audio/AudioCodec_INT343A.asl | 17 +++++--------= ---- 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/Platfor= mSsdt/Audio/AudioCodec_INT343A.asl b/Platform/BroxtonPlatformPkg/Common/Acp= i/AcpiTablesPCAT/PlatformSsdt/Audio/AudioCodec_INT343A.asl index a1756ec..b11793b 100644 --- a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/A= udio/AudioCodec_INT343A.asl +++ b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/A= udio/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.
=20 This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License @@ -14,13 +14,10 @@ External(\IOBF, IntObj) // ScHdAudioIoBufferOwnership External(\IS3A, IntObj) =20 -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 num= ber 0x5B. + // I2C7 //----------------------------------- Device (HDAC) { @@ -35,14 +32,10 @@ Scope(\_SB.PCI0.I2C0) { =20 Method (_CRS, 0, Serialized) { Name (SBFB, ResourceTemplate () { - I2cSerialBus (0x1C, ControllerInitiated, 400000, AddressingMode7Bi= t, "\\_SB.PCI0.I2C0",,,) + I2cSerialBus (0x1A, ControllerInitiated, 400000, AddressingMode7Bi= t, "\\_SB.PCI0.I2C7",0x00, ResourceConsumer,,) }) =20 - Name (SBFI, ResourceTemplate () { - Interrupt (ResourceConsumer, Level, ActiveLow, ExclusiveAndWake,,,= ) {0x5B} - }) - - Return (ConcatenateResTemplate(SBFB, SBFI)) + Return (SBFB) } =20 Method (_STA, 0, NotSerialized) --=20 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel