From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=david.wei@intel.com; receiver=edk2-devel@lists.01.org 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 11C90203525E5 for ; Mon, 30 Oct 2017 02:07:19 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2017 02:11:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,319,1505804400"; d="scan'208";a="1211810164" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 30 Oct 2017 02:11:10 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 30 Oct 2017 02:11:00 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 30 Oct 2017 02:11:00 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Mon, 30 Oct 2017 17:10:58 +0800 From: "Wei, David" To: "Lu, ShifeiX A" , "edk2-devel@lists.01.org" Thread-Topic: [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Add I2C table. Thread-Index: AQHTUV5RKZoqfNCuuUib3Lu+mXEJeKL8Gzvg Date: Mon, 30 Oct 2017 09:10:57 +0000 Message-ID: <89954A0B46707A448411A627AD4EEE3468FB41DD@SHSMSX101.ccr.corp.intel.com> References: <717b8178-5a4e-49bd-8dc5-8cb5ef50aa12@SHWDEOPENPSI011.local> In-Reply-To: <717b8178-5a4e-49bd-8dc5-8cb5ef50aa12@SHWDEOPENPSI011.local> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDQ2NjAwODctNTdjNi00OWNjLWE0NTQtNjE5ZDczZjQ4MDNjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJyR01iOWtpZGxJRmpwZU5rNXo4T3BrS3hoNWxyNXZJbjA5cDY2dTRpQUpxUjRlanFOVVZmcDZzZWVhTktGazV4In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: , X-List-Received-Date: Mon, 30 Oct 2017 09:07:20 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: zwei4 Thanks, David Wei Intel SSG/STO/UEFI BIOS =20 > -----Original Message----- > From: Lu, ShifeiX A > Sent: Monday, October 30, 2017 5:06 PM > To: edk2-devel@lists.01.org > Cc: Wei, David > Subject: [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Add I2C > table. >=20 > Add I2C table for on-board WM8731 I2S audio. >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: lushifex > --- > .../PlatformSsdt/Audio/AudioCodec_INT343A.asl | 17 +++++------= ------ > 1 file changed, 5 insertions(+), 12 deletions(-) >=20 > diff --git > a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSs > dt/Audio/AudioCodec_INT343A.asl > b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSs > dt/Audio/AudioCodec_INT343A.asl > index a1756ec..b11793b 100644 > --- > a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSs > dt/Audio/AudioCodec_INT343A.asl > +++ > b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSs > dt/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.
>=20 > 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) >=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 > number 0x5B. > + // I2C7 > //----------------------------------- > Device (HDAC) > { > @@ -35,14 +32,10 @@ Scope(\_SB.PCI0.I2C0) { >=20 > Method (_CRS, 0, Serialized) { > Name (SBFB, ResourceTemplate () { > - I2cSerialBus (0x1C, ControllerInitiated, 400000, AddressingMode7= Bit, > "\\_SB.PCI0.I2C0",,,) > + I2cSerialBus (0x1A, ControllerInitiated, 400000, AddressingMode7= Bit, > "\\_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) > -- > 2.7.0.windows.1 >=20