From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 551B221E1B77A for ; Thu, 21 Sep 2017 06:09:53 -0700 (PDT) Received: by mail-wr0-x22d.google.com with SMTP id l39so4534907wrl.12 for ; Thu, 21 Sep 2017 06:13:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=IewOnuJRAH5Bk2pu1F7+WwLEgF8tlNHJt3kvcYb7z4M=; b=XiS2HGHuMjbtZuVLxqBKZdiJ+dneEhmZRaK47WPq2rRkw5S1VB/BzQ2ydKku8PSt5S ORRSNjfLk0GFIAeXht485HNXMx3u9+VZ8pOTMWbbc0rq+sgr3FLNl7HKNXyEA1AQiVc/ XBPW4td+CuSBF67d9uzNi658NRiB6N5Tu7npM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=IewOnuJRAH5Bk2pu1F7+WwLEgF8tlNHJt3kvcYb7z4M=; b=gyoPXQLlIrp93DGzzBiJUF4PrWwpgsLU9245kzE1rpUu4i2W1Q9xrwAALKdAQKCv7A X2a5Xk3yYMjL7oEki3zngaUEHr0fS9gPAMknN7eSQGiwZUHMlOXUrvFc86dyiHDbGcA6 bAUzwuXAulsPuZWW0Z/aOXO6VxoCsCu+Orj0gxy/LPRtwWKGXfvxCEe8fcNzme2s4ivr CA+++jUcD95KRbr7BuumtmSEopzKLkIP4lM5Y12WUs7dMeolH4yS8+uACayMCS8j6Cos OjIKr/OblSdr97SIWC24hxraOGgVbsnJLKQQmoqGSDlIAHc646comrGJ9wnTHP4HQGYq 5hSg== X-Gm-Message-State: AHPjjUitNx0LlfbFoanA1SPjRhhqWVJNzZ3s7jSk6WNLDM7wu6vCiQkO mQyGFeut7OKI++CQTT3gPpBQQ/Jgsos= X-Google-Smtp-Source: AOwi7QCoMwklSkNYqhZ4dS0tNrnUtB8XPxBb6h7mtTq+oaEbJPT9tLg3L25ny4a1aVcYNdAxWOMyDQ== X-Received: by 10.223.133.99 with SMTP id 90mr2142044wrh.63.1505999578982; Thu, 21 Sep 2017 06:12:58 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id o14sm1268545wra.54.2017.09.21.06.12.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Sep 2017 06:12:57 -0700 (PDT) Date: Thu, 21 Sep 2017 14:12:56 +0100 From: Leif Lindholm To: Heyi Guo Cc: linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org, ard.biesheuvel@linaro.org, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, waip23@126.com, Ming Huang Message-ID: <20170921131256.62ozxqps7um3aylr@bivouac.eciton.net> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> <1505991597-52989-18-git-send-email-heyi.guo@linaro.org> MIME-Version: 1.0 In-Reply-To: <1505991597-52989-18-git-send-email-heyi.guo@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [PATCH edk2-platforms v3 10/11] D05/ACPI: Modify I2C device 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: Thu, 21 Sep 2017 13:09:53 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 21, 2017 at 06:59:56PM +0800, Heyi Guo wrote: > From: Ming Huang From: Ming Huang > 1. Disable I2C0 device avoiding access conflict in OS; > 2. Modify _HID of I2C2 for matching the string in OS driver; > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ming Huang + Signed-off-by: Heyi Guo > --- > Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl | 20 +------------------- > 1 file changed, 1 insertion(+), 19 deletions(-) > > diff --git a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl > index eb906ef..3cc60d1 100644 > --- a/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl > +++ b/Silicon/Hisilicon/Hi1616/D05AcpiTables/Dsdt/D05I2c.asl > @@ -18,26 +18,8 @@ > > Scope(_SB) > { > - Device(I2C0) { > - Name(_HID, "APMC0D0F") > - Name(_CID, "APMC0D0F") > - Name(_CRS, ResourceTemplate() { > - Memory32Fixed(ReadWrite, 0xd00e0000, 0x10000) > - Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, 0, "\\_SB.MBI6") { 705 } > - }) > - Name (_DSD, Package () { > - ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), > - Package () { > - Package () {"clock-frequency", 100000}, > - Package () {"i2c-sda-falling-time-ns", 913}, > - Package () {"i2c-scl-falling-time-ns", 303}, > - Package () {"i2c-sda-hold-time-ns", 0x9c2}, > - } > - }) > - } > - > Device(I2C2) { > - Name(_HID, "APMC0D0F") > + Name(_HID, "HISI02A1") > Name(_CID, "APMC0D0F") > Name(_CRS, ResourceTemplate() { > Memory32Fixed(ReadWrite, 0xd0100000, 0x10000) > -- > 1.9.1 >