From patchwork Thu Mar 24 12:52:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksey Makarov X-Patchwork-Id: 64347 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp622967lbc; Thu, 24 Mar 2016 05:55:09 -0700 (PDT) X-Received: by 10.67.30.163 with SMTP id kf3mr12520720pad.45.1458824109075; Thu, 24 Mar 2016 05:55:09 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o129si12168796pfo.19.2016.03.24.05.55.08; Thu, 24 Mar 2016 05:55:09 -0700 (PDT) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757480AbcCXMyk (ORCPT + 1 other); Thu, 24 Mar 2016 08:54:40 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:33900 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757210AbcCXMya (ORCPT ); Thu, 24 Mar 2016 08:54:30 -0400 Received: by mail-lf0-f51.google.com with SMTP id c62so30362443lfc.1 for ; Thu, 24 Mar 2016 05:54:29 -0700 (PDT) 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=t2LxFeV0QSwu9Wr6dPJO4vyCQUnuUO/vkE/ZtQQf8v8=; b=SCsfQTOHcu6GhIOafAzWLZkfnojAibyodLi+v9SJBiriNt+aw0tq4eck1ZqnNMGI0X r+0vZcHB4iPK0P9J/Effa16xdp+bq6ngBNM0iVxIT4Q6zbkCJ0Mi6C58MSbHEr8koe+q 7QL309eELPcUasFlJqJGmp5mk5G3tGCDfdclM= 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=t2LxFeV0QSwu9Wr6dPJO4vyCQUnuUO/vkE/ZtQQf8v8=; b=JPDCfE6CpKLupyQFgFSya+GnlF0E4clOtpiSiEX3NdjaiRPqQGnkZ5adAclPSAmJ2W lwa7ieVOm73nKeAo4Suvyu+xd9sg0iX4AC2mhtAoFrglYzom+ouH3JmRWXtwoNfYWk3N Atv1AjTMtiOpGGlEUpMT0+KoY7BtvQyOf8VYvr2pRfL5FvCASYbxJ1/H0itWc2XYAiFE zJagGNyYDWB9Lo/ddx+AuV60StvIiSY8110J726fbLhXqfYbUXV5+g+OEXVawJqZzb5A 8jUkE7QMbScqHfxmiOessF439E6UQFp3tx35ZpXiJyN0bYWZvoLEmNd6tVjTEszqoVnj szKA== X-Gm-Message-State: AD7BkJIwofyCDOEoFfXo2Adz2LANVY/gbt39jjCbLhHOZ8VSMWM3Kb15Q9s2JHW7TtWqyQWA X-Received: by 10.25.170.85 with SMTP id t82mr2758107lfe.57.1458824068332; Thu, 24 Mar 2016 05:54:28 -0700 (PDT) Received: from turnip.localdomain (nivc-213.auriga.ru. [80.240.102.213]) by smtp.gmail.com with ESMTPSA id rh2sm1167378lbb.36.2016.03.24.05.54.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Mar 2016 05:54:27 -0700 (PDT) From: Aleksey Makarov To: Greg Kroah-Hartman , "Rafael J . Wysocki" , Len Brown Cc: linux-serial@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Aleksey Makarov , Russell King , Leif Lindholm , Graeme Gregory , Al Stone , Christopher Covington , Yury Norov , Peter Hurley , "Zheng, Lv" , Robert Moore , "Rafael J. Wysocki" , devel@acpica.org Subject: [PATCH v6 2/5] ACPI: add definitions of DBG2 subtypes Date: Thu, 24 Mar 2016 15:52:00 +0300 Message-Id: <1458823925-19560-3-git-send-email-aleksey.makarov@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1458823925-19560-1-git-send-email-aleksey.makarov@linaro.org> References: <1458823925-19560-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.4 -- 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