From patchwork Mon Feb 29 12:02:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 63201 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1203751lbc; Mon, 29 Feb 2016 04:04:06 -0800 (PST) X-Received: by 10.66.139.234 with SMTP id rb10mr21251212pab.82.1456747438247; Mon, 29 Feb 2016 04:03:58 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si42712997pfi.145.2016.02.29.04.03.57; Mon, 29 Feb 2016 04:03:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754965AbcB2MDu (ORCPT + 30 others); Mon, 29 Feb 2016 07:03:50 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:33774 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754276AbcB2MDk (ORCPT ); Mon, 29 Feb 2016 07:03:40 -0500 Received: by mail-lb0-f169.google.com with SMTP id ed16so406594lbb.0 for ; Mon, 29 Feb 2016 04:03:39 -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=o4ry4BaEBUYP8uGWCYKyRXbTSIe1oS6GaOizrnu7ogI=; b=ZWQ2wR4hPqxWQUHPe7Ve+JYxEqmAEjqV03TgOgIV7yUeWKn7c1ljr2HUgMvUFMsewA IVqmYYMuYDTGiJiYPtcGcgPz1BUIVgHdMBFS2Od9oIToyK1AkzTSjKQqullJOwWkjDf4 7pi/Whwt9tJKANM8v8UgL23elUckQRzPc7XcI= 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=o4ry4BaEBUYP8uGWCYKyRXbTSIe1oS6GaOizrnu7ogI=; b=CmOtUQ/Rn/tQydxgeUkyIG77XqUEb+sb8wasJom/DrKPqRV8f/D/5gTG/qErLlZk/c uzIQHmF5wLTTxidz5XBb/+OTUjzEJrA8uTfVtamhTsLTq28OOI8HN+EEvocryhWGd/Lq swWgMZ0DZHe3O6EoTBDnETeLgdo9gQQ6DtuHYBHEclkQHNZJoaT4C9NdWZ4skszNxd80 rw4diByTCZi9tLhmQVkCUVrjbKGtTfPxGh1lDEb+n3qvzdLfz6V9jUe5tuOnCGw7RCfo qL26sl0JWO09OmlK8xEtp/eMc5xFOVK/5mVmjb7c8/zoyFZTU5oV0n0qXG3arsk/R4Ln 6NiQ== X-Gm-Message-State: AD7BkJIl1L4L41BSixO0Y6LXx2X2jGsK50DR9jSWH7LlHP9qX++pFP+B/MQuqPAXfIHIdRMe X-Received: by 10.112.132.5 with SMTP id oq5mr5290412lbb.16.1456747419079; Mon, 29 Feb 2016 04:03:39 -0800 (PST) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id wj2sm3889456lbb.5.2016.02.29.04.03.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 04:03:38 -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 , Yury Norov , Peter Hurley , "Zheng, Lv" , Robert Moore , "Rafael J. Wysocki" , Len Brown , devel@acpica.org Subject: [PATCH v4 3/4] ACPI: add definitions of DBG2 subtypes Date: Mon, 29 Feb 2016 15:02:31 +0300 Message-Id: <1456747355-15692-4-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456747355-15692-1-git-send-email-aleksey.makarov@linaro.org> References: <1456747355-15692-1-git-send-email-aleksey.makarov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index a4ef625..652f747 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