]> asedeno.scripts.mit.edu Git - linux.git/commit
HISI LPC: Add ACPI UART support
authorJohn Garry <john.garry@huawei.com>
Tue, 8 May 2018 10:27:32 +0000 (18:27 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 10 May 2018 16:45:52 +0000 (17:45 +0100)
commitadf3457b4ce6940885be3e5ee832c6949fba4166
tree19d261e454a1150ddcb5e8294c9b1ef6c7b354bb
parent99c0228d6ff1fabdd56fa78c2283b5b155fa8664
HISI LPC: Add ACPI UART support

On the Huawei D03 development board the system UART is
the UART connected on the LPC bus.

The profile for the device driver required for this HW
is as follows:
 - platform driver
 - 16550
 - ACPI support
 - polling mode support
 - IO space support

In principle we should use the PNP driver (8250_dw.c) for
8250-devices with ACPI FW. However since this driver does
not support PNP devices, and modifying the PNP core code
to support it is not worth the effort, use the generic
8250 isa driver.

For this, we setup the pdev platform data for the serial
8250 port.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
drivers/bus/hisi_lpc.c