From patchwork Fri Feb 12 17:43:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 61876 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp967608lbl; Fri, 12 Feb 2016 09:49:13 -0800 (PST) X-Received: by 10.98.70.80 with SMTP id t77mr3872315pfa.107.1455299349849; Fri, 12 Feb 2016 09:49:09 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r25si21242694pfi.85.2016.02.12.09.49.09; Fri, 12 Feb 2016 09:49:09 -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 S1752237AbcBLRtH (ORCPT + 1 other); Fri, 12 Feb 2016 12:49:07 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:34828 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752193AbcBLRtE (ORCPT ); Fri, 12 Feb 2016 12:49:04 -0500 Received: by mail-lf0-f44.google.com with SMTP id l143so56385186lfe.2 for ; Fri, 12 Feb 2016 09:49:04 -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=0AqsS2HcQHC95tDIK6pLJHgC5XU93uItWnER6GUGsYw=; b=bb9y0K72bJD3wL/ErUvWY2P5nv/X9ystO+M+H5UCUueb8KCcqKFrtCRSlTCUKiNVkt BUTWW93Ri89ECSapjLZjlr/S7cAnYGYVC7g9Njgb83FMnPFpU8cbNKUG1EwmNNSIkzfL cdvA0g5xSvxtLuCYr8CDRXWjDSlAAojerBwzI= 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=0AqsS2HcQHC95tDIK6pLJHgC5XU93uItWnER6GUGsYw=; b=D3TkcQ1U1OOyheJSN8Zp8uRytJMeVxHPbgVcjlD52fKlkqgCZiG3CTzEfHeChdnHfA ckGG6Mqk4nkoM+LgJoaW6+K8NBIRrYLGizh7d5YdniOv2fobOZT6vUh/dUZp4gbjF9m9 maU8tlMjg6VygYxvOCTWYuyzuFqi7AVlQkS32bZWlvAAldwNCrP6P3oIzQDZrUhbyiL3 dF6EP/UNWieiEyZCYU1vZ5vF71yjeabJoxDjXWKVkR3OTlk7d0RanpPTzmNsUMBM9jOa 8xW5ZJ/HAYJy/cqpzm74hSHO9/7lTRFu0Gw4MqPb2g52LmS/AhykJRZ7ZYxpz6PSet5M dDpA== X-Gm-Message-State: AG10YOQ8lA29QSC4HNIJLhtzhrpkPhjGfbtfvy1PDcp7q97qWkpWCefhxyLQuFuJFRlS9lop X-Received: by 10.25.43.20 with SMTP id r20mr1217154lfr.30.1455299343668; Fri, 12 Feb 2016 09:49:03 -0800 (PST) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id ei4sm2017549lbb.18.2016.02.12.09.49.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Feb 2016 09:49:02 -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 , Robert Moore , Lv Zheng , "Rafael J. Wysocki" , Len Brown , devel@acpica.org Subject: [PATCH v2 6/9] ACPI: add definition of DBG2 subtypes Date: Fri, 12 Feb 2016 20:43:37 +0300 Message-Id: <1455299022-11641-7-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1455299022-11641-1-git-send-email-aleksey.makarov@linaro.org> References: <1455299022-11641-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 Tested-by: Christopher Covington --- include/acpi/actbl2.h | 5 +++++ 1 file changed, 5 insertions(+) -- 2.7.0 -- 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