From patchwork Tue Dec 6 10:56:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 86752 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1955973qgi; Tue, 6 Dec 2016 03:06:09 -0800 (PST) X-Received: by 10.55.133.199 with SMTP id h190mr1966539qkd.302.1481022369912; Tue, 06 Dec 2016 03:06:09 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w37si11385701qtb.187.2016.12.06.03.06.09; Tue, 06 Dec 2016 03:06:09 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 751D460E39; Tue, 6 Dec 2016 11:06:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id EC59B63668; Tue, 6 Dec 2016 11:02:56 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8C5BD60989; Tue, 6 Dec 2016 11:02:49 +0000 (UTC) Received: from mail-pg0-f42.google.com (mail-pg0-f42.google.com [74.125.83.42]) by lists.linaro.org (Postfix) with ESMTPS id 36E8460E39 for ; Tue, 6 Dec 2016 10:59:12 +0000 (UTC) Received: by mail-pg0-f42.google.com with SMTP id 3so148376694pgd.0 for ; Tue, 06 Dec 2016 02:59:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sRW0WsxPbr83QB5dNOH0XZiVfkDwj7t2BI2bWQxCIdY=; b=YF0Rcj/6lpTvrrdwqGm+wzS1rBJDgu8jrte0GslNIb9S/ra0/7uKBObgLyu1/vSN22 sfYptNnaxAsyhPTw+qAavQXaxX6I9NbGOEASc84l+pJ/xl+QheaYaajKEwVy+tuUysHz CgrhYEqEslKoXxm/vquZGjxRdOYY0wcmXG4VXo21i5BjcMxtronPX8L+waNyV1D0t9vH eF/HLqopEu/zcS/eCPUwEhAplJNQLE1IVfvJyTudTboFz88s1X+rFiIKu+moHQuyQDwU zbq0p+HOn81BBU6w8vmDcn5cbw2hGcGIqIvEXdaoLiluNEY+3UfNnmZFeZPpAhUd8KQn K9fw== X-Gm-Message-State: AKaTC0264z9eGASzfUry9AF1V3rQQJbH8nn8iD85MMMlYw18SdyBhYiqpNCJzimgCeC7wTvp/Mo= X-Received: by 10.84.173.4 with SMTP id o4mr136937665plb.123.1481021951526; Tue, 06 Dec 2016 02:59:11 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id x26sm6980952pge.24.2016.12.06.02.59.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Dec 2016 02:59:11 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Tue, 6 Dec 2016 18:56:42 +0800 Message-Id: <1481021828-59826-12-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481021828-59826-1-git-send-email-heyi.guo@linaro.org> References: <1481021828-59826-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang , sunchenhui@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v6 11/37] D02/ACPI: Use HISI0031 HID for uart on Hip05 soc X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" The UART on Hip05 soc is not 16550 compatible, use appropriate ACPI ID for Hisi uart instead of APM one, and delete the wrong comments. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Kefeng Wang Reviewed-by: Graeme Gregory Reviewed-by: Leif Lindholm --- Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Com.asl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Com.asl b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Com.asl index d7350cf..e3fc0d3 100644 --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Com.asl +++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/Com.asl @@ -18,13 +18,12 @@ Scope(_SB) { - // UART 8250 Device(COM0) { - Name(_HID, "APMC0D08") //Or AMD0020, trick to use dw8250 serial driver + Name(_HID, "HISI0031") //it is not 16550 compatible Name(_CID, "8250dw") Name(_UID, Zero) Name(_CRS, ResourceTemplate() { - Memory32Fixed(ReadWrite, 0x80300000, 0x1000) //0x7FF80000, 0x1000 + Memory32Fixed(ReadWrite, 0x80300000, 0x1000) Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 349 } }) Name (_DSD, Package () {