From patchwork Sat Nov 19 08:37:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 83096 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp506687qge; Sat, 19 Nov 2016 01:05:54 -0800 (PST) X-Received: by 10.107.12.214 with SMTP id 83mr3377655iom.10.1479546354791; Sat, 19 Nov 2016 01:05:54 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id h20si8202045iod.172.2016.11.19.01.05.54; Sat, 19 Nov 2016 01:05:54 -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 3B301609BD; Sat, 19 Nov 2016 09:05:54 +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 C813963510; Sat, 19 Nov 2016 08:47:25 +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 D5EB760D2A; Sat, 19 Nov 2016 08:45:51 +0000 (UTC) Received: from mail-pg0-f46.google.com (mail-pg0-f46.google.com [74.125.83.46]) by lists.linaro.org (Postfix) with ESMTPS id E198B60D38 for ; Sat, 19 Nov 2016 08:40:32 +0000 (UTC) Received: by mail-pg0-f46.google.com with SMTP id p66so111359261pga.2 for ; Sat, 19 Nov 2016 00:40:32 -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=gvXXvyM/8mfpA/M8PTem4Mzu55UIGFycCMIhl7681jc=; b=X0HYn5ywSNzWVA4LxjAYKHx0cZT4KY4iXvfQPSieIYZho/tqbirlgR5eZU2CueDS5R delWgKlKHHCZGcxty9AVZP/5Y9vfWoPbH0Qp5lW3jjZ9I6x9xyj99O+/HhP5J5drRc/T 95EOwIF/u5uKGI/SyLgkMUChgBLE0gZeeEH/3iVeCZ6oilhggiqhQOHfRRpBtF28vr5+ YPie/pA4NDCLpRVV7l8azqj1B+fAKw0Dd8SJC7xk/iWmIOakRNoy/wP//BIl1Jzgxlb2 bnjVmOy0deFmxUdJ/tqzYFiv4pEukdtuGoHoLDCB+V1nmUHiZ9QsQrmj52To+N5lNCO3 ljDg== X-Gm-Message-State: AKaTC038l+uBysT222FM7bwAt/P1Ru2hbOU1SIkyPIk2p1QfKPftyFOwwZukj17LVLsevUGhmMY= X-Received: by 10.99.117.71 with SMTP id f7mr8528101pgn.126.1479544832249; Sat, 19 Nov 2016 00:40:32 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id v193sm5106241pgb.37.2016.11.19.00.40.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 19 Nov 2016 00:40:31 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Sat, 19 Nov 2016 16:37:52 +0800 Message-Id: <1479544691-59575-38-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> References: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang Subject: [Linaro-uefi] [Patch v4 37/56] 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 Review-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 () {