From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c05::234; helo=mail-pg0-x234.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pg0-x234.google.com (mail-pg0-x234.google.com [IPv6:2607:f8b0:400e:c05::234]) (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 42E0020945B68 for ; Thu, 28 Sep 2017 20:24:00 -0700 (PDT) Received: by mail-pg0-x234.google.com with SMTP id j16so81519pga.1 for ; Thu, 28 Sep 2017 20:27:15 -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=osmWHjelq3fYM3lm8AbMvOO1rb3nAbS0MjB+HfsJ3b0=; b=NdIwH3iek/ahE7+886T3I97Xv8tnOWn0VcXoM9IqwXFijrNi0jrNjygQrRz9OCGOXD QNwrvk52z2NCkY7JtdRuSKLDoTVpJKLKtz6FOUn3iGaAHNSLHJV4nlrhg/rRmoS4Jylu PVq0ZuOJy+q5N8WZBANXGcBRvHJvt5TuYw5RM= 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=osmWHjelq3fYM3lm8AbMvOO1rb3nAbS0MjB+HfsJ3b0=; b=lN+rWUCm5vj9ZqoH53wUWpFHHaWPH3XRJZagJIMxjQjbIPcYuH7eVDGIV4Ly9blbn4 owRqWQHj1Fd64T8BgljmZJvJXW6mulBZW/o27kMKxFvxTG/Qlq9PKXeOt6hrl1HyJ1AQ ++rn2fcOf7VRnsjtGcTSPK1D0k6RI6/Tk4ekB/jPJWJZZaPzr2x8EtM62bhaMbGRG2Bk Eeu2yidsZo7r0P9hHWlNP3oZuNzyqnhWbuR2GGUxIplo0WXZSZSMt/cR4rw5evfnpEer L2TvSvH20ih0aGeIdUL5qQiyEr+HBiUvQ/sNp4qiXKmbSjzTly69im6J2AUJjwfMu3li jpNQ== X-Gm-Message-State: AHPjjUiClD6iri+8gTcEoRig45+2zvaCrst0OUEdiiiYVA2u2345UfRf WfqNPAxQQroN/Qg4mOJ4IUEqwg== X-Google-Smtp-Source: AOwi7QCeeXXr5vYeprRYeCuEj5WKdkpa3Ps9rp+bLb+xarH+qt7W8LonrVnKA0Y6teEYXWqUeHC6ZQ== X-Received: by 10.84.215.22 with SMTP id k22mr5527819pli.284.1506655635466; Thu, 28 Sep 2017 20:27:15 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id g16sm5094376pfd.6.2017.09.28.20.27.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 Sep 2017 20:27:14 -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, mengfanrong@huawei.com, waip23@126.com, Heyi Guo Date: Fri, 29 Sep 2017 11:19:49 +0800 Message-Id: <1506655190-56231-11-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1506655190-56231-1-git-send-email-heyi.guo@linaro.org> References: <1506655190-56231-1-git-send-email-heyi.guo@linaro.org> Subject: [PATCH edk2-platforms v5 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: Fri, 29 Sep 2017 03:24:00 -0000 From: Ming Huang 1. Disable I2C0 device avoiding access conflict in OS, for it is used by UEFI to access DS3231 RTC chip and provide time services; 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