linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: aleksey.makarov@linaro.org (Aleksey Makarov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/8] ACPI: add definitions of DBG2 subtypes
Date: Wed, 24 Feb 2016 20:10:12 +0300	[thread overview]
Message-ID: <1456333819-13482-4-git-send-email-aleksey.makarov@linaro.org> (raw)
In-Reply-To: <1456333819-13482-1-git-send-email-aleksey.makarov@linaro.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 <aleksey.makarov@linaro.org>
---
 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
 
-- 
2.7.1

  parent reply	other threads:[~2016-02-24 17:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24 17:10 [PATCH v2 0/8] ACPI: parse the DBG2 table Aleksey Makarov
2016-02-24 17:10 ` [PATCH v2 1/8] arm64: move acpi/dt decision earlier in boot process Aleksey Makarov
2016-02-24 18:22   ` Matthias Brugger
2016-02-25 15:53     ` Aleksey Makarov
2016-02-24 17:10 ` [PATCH v2 2/8] of/serial: move earlycon early_param handling to serial Aleksey Makarov
2016-02-24 17:10 ` Aleksey Makarov [this message]
2016-02-24 17:17   ` [PATCH v2 3/8] ACPI: add definitions of DBG2 subtypes Moore, Robert
2016-02-24 17:25     ` Aleksey Makarov
2016-02-24 20:03       ` Rafael J. Wysocki
2016-02-24 17:10 ` [PATCH v2 4/8] ACPI: genaralize iterating over subtables in ACPI_PROBE_TABLE() Aleksey Makarov
2016-02-24 17:10 ` [PATCH v2 5/8] ACPI: parse DBG2 table Aleksey Makarov
2016-02-24 17:10 ` [PATCH v2 6/8] ACPI: serial: implement earlycon on ACPI DBG2 port Aleksey Makarov
2016-02-24 17:10 ` [PATCH v2 7/8] ACPI: enable ACPI_DBG2_TABLE on ARM64 Aleksey Makarov
2016-02-24 17:10 ` [PATCH v2 8/8] serial: pl011: add ACPI DBG2 serial port Aleksey Makarov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456333819-13482-4-git-send-email-aleksey.makarov@linaro.org \
    --to=aleksey.makarov@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).