serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 SoC
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 31 Aug 2016 03:29:12 +0000 (11:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Sep 2016 13:03:35 +0000 (15:03 +0200)
Add ACPI identifier for UART on Hisilicon Hip05 SoC, be careful that
it is not 16550 compatible, and "reg-io-width" and "reg-shift" need
be set properly by _DSD method in DSDT.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c

index 47e6d08eb6fd3d3b161deaa3f53cd18a392fe0cd..5e4b80ecb88302c37187a1684abf853c7b75201d 100644 (file)
@@ -620,6 +620,7 @@ static const struct acpi_device_id dw8250_acpi_match[] = {
        { "APMC0D08", 0},
        { "AMD0020", 0 },
        { "AMDI0020", 0 },
+       { "HISI0031", 0 },
        { },
 };
 MODULE_DEVICE_TABLE(acpi, dw8250_acpi_match);