From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) 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) 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) From: Heyi Guo To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Cc: ard.biesheuvel@linaro.org, guoheyi@huawei.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, waip23@126.com, Ming Huang 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: [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 11:04:30 -0000 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/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