From patchwork Mon Nov 14 11:29:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 82066 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp1078293obn; Mon, 14 Nov 2016 03:34:05 -0800 (PST) X-Received: by 10.200.38.168 with SMTP id 37mr6547843qto.160.1479123244968; Mon, 14 Nov 2016 03:34:04 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id a67si14956683qkj.137.2016.11.14.03.34.04; Mon, 14 Nov 2016 03:34:04 -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 A0BD460D95; Mon, 14 Nov 2016 11:34:04 +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_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 1DBA560D56; Mon, 14 Nov 2016 11:32:26 +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 4FF3460D75; Mon, 14 Nov 2016 11:32:11 +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 7FAEF60D5E for ; Mon, 14 Nov 2016 11:31:34 +0000 (UTC) Received: by mail-pg0-f47.google.com with SMTP id p66so53397581pga.2 for ; Mon, 14 Nov 2016 03:31:34 -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=ICSBkBTLmpyTfzaiKMySuU3Br+JWd6PAR1FTdMP/SyI=; b=QzQoKmnocSAljG1FtzB/JSf2kDEJRpF0mxUHoa1AH/17ShHiSkQ1kKPw/+cnfcNnLG YWHNMQ2dzFrdtWPfbALZo7Uel1BZvlckkl2V+Zsp2x6Kkx5qYtUhmC+3maUjSxC+4dKn 9BClWP4Ic7eImCBDa3AciP5zzAcRqiPeR3MG6KkLD50hPa89DsbTXtWvNTAD06PASuTd uSEWmkpz6Vo4qmK8b40i8DUIz4qj7BrINxXi5QonUy4hG2k9Db41Iuo/jz13TYIt3UiD Jv580Li6Fl+ANm+kq9QIV12mIXgD6KFQH0F//5+3ga5FMT8vfZd3kTn1kVxmIdfukeg8 cTeA== X-Gm-Message-State: ABUngveUuwIpwRt9On91jELYPfNgOlhdoQeP0cOdUw2PwnhB/D1C31wuRcmvuLLQchbaQ9HINV0= X-Received: by 10.98.211.67 with SMTP id q64mr34751390pfg.173.1479123093813; Mon, 14 Nov 2016 03:31:33 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id g82sm34663209pfb.43.2016.11.14.03.31.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Nov 2016 03:31:33 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Mon, 14 Nov 2016 19:29:33 +0800 Message-Id: <1479122995-50330-7-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479122995-50330-1-git-send-email-heyi.guo@linaro.org> References: <1479122995-50330-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang Subject: [Linaro-uefi] [PATCH 06/28] 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 --- 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 43027e4..3bcc5fb 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 () {