From nobody Thu Dec 26 12:05:08 2024 Delivered-To: importer@patchew.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; Authentication-Results: mx.zohomail.com; dkim=fail; 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 1505992090079482.19495633269923; Thu, 21 Sep 2017 04:08:10 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A9DBF21ECCB15; Thu, 21 Sep 2017 04:04:30 -0700 (PDT) Received: from mail-pg0-x22e.google.com (mail-pg0-x22e.google.com [IPv6:2607:f8b0:400e:c05::22e]) (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 64C1A21E1B76D for ; Thu, 21 Sep 2017 04:04:30 -0700 (PDT) Received: by mail-pg0-x22e.google.com with SMTP id b11so3324094pgn.12 for ; Thu, 21 Sep 2017 04:07:37 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x124sm2090762pfx.56.2017.09.21.04.07.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Sep 2017 04:07:36 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/lG3Ol0OoI11jtBHOMSmpNqUBTWOk56eOf5b7ZGDVbo=; b=CM7EerFp1Ytq2an5STr1EQkC4O5FxQ/CfvckklIwB9n53MQbardlqTv5NGdaFs4hZe 3jrKFUOe0WHmCyDovLDm5+lvQHD9dP0cJRNqDT03V1nTq9/Ogq8ZG4Y7D0qmnNhxicJc qllb8+OfnSTnjZCr1mkD2Xb/k8KJTU2Ljq7Ts= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/lG3Ol0OoI11jtBHOMSmpNqUBTWOk56eOf5b7ZGDVbo=; b=EFaoyYPV1s628WdQjp5OpKCEApqcI9kTpz2glP1f12gJ1pdNh2Cn33NKiR+nS73c13 epxa+cU4+2JRopxxr5DriD/YhlZ4tjNIyCpQtgLnjSZhgx0TFcf92g2IIg64C3V4FHIq t8/v4o7EA7v4Y189A9icNPILwyAjKSeCtHyG7ST993YFU1nBKIuX39LfKMEqxmCTnSNY emqvJX1v0Tdadb5qdVWDKHzkTL61Njd/rtlsz2VLB9vIb7vGWMl8gnuFjVn1ATPUOGY3 w3xcRaNQ7LyjpIgAa0z61GRk1gyeniEkx0mB/rxQ2cALavaf1vwr6nOazLQPTvuaWrqr JaSA== X-Gm-Message-State: AHPjjUha8zYBLqyGHfiQd1bZ/k9nkCFxrhcbaHQyLciXKdwH8rzhnD4I 5F/3uVFVUuPtMv6hJj8JZdnGWA== X-Google-Smtp-Source: AOwi7QCjFM1c0C76YA3KVspARz/ErHC0oAgZ7oNgPfb4/CPXQBdBivyJHx1Yz9R7A72cGL4uZO7q0A== X-Received: by 10.98.215.18 with SMTP id b18mr5360139pfh.147.1505992056981; Thu, 21 Sep 2017 04:07:36 -0700 (PDT) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Date: Thu, 21 Sep 2017 18:59:56 +0800 Message-Id: <1505991597-52989-18-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> References: <1505991597-52989-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [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: , Cc: huangming23@huawei.com, ard.biesheuvel@linaro.org, zhangjinsong2@huawei.com, Ming Huang , guoheyi@huawei.com, waip23@126.com, wanghuiqiang@huawei.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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 --- 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/Silic= on/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 @@ =20 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) --=20 1.9.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel