Skip to content

Commit 3c35d2a

Browse files
qzedgregkh
authored andcommitted
serial: 8250_dw: Add device HID for new AMD UART controller
Add device HID AMDI0022 to the AMD UART controller driver match table and create a platform device for it. This controller can be found on Microsoft Surface Laptop 4 devices and seems similar enough that we can just copy the existing AMDI0020 entries. Cc: <[email protected]> # 5.10+ Tested-by: Sachi King <[email protected]> Acked-by: Andy Shevchenko <[email protected]> # for 8250_dw part Signed-off-by: Maximilian Luz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2ea2e01 commit 3c35d2a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/acpi/acpi_apd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
226226
{ "AMDI0010", APD_ADDR(wt_i2c_desc) },
227227
{ "AMD0020", APD_ADDR(cz_uart_desc) },
228228
{ "AMDI0020", APD_ADDR(cz_uart_desc) },
229+
{ "AMDI0022", APD_ADDR(cz_uart_desc) },
229230
{ "AMD0030", },
230231
{ "AMD0040", APD_ADDR(fch_misc_desc)},
231232
{ "HYGO0010", APD_ADDR(wt_i2c_desc) },

drivers/tty/serial/8250/8250_dw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@ static const struct acpi_device_id dw8250_acpi_match[] = {
714714
{ "APMC0D08", 0},
715715
{ "AMD0020", 0 },
716716
{ "AMDI0020", 0 },
717+
{ "AMDI0022", 0 },
717718
{ "BRCM2032", 0 },
718719
{ "HISI0031", 0 },
719720
{ },

0 commit comments

Comments
 (0)