diff mbox series

ACPI: SPCR: Add support for NVIDIA 16550-compatible port subtype

Message ID 20220311165310.60418-1-jonathanh@nvidia.com
State New
Headers show
Series ACPI: SPCR: Add support for NVIDIA 16550-compatible port subtype | expand

Commit Message

Jon Hunter March 11, 2022, 4:53 p.m. UTC
From: Jeff Brasen <jbrasen@nvidia.com>

Add support for the NVIDIA specific 16550 subtype to SPCR table parsing
routine.

Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 drivers/acpi/spcr.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jon Hunter March 11, 2022, 4:54 p.m. UTC | #1
Adding linux-tegra ...

On 11/03/2022 16:53, Jon Hunter wrote:
> From: Jeff Brasen <jbrasen@nvidia.com>
> 
> Add support for the NVIDIA specific 16550 subtype to SPCR table parsing
> routine.
> 
> Signed-off-by: Jeff Brasen <jbrasen@nvidia.com>
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>   drivers/acpi/spcr.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c
> index d589543875b8..1eabfcd122ee 100644
> --- a/drivers/acpi/spcr.c
> +++ b/drivers/acpi/spcr.c
> @@ -142,6 +142,7 @@ int __init acpi_parse_spcr(bool enable_earlycon, bool enable_console)
>   	case ACPI_DBG2_16550_COMPATIBLE:
>   	case ACPI_DBG2_16550_SUBSET:
>   	case ACPI_DBG2_16550_WITH_GAS:
> +	case ACPI_DBG2_16550_NVIDIA:
>   		uart = "uart";
>   		break;
>   	default:
diff mbox series

Patch

diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c
index d589543875b8..1eabfcd122ee 100644
--- a/drivers/acpi/spcr.c
+++ b/drivers/acpi/spcr.c
@@ -142,6 +142,7 @@  int __init acpi_parse_spcr(bool enable_earlycon, bool enable_console)
 	case ACPI_DBG2_16550_COMPATIBLE:
 	case ACPI_DBG2_16550_SUBSET:
 	case ACPI_DBG2_16550_WITH_GAS:
+	case ACPI_DBG2_16550_NVIDIA:
 		uart = "uart";
 		break;
 	default: