Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1434142

Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc

From liuxinliang <z.liuxinliang@hisilicon.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc
Date 2016-06-30 03:30 +0200
Message-ID <rPyXM-39e-9@gated-at.bofh.it> (permalink)
References <rORJ7-19W-5@gated-at.bofh.it> <rPnfY-4hM-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 2016/6/29 20:52, Andy Shevchenko wrote:
> On Tue, 2016-06-28 at 11:17 +0800, Kefeng Wang wrote:
>> Make dw8250_set_termios() as the default set_termios callback for 8250
>> dw uart, correct me
>> if I am wrong.
>>
>> Then add ACPI support for uart on Hisilicon Hip05 soc, be careful that
>> it is not 16500
>> compatible.
> You mean it has Busy Functionality implemented?

Yes, I think so.

> Is there any public specification to look at?
Sorry, our SoC manual is not that public. But we confirm with SoC guys 
that 8250dw has 16550 compatible and non 16550 compatible version.
Ours is non 16550 compatible version. And we can see the IIR register 
has busy interrupt bit:
"0x7: busy interrupt. When UART is busy (USR[0]=1) in receiving
and transmitting data and the processor operates the LCR register,
this interrupt will be generated."

Thanks,
-xinliang

>
>>   Note, the build(no ACPI) depends on
>> https://patchwork.kernel.org/patch/9141207/,
>> which was already accepted in net-next.
>>
>> Meanwhile, set dw8250_serial_out32 to keep consistent between
>> serial_out
>> and serial_in in ACPI.
>>
>> Kefeng Wang (2):
>>    serial: 8250_dw: make dw8250_set_termios as default set_termios
>>      callback
>>    serial: 8250_dw: add ACPI support for uart on Hisilicon Hip05 soc
>>
>>   drivers/tty/serial/8250/8250_dw.c | 11 +++++++----
>>   1 file changed, 7 insertions(+), 4 deletions(-)
>>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-06-28 05:30 +0200
  Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on  Hisilicon Hip05 soc Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-06-29 15:00 +0200
    Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on  Hisilicon Hip05 soc Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-06-30 03:30 +0200
    Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon  Hip05 soc liuxinliang <z.liuxinliang@hisilicon.com> - 2016-06-30 03:30 +0200

csiph-web