From patchwork Fri Dec 2 04:13:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 86210 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp88041qgi; Thu, 1 Dec 2016 20:30:39 -0800 (PST) X-Received: by 10.55.5.65 with SMTP id 62mr36600187qkf.308.1480653039822; Thu, 01 Dec 2016 20:30:39 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id k124si1035388qkd.72.2016.12.01.20.30.39; Thu, 01 Dec 2016 20:30:39 -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 6BD6E60879; Fri, 2 Dec 2016 04:30:39 +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_H2 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 49F4D608DB; Fri, 2 Dec 2016 04:19:24 +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 1CC9760879; Fri, 2 Dec 2016 04:19:19 +0000 (UTC) Received: from mail-pg0-f47.google.com (mail-pg0-f47.google.com [74.125.83.47]) by lists.linaro.org (Postfix) with ESMTPS id 2878C62EBD for ; Fri, 2 Dec 2016 04:15:38 +0000 (UTC) Received: by mail-pg0-f47.google.com with SMTP id 3so102745095pgd.0 for ; Thu, 01 Dec 2016 20:15:38 -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=ZNpzyqSXcOxrRm17xPyej5IGEzsytD9WT9P+ZuC2SVAt88pEkBBANAWUZSspfiNko6 6gKdm0+E5KL8Qth1spB8V8djMUZAVZz1ww+sLW4y5T1shS9h3mqq3aLcPPOq3im6hKDZ pOhr7aR6Zk3LIgdpz6q+SGbdx2mu4eBcrAO5syx6bCc1/LoJgQzidc3xr/Y0JXZzwWW9 z020pfk2/nX+Ir1T/gbJR2TUWx26qo1iDnu+LWOBlsvl/E2GpfnlIBJWcQbS4eT5DEbS FBRBu7g73SnQEJic9RG52DQflwTQBpaUqcdG2og6HA2+4aOnCHhuHJSCqlqtHNKIi/Ah CPNg== X-Gm-Message-State: AKaTC03A4VV1Mhfalvbp10yrfN5W7rSgTAFbZ2Ae3sVIvroQHdlXHK/Tt5XIkN93mNN8BFc1dC4= X-Received: by 10.98.27.132 with SMTP id b126mr42321946pfb.171.1480652137484; Thu, 01 Dec 2016 20:15:37 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id u78sm3402349pfa.53.2016.12.01.20.15.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Dec 2016 20:15:37 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Fri, 2 Dec 2016 12:13:13 +0800 Message-Id: <1480652017-31676-21-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1480652017-31676-1-git-send-email-heyi.guo@linaro.org> References: <1480652017-31676-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang , sunchenhui@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v5 20/44] 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 () {