ACPI / APD: Add device HID for future AMD UART controller
authorWang Hongcheng <annie.wang@amd.com>
Fri, 11 Mar 2016 09:28:23 +0000 (17:28 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Mar 2016 01:54:39 +0000 (02:54 +0100)
Add device HID AMDI0020 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the UART
controller on future AMD paltform will use the HID instead of AMD0020.

Signed-off-by: Wang Hongcheng <annie.wang@amd.com>
Acked-by: Ken Xue <Ken.Xue@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_apd.c

index d0aad06b38720555a7da9138d5bc7f307100ca43..f245bf35bedb59c38dad79badfd8e084cccb5644 100644 (file)
@@ -145,6 +145,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
        { "AMD0010", APD_ADDR(cz_i2c_desc) },
        { "AMDI0010", APD_ADDR(cz_i2c_desc) },
        { "AMD0020", APD_ADDR(cz_uart_desc) },
+       { "AMDI0020", APD_ADDR(cz_uart_desc) },
        { "AMD0030", },
 #endif
 #ifdef CONFIG_ARM64