[PATCH] acpi: dbg2: update the subtype for DBG2 table
Ivan Hu
ivan.hu at canonical.com
Thu Jul 28 09:31:57 UTC 2022
Buglink: https://bugs.launchpad.net/fwts/+bug/1982785
Update the Microsoft Debug Port Table 2 (DBG2) table base on the release
05/20/2022,
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
src/acpi/dbg2/dbg2.c | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/src/acpi/dbg2/dbg2.c b/src/acpi/dbg2/dbg2.c
index 499d5cb9..1f45f8e8 100644
--- a/src/acpi/dbg2/dbg2.c
+++ b/src/acpi/dbg2/dbg2.c
@@ -179,9 +179,36 @@ static int dbg2_test1(fwts_framework *fw)
case 0x0001:
subport = "16550 subset compatible";
break;
+ case 0x0002:
+ subport = "MAX311xE SPI UART";
+ break;
case 0x0003:
subport = "ARMPL011 UART";
break;
+ case 0x0004:
+ subport = "MSM8x60 (e.g. 8960)";
+ break;
+ case 0x0005:
+ subport = "Nvidia 16550";
+ break;
+ case 0x0006:
+ subport = "TI OMAP";
+ break;
+ case 0x0008:
+ subport = "APM88xxxx";
+ break;
+ case 0x0009:
+ subport = "MSM8974";
+ break;
+ case 0x000a:
+ subport = "SAM5250";
+ break;
+ case 0x000b:
+ subport = "Intel USIF";
+ break;
+ case 0x000c:
+ subport = "i.MX 6";
+ break;
case 0x000d:
subport = "ARM SBSA Generic UART (deprecated)";
break;
@@ -194,9 +221,18 @@ static int dbg2_test1(fwts_framework *fw)
case 0x0010:
subport = "BCM2835";
break;
+ case 0x0011:
+ subport = "SDM845 with clock rate of 1.8432 MHz";
+ break;
case 0x0012:
subport = "16550-compatible with parameters in GAS";
break;
+ case 0x0013:
+ subport = "SDM845 with clock rate of 7.372 MHz";
+ break;
+ case 0x0014:
+ subport = "Intel LPSS";
+ break;
default:
break;
}
--
2.25.1
More information about the fwts-devel
mailing list