From patchwork Mon Feb 22 13:46:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 62571 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1245221lbl; Mon, 22 Feb 2016 05:47:49 -0800 (PST) X-Received: by 10.66.100.196 with SMTP id fa4mr38154757pab.37.1456148869525; Mon, 22 Feb 2016 05:47:49 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90si39932083pfp.195.2016.02.22.05.47.49; Mon, 22 Feb 2016 05:47:49 -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 S1755091AbcBVNrp (ORCPT + 1 other); Mon, 22 Feb 2016 08:47:45 -0500 Received: from mail-lf0-f54.google.com ([209.85.215.54]:35054 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755220AbcBVNrl (ORCPT ); Mon, 22 Feb 2016 08:47:41 -0500 Received: by mail-lf0-f54.google.com with SMTP id l143so93915259lfe.2 for ; Mon, 22 Feb 2016 05:47: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=d3dlC8Nst95q/yJ1dsucXSPpmoAHaVW28/0iAUlpkLNvE7MhFbBpcC6X+yLQtLg+qk 7+ize7DBV2P5uNJm96qHF+p7WlqwqxvBQLtu5/YVUWXb9jIZ3IYrAxJZbUAzS4bwCMSM FtaYfBYXBNe4tSmZ6gR7UAkjZXu1WA6ZGgf0k= 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=cE4X41W1E0GfAiY228nQ358WWmJ25V13yX2TT5Jj1ZioVfI/bwlEGQaHcEdS8fHkBL 03UH1Xmj6U2pkZzsdyrDbZTTilHErOuTOO37hHTAkQ/qeLMeFa2ufPbeqJp61AgMgdk9 Q8QHiuIvRA76RQa4y/kOS5FLvpwBVXM9j2ZiY9QjwCYjY/D2sbuObt8JkY4mkMp3pr34 oCF/NQyT2qJ6d4rNIm1VVdc0xSqaqY5eECODaWlF0hW1hprtJk0ULCl2jRzUilIpjhE+ QbnE6zQuRFWFgHfWvWPULI57MLbxbp7JlAaEfQfUQUc7T7E9PWvsrUv1bTFQF8mJIANY SXfw== X-Gm-Message-State: AG10YORTtm6PfocpORn4qw9NJ3HNIJPVnlTVksTSms1N4T21KARDTATvppiaH1LlbBvdsN+0 X-Received: by 10.25.205.7 with SMTP id d7mr10345557lfg.70.1456148858478; Mon, 22 Feb 2016 05:47:38 -0800 (PST) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id s5sm2564633lbr.12.2016.02.22.05.47.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Feb 2016 05:47:37 -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 3/8] ACPI: add definitions of DBG2 subtypes Date: Mon, 22 Feb 2016 16:46:51 +0300 Message-Id: <1456148818-26257-4-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456148818-26257-1-git-send-email-aleksey.makarov@linaro.org> References: <1456148818-26257-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..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