From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969AbcF3BU1 (ORCPT ); Wed, 29 Jun 2016 21:20:27 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:10438 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751827AbcF3BU0 (ORCPT ); Wed, 29 Jun 2016 21:20:26 -0400 Message-ID: <577473A3.9050808@hisilicon.com> Date: Thu, 30 Jun 2016 09:19:31 +0800 From: liuxinliang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Andy Shevchenko , Kefeng Wang , Greg Kroah-Hartman CC: Jiri Slaby , , , Subject: Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc References: <1467083835-37750-1-git-send-email-wangkefeng.wang@huawei.com> <1467204764.30123.327.camel@linux.intel.com> In-Reply-To: <1467204764.30123.327.camel@linux.intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.46.67.196] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090202.577473AC.008A,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: c00c29f4b5d504b19d3d36d16aad395d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) >>