ACPI: SPCR: Add support for the new 16550-compatible Serial Port Subtype
authorMarcin Wojtas <mw@semihalf.com>
Wed, 14 Jul 2021 21:43:46 +0000 (23:43 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 16 Aug 2021 16:38:08 +0000 (18:38 +0200)
commit2aaea6a1647e887fe91ce3e0324e6be4362e5388
tree556b18f34e3fcb0fef4b3874c249739f717eef61
parent7c60610d476766e128cc4284bb6349732cbd6606
ACPI: SPCR: Add support for the new 16550-compatible Serial Port Subtype

The Microsoft Debug Port Table 2 (DBG2) specification revision
May 31, 2017 added definition of the 16550-compatible Serial Port
Subtype with parameters defined in Generic Address Structure (GAS) [1]

Add its support in the SPCR table parsing routine.

[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/spcr.c