Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432433 > unrolled thread
| Started by | Kefeng Wang <wangkefeng.wang@huawei.com> |
|---|---|
| First post | 2016-06-28 05:30 +0200 |
| Last post | 2016-06-30 03:30 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
[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
| From | Kefeng Wang <wangkefeng.wang@huawei.com> |
|---|---|
| Date | 2016-06-28 05:30 +0200 |
| Subject | [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc |
| Message-ID | <rORJ7-19W-5@gated-at.bofh.it> |
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. 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(-)
--
1.7.12.4
[toc] | [next] | [standalone]
| From | Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
|---|---|
| Date | 2016-06-29 15:00 +0200 |
| Subject | Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc |
| Message-ID | <rPnfY-4hM-21@gated-at.bofh.it> |
| In reply to | #1432433 |
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? Is there any public specification to look at? > 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(-) > -- Andy Shevchenko <andriy.shevchenko@linux.intel.com> Intel Finland Oy
[toc] | [prev] | [next] | [standalone]
| From | Kefeng Wang <wangkefeng.wang@huawei.com> |
|---|---|
| Date | 2016-06-30 03:30 +0200 |
| Subject | Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc |
| Message-ID | <rPyXL-39e-5@gated-at.bofh.it> |
| In reply to | #1433716 |
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? After check it again with designer, yes. > Is there any public specification to look at? I think Xin liang is in a better position to answer this question. > >> 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(-) >> >
[toc] | [prev] | [next] | [standalone]
| From | liuxinliang <z.liuxinliang@hisilicon.com> |
|---|---|
| Date | 2016-06-30 03:30 +0200 |
| Subject | Re: [PATCH 0/2] serial: 8250_dw: Add ACPI support for uart on Hisilicon Hip05 soc |
| Message-ID | <rPyXM-39e-9@gated-at.bofh.it> |
| In reply to | #1433716 |
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(-) >>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web