From patchwork Thu Oct 27 03:15: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: 79578 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp405137qge; Wed, 26 Oct 2016 20:18:29 -0700 (PDT) X-Received: by 10.55.7.132 with SMTP id 126mr3998844qkh.224.1477538309384; Wed, 26 Oct 2016 20:18:29 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p42si3032738qtp.48.2016.10.26.20.18.29; Wed, 26 Oct 2016 20:18:29 -0700 (PDT) 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 515B26094A; Thu, 27 Oct 2016 03:18:11 +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 0D8E860E91; Thu, 27 Oct 2016 03:17:08 +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 9802160CB7; Thu, 27 Oct 2016 03:17:03 +0000 (UTC) Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by lists.linaro.org (Postfix) with ESMTPS id B08FE60CB7 for ; Thu, 27 Oct 2016 03:16:23 +0000 (UTC) Received: by mail-pf0-f180.google.com with SMTP id e6so8140032pfk.3 for ; Wed, 26 Oct 2016 20:16:23 -0700 (PDT) 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=ZRYR1/CteIzX86h7lmAusSWwCkxfu5AH3cgKo8rFz2s=; b=cIe6f6bXaJyJGxSOe/QZEQI9mVHPqs4ntJQEEPzHOU6TySx0oB+hOBVg/b4tRnqjdI YfQXTyFTHaMvU9BLLtUk6xTBtpQFQ47hN3pD9k6SlP1FEVnljTZaMB1HylGBDauV6Wv0 k1U2PjHMrL0L5hcUyDcA7C2MMlkXLnP8nRrSU+Lu5lYv39v44HjvUZbULIuTjXZzd/g+ FgdTcab5dnxOCtbqVPc6UMCupW9UgE/dkFZFrFOf3M9mi0KUBB10wK5fQsO5PujgDKVl ivtgP2hS5sjUSyuOViTJlfZg6yN1FW5f03VHxfMqrQ5pJibBKsKCV/WJGXXcYfjJLsZl TPyg== X-Gm-Message-State: ABUngvcIoW8kJ2SJp8ylds0eHqbzCS9yI7+NTEu+4E1iCbdqfiM7N9iYZi4746YuFLDI8nAB8w8= X-Received: by 10.98.138.79 with SMTP id y76mr10288474pfd.158.1477538183051; Wed, 26 Oct 2016 20:16:23 -0700 (PDT) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id h5sm7091734pfg.86.2016.10.26.20.16.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 20:16:22 -0700 (PDT) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Thu, 27 Oct 2016 11:15:09 +0800 Message-Id: <1477538129-118465-5-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1477538129-118465-1-git-send-email-heyi.guo@linaro.org> References: <1477538129-118465-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang Subject: [Linaro-uefi] [PATCH 06/26] 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. 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 () {