serial: 8250_dw: Add device HID for new AMD UART controller
authorMaximilian Luz <luzmaximilian@gmail.com>
Wed, 12 May 2021 21:04:13 +0000 (23:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Jun 2021 07:00:33 +0000 (09:00 +0200)
commita4a261328ce14cec36460a185bd2064791e3a323
treed34121052124dc4ec7eeda9cae527436ac49f355
parent595505fc6f8b0f85d58f7a97a9ad6a139af8397e
serial: 8250_dw: Add device HID for new AMD UART controller

commit 3c35d2a960c0077a4cb09bf4989f45d289332ea0 upstream.

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: <stable@vger.kernel.org> # 5.10+
Tested-by: Sachi King <nakato@nakato.io>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com> # for 8250_dw part
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210512210413.1982933-1-luzmaximilian@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/acpi_apd.c
drivers/tty/serial/8250/8250_dw.c