[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57D96701.4050700@hisilicon.com>
Date: Wed, 14 Sep 2016 23:04:33 +0800
From: "zhichang.yuan" <yuanzhichang@...ilicon.com>
To: Arnd Bergmann <arnd@...db.de>,
<linux-arm-kernel@...ts.infradead.org>
CC: <linux-kernel@...r.kernel.org>, <linuxarm@...wei.com>,
<devicetree@...r.kernel.org>, <lorenzo.pieralisi@....com>,
<benh@...nel.crashing.org>, <minyard@....org>,
<linux-pci@...r.kernel.org>, <gabriele.paoloni@...wei.com>,
<john.garry@...wei.com>, <will.deacon@....com>,
<xuwei5@...ilicon.com>, <linux-serial@...r.kernel.org>,
<gregkh@...uxfoundation.org>, <zourongrong@...il.com>,
<liviu.dudau@....com>, <kantyzc@....com>,
<zhichang.yuan02@...il.com>
Subject: Re: [PATCH V3 3/4] ARM64 LPC: support serial based on low-pin-count
On 2016/9/14 20:25, Arnd Bergmann wrote:
> On Wednesday, September 14, 2016 8:15:53 PM CEST Zhichang Yuan wrote:
>> From: "zhichang.yuan" <yuanzhichang@...ilicon.com>
>>
>> On Hip06 platform, a 16550 compatible UART is connected to low-pin-count and
>> controlled through the LPC I/O cycles. After registering the LPC uart specific
>> serial_in/serial_out to 8250 core driver, serial data can be read/written
>> through the LPC.
>>
>> Signed-off-by: zhichang.yuan <yuanzhichang@...ilicon.com>
>>
>
> I still think this should be handled by 8250_of.c after the addition of
> support for IORESOURCE_IO.
The 8250_hisi_lpc.c support both ACPI and dts similar to 8250_dw :
+static struct platform_driver hs_lpc8250_driver = {
+ .driver = {
+ .name = "hisi-lpc-uart",
+ .of_match_table = hs8250_of_match,
+ .acpi_match_table = ACPI_PTR(hs8250_acpi_match),
So, I am a little confused why we need to support dts in 8250_of.c and support ACPI in another
driver file.
best,
Zhichang
>
> Arnd
>
>
> .
>
Powered by blists - more mailing lists