From patchwork Mon Feb 15 18:05:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 61957 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1217861lbl; Mon, 15 Feb 2016 10:12:06 -0800 (PST) X-Received: by 10.66.222.101 with SMTP id ql5mr25450835pac.144.1455559924895; Mon, 15 Feb 2016 10:12:04 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w83si44811203pfa.51.2016.02.15.10.12.04; Mon, 15 Feb 2016 10:12:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752237AbcBOSMD (ORCPT + 1 other); Mon, 15 Feb 2016 13:12:03 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:33633 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752447AbcBOSL1 (ORCPT ); Mon, 15 Feb 2016 13:11:27 -0500 Received: by mail-lb0-f180.google.com with SMTP id x4so82944038lbm.0 for ; Mon, 15 Feb 2016 10:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6cF2yn3QhCyt2Q8fN2k4yBnYCr5FAlECh6b1K/Tax/s=; b=AgzBuQX1riIGYTMm93ZfMsCKQt642VBYIQk6T0omBNRokLB9UZ+VjQ4YS4n8IaYYfC b6lgNBb6gdIaFRWBxn9FU0Vqogy8+WzMhGgNNezHR8vzRAztLrxn2S/83OcgwFY2KpAu qiIYjyKu/XQ+xQbbD2pCFvuoxF6uoMGdeqNKo= 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=6cF2yn3QhCyt2Q8fN2k4yBnYCr5FAlECh6b1K/Tax/s=; b=mQx17ptO8nZJffTPaVjkuIcc6V4Y0gYYPFngYAqTNkfLVIGWoQkvSJL2I8aY839on2 59HVJUd0x5Xq1Kx0sw1M4OuVGyEImZwArFofRO1g70yWRKSb21JTP95EOrwTLdcd43B+ zSMpJFSn3zpAFMhdhw8xXF5l0xV5BZotlQ9tqhMbY6vV0w5I0O4WGTqgG6em6phqF7FD jZzzqy2w0BEHl3LEDzQJbRTe8bCuR9sfcpl/zRqAaAh1jdLntFSKE8Zqw00xfaTjgiyP JpDrNB/E2Erjc/lRFB1jabSE+5RKN9rhF/my5UJ9QJl/y4NeI8Qw6OWkKyWUFKn5Qew2 5i3g== X-Gm-Message-State: AG10YOSbLgaAcs0601mSE7JJlGJDcQR5we52G1T1T0id6dU0hnAy0dl7vzir9IBwLoMKes2v X-Received: by 10.112.161.225 with SMTP id xv1mr7457804lbb.127.1455559886493; Mon, 15 Feb 2016 10:11:26 -0800 (PST) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id i66sm3818526lfg.4.2016.02.15.10.11.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Feb 2016 10:11:25 -0800 (PST) From: Aleksey Makarov To: linux-acpi@vger.kernel.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aleksey Makarov , Russell King , Greg Kroah-Hartman , "Rafael J . Wysocki" , Leif Lindholm , Graeme Gregory , Al Stone , Christopher Covington , Len Brown , Robert Moore , Lv Zheng , devel@acpica.org Subject: [PATCH v3 4/5] ACPI: add definition of DBG2 subtypes Date: Mon, 15 Feb 2016 21:05:28 +0300 Message-Id: <1455559532-8305-5-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1455559532-8305-1-git-send-email-aleksey.makarov@linaro.org> References: <1455559532-8305-1-git-send-email-aleksey.makarov@linaro.org> Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org The recent version of Microsoft Debug Port Table 2 (DBG2) [1] specifies additional serial debug port subtypes. These constants are also referred by Serial Port Console Redirection Table (SPCR) [2] Add these constants. [1] https://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx [2] https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx Signed-off-by: Aleksey Makarov --- include/acpi/actbl2.h | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index a4ef625..e9930ab 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -371,6 +371,11 @@ struct acpi_dbg2_device { #define ACPI_DBG2_16550_COMPATIBLE 0x0000 #define ACPI_DBG2_16550_SUBSET 0x0001 +#define ACPI_DBG2_ARM_PL011 0x0003 +#define ACPI_DBG2_ARM_SBSA_32BIT 0x000d +#define ACPI_DBG2_ARM_SBSA_GENERIC 0x000e +#define ACPI_DBG2_ARM_DCC 0x000f +#define ACPI_DBG2_BCM2835 0x0010 #define ACPI_DBG2_1394_STANDARD 0x0000