Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1537166 > unrolled thread

[RFC v2 4/4] ACPI: SPCR: support 16550 UART with 32-bit access

Started byAleksey Makarov <aleksey.makarov@linaro.org>
First post2016-12-06 19:00 +0100
Last post2016-12-06 19:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC v2 4/4] ACPI: SPCR: support 16550 UART with 32-bit access Aleksey Makarov <aleksey.makarov@linaro.org> - 2016-12-06 19:00 +0100

#1537166 — [RFC v2 4/4] ACPI: SPCR: support 16550 UART with 32-bit access

FromAleksey Makarov <aleksey.makarov@linaro.org>
Date2016-12-06 19:00 +0100
Subject[RFC v2 4/4] ACPI: SPCR: support 16550 UART with 32-bit access
Message-ID<sLsc1-59b-3@gated-at.bofh.it>
It was suggested to add a new Microsoft Debug Port Table 2
(DBG2) (the table used to enumerate the various subtypes of serial
port covered by the SPCR) 16550 UART subtype that may be needed for
some additional platforms, such as those based upon AppliedMicro
X-Gene ARMv8 SoCs.  This new subtype would be 16550-compatible
with 32-bit access.  There already exists 32-bit variant
ACPI_DBG2_ARM_SBSA_32BIT of SBSA console ACPI_DBG2_ARM_SBSA_GENERIC.

This patch supports this type of console.

Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org>
---
 drivers/acpi/spcr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c
index 2bf338c..bc17e77 100644
--- a/drivers/acpi/spcr.c
+++ b/drivers/acpi/spcr.c
@@ -68,6 +68,9 @@ int __init parse_spcr(bool earlycon)
 	case ACPI_DBG2_BCM2835:
 		uart = "pl011";
 		break;
+	case ACPI_DBG2_16550_32BIT:
+		iotype = "mmio32";
+		/* fall through */
 	case ACPI_DBG2_16550_COMPATIBLE:
 	case ACPI_DBG2_16550_SUBSET:
 		if (table->serial_port.space_id ==
-- 
2.10.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web