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: 8376621 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A2DCD9F314 for ; Mon, 22 Feb 2016 13:49:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BE5D120504 for ; Mon, 22 Feb 2016 13:49:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A82D2204A0 for ; Mon, 22 Feb 2016 13:49:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755197AbcBVNtg (ORCPT ); Mon, 22 Feb 2016 08:49:36 -0500 Received: from mail-lf0-f42.google.com ([209.85.215.42]:34549 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755219AbcBVNrk (ORCPT ); Mon, 22 Feb 2016 08:47:40 -0500 Received: by mail-lf0-f42.google.com with SMTP id j78so93758527lfb.1 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=fhjzo6Mj5AgVIAW6Sp0hzQgQVj3fMb2bDwaVSR5DULO2eDCVS1mZwBENc8vFLp3GXB mrm+OvzFhamx3nkBa5NhS84xY8i1bt33fHyEWt5Awcm25WANxlyYxju656SMrVETN5iH n8FJ+Q++LMNeNcAB3JdkmCH9/cw4TXGLVIbWUBDm24CpmLu8cLwMIpCSgLOWVwGIip6/ GmSLKu/NgMZ5WY1Ivp0fkcZJ7aurLLVIADT/uvbadya91PTgsGyqi71Sfx1jnTVtmivs vGwWgDEW5Iks0iUckP3uIG5Wt9hdh69RQMHjLLGECL6kGPyjypt6MdbpTFhgm2VpAov6 66CA== X-Gm-Message-State: AG10YOSFmyidAjfQTUGEELMpFi/TantPqYxcZd8LT2yJNWXm5JiNey4Tk2v/haw4WGOoj8yQ 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-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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