From patchwork Wed Dec 7 11:49:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 87042 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp274214qgi; Wed, 7 Dec 2016 04:00:11 -0800 (PST) X-Received: by 10.55.168.139 with SMTP id r133mr65857870qke.160.1481112011141; Wed, 07 Dec 2016 04:00:11 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id u37si14247519qte.230.2016.12.07.04.00.10; Wed, 07 Dec 2016 04:00:11 -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 A6B1362E07; Wed, 7 Dec 2016 12:00:10 +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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, 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 2B0E462E0B; Wed, 7 Dec 2016 11:53:30 +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 0789E60E78; Wed, 7 Dec 2016 11:53:14 +0000 (UTC) Received: from mail-pf0-f175.google.com (mail-pf0-f175.google.com [209.85.192.175]) by lists.linaro.org (Postfix) with ESMTPS id 89CF060EA9 for ; Wed, 7 Dec 2016 11:52:00 +0000 (UTC) Received: by mail-pf0-f175.google.com with SMTP id c4so77216660pfb.1 for ; Wed, 07 Dec 2016 03:52:00 -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=WWv7lGr76Zg7HY8q3vUl7VsnpAzvBB1C20dclqWUFuhrjScOTOLjZZMuNoPP4yoftF Pk6v/WUCe+VLNy36eWyyBepqijryjY0Q+YXL5EQpG67QTG9I4mx3TlKN7H+bEc9a8cYl qaVxx6aR/YeZOTOsOr2QqWWTe74M9WU1vemqkkvH8NTI/an4AKGEJFqRnC6jREyAwTnQ r8GIyGM1Ogx12YdfPHzFRjYRwWNLSkD2DsQ4EEdYDkFGA4Eow+i3ITyUBXPUhw3/ybQw hklZNrUZEveH766o6vBvr8cSuqgVQCwFwiQsa/K/5KNSkVMrEoViK7NIBNgqWtbFnSHM hwmQ== X-Gm-Message-State: AKaTC02H2tKuobauyKTrs+cfrbTlfnM3tFaImWdJqMWGbUZs7AQpNroL14tRI/Oz8slRRw0d2Vg= X-Received: by 10.99.218.85 with SMTP id l21mr121102646pgj.102.1481111519832; Wed, 07 Dec 2016 03:51:59 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id y20sm42169141pfj.26.2016.12.07.03.51.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Dec 2016 03:51:59 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Wed, 7 Dec 2016 19:49:09 +0800 Message-Id: <1481111375-71058-13-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481111375-71058-1-git-send-email-heyi.guo@linaro.org> References: <1481111375-71058-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang , sunchenhui@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v7 12/38] 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 () {