diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2016-08-31 11:29:12 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-02 15:03:35 +0200 |
commit | e06b6b854163a7f9931d6e0d859b9378a23fe7af (patch) | |
tree | d2fda31add6b94776145272dc1b2dbd89e6120dd | |
parent | f3bf26326f1cd27b498b44618855512b2f19769b (diff) | |
download | op-kernel-dev-e06b6b854163a7f9931d6e0d859b9378a23fe7af.zip op-kernel-dev-e06b6b854163a7f9931d6e0d859b9378a23fe7af.tar.gz |
serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 SoC
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>
-rw-r--r-- | drivers/tty/serial/8250/8250_dw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index 47e6d08..5e4b80e 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -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); |