All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
@ 2016-05-11  6:06 ` Kefeng Wang
  0 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-05-11  6:06 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Jiri Slaby, linux-serial, linux-kernel, guohanjun, Wei Xu, Kefeng Wang

Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
OF early console for it, so early console device can be enabled with comand
line "earlycon"(without option) via the "stdout-path" property in device-tree.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 drivers/tty/serial/8250/8250_early.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
index 8d08ff5..85a12f0 100644
--- a/drivers/tty/serial/8250/8250_early.c
+++ b/drivers/tty/serial/8250/8250_early.c
@@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
 OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
 OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
 OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
+OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
 
 #ifdef CONFIG_SERIAL_8250_OMAP
 
-- 
2.6.0.GIT

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
@ 2016-05-11  6:06 ` Kefeng Wang
  0 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-05-11  6:06 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Jiri Slaby, linux-serial, linux-kernel, guohanjun, Wei Xu, Kefeng Wang

Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
OF early console for it, so early console device can be enabled with comand
line "earlycon"(without option) via the "stdout-path" property in device-tree.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 drivers/tty/serial/8250/8250_early.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
index 8d08ff5..85a12f0 100644
--- a/drivers/tty/serial/8250/8250_early.c
+++ b/drivers/tty/serial/8250/8250_early.c
@@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
 OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
 OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
 OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
+OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
 
 #ifdef CONFIG_SERIAL_8250_OMAP
 
-- 
2.6.0.GIT

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
  2016-05-11  6:06 ` Kefeng Wang
  (?)
@ 2016-05-19  1:45   ` Kefeng Wang
  -1 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-05-19  1:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Jiri Slaby, linux-serial, linux-kernel, guohanjun, Wei Xu,
	linux-arm-kernel, Jon Mason

+Cc Jon and arm-kernel mailist

Any comments, thanks.

Kefeng

On 2016/5/11 14:06, Kefeng Wang wrote:
> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
> OF early console for it, so early console device can be enabled with comand
> line "earlycon"(without option) via the "stdout-path" property in device-tree.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
>  drivers/tty/serial/8250/8250_early.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> index 8d08ff5..85a12f0 100644
> --- a/drivers/tty/serial/8250/8250_early.c
> +++ b/drivers/tty/serial/8250/8250_early.c
> @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
> +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>  
>  #ifdef CONFIG_SERIAL_8250_OMAP
>  
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
@ 2016-05-19  1:45   ` Kefeng Wang
  0 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-05-19  1:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Jiri Slaby, linux-serial, linux-kernel, guohanjun, Wei Xu,
	linux-arm-kernel, Jon Mason

+Cc Jon and arm-kernel mailist

Any comments, thanks.

Kefeng

On 2016/5/11 14:06, Kefeng Wang wrote:
> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
> OF early console for it, so early console device can be enabled with comand
> line "earlycon"(without option) via the "stdout-path" property in device-tree.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
>  drivers/tty/serial/8250/8250_early.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> index 8d08ff5..85a12f0 100644
> --- a/drivers/tty/serial/8250/8250_early.c
> +++ b/drivers/tty/serial/8250/8250_early.c
> @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
> +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>  
>  #ifdef CONFIG_SERIAL_8250_OMAP
>  
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
@ 2016-05-19  1:45   ` Kefeng Wang
  0 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-05-19  1:45 UTC (permalink / raw)
  To: linux-arm-kernel

+Cc Jon and arm-kernel mailist

Any comments, thanks.

Kefeng

On 2016/5/11 14:06, Kefeng Wang wrote:
> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
> OF early console for it, so early console device can be enabled with comand
> line "earlycon"(without option) via the "stdout-path" property in device-tree.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
>  drivers/tty/serial/8250/8250_early.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> index 8d08ff5..85a12f0 100644
> --- a/drivers/tty/serial/8250/8250_early.c
> +++ b/drivers/tty/serial/8250/8250_early.c
> @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
>  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
> +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>  
>  #ifdef CONFIG_SERIAL_8250_OMAP
>  
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
  2016-05-19  1:45   ` Kefeng Wang
@ 2016-05-19 21:35     ` Jon Mason
  -1 siblings, 0 replies; 10+ messages in thread
From: Jon Mason @ 2016-05-19 21:35 UTC (permalink / raw)
  To: Kefeng Wang
  Cc: Greg Kroah-Hartman, Jiri Slaby, linux-serial, linux-kernel,
	guohanjun, Wei Xu, linux-arm-kernel

On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote:
> +Cc Jon and arm-kernel mailist
> 
> Any comments, thanks.

It works for me.  Please feel free to add

Tested-by: Jon Mason <jon.mason@broadcom.com>

Thanks,
Jon

> 
> Kefeng
> 
> On 2016/5/11 14:06, Kefeng Wang wrote:
> > Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
> > OF early console for it, so early console device can be enabled with comand
> > line "earlycon"(without option) via the "stdout-path" property in device-tree.
> > 
> > Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> > ---
> >  drivers/tty/serial/8250/8250_early.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> > index 8d08ff5..85a12f0 100644
> > --- a/drivers/tty/serial/8250/8250_early.c
> > +++ b/drivers/tty/serial/8250/8250_early.c
> > @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
> >  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
> >  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
> >  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
> > +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
> >  
> >  #ifdef CONFIG_SERIAL_8250_OMAP
> >  
> > 
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
@ 2016-05-19 21:35     ` Jon Mason
  0 siblings, 0 replies; 10+ messages in thread
From: Jon Mason @ 2016-05-19 21:35 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote:
> +Cc Jon and arm-kernel mailist
> 
> Any comments, thanks.

It works for me.  Please feel free to add

Tested-by: Jon Mason <jon.mason@broadcom.com>

Thanks,
Jon

> 
> Kefeng
> 
> On 2016/5/11 14:06, Kefeng Wang wrote:
> > Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
> > OF early console for it, so early console device can be enabled with comand
> > line "earlycon"(without option) via the "stdout-path" property in device-tree.
> > 
> > Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> > ---
> >  drivers/tty/serial/8250/8250_early.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
> > index 8d08ff5..85a12f0 100644
> > --- a/drivers/tty/serial/8250/8250_early.c
> > +++ b/drivers/tty/serial/8250/8250_early.c
> > @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
> >  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
> >  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
> >  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
> > +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
> >  
> >  #ifdef CONFIG_SERIAL_8250_OMAP
> >  
> > 
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
  2016-05-19 21:35     ` Jon Mason
  (?)
@ 2016-06-12  2:18       ` Kefeng Wang
  -1 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-06-12  2:18 UTC (permalink / raw)
  To: Jon Mason
  Cc: Greg Kroah-Hartman, Jiri Slaby, linux-serial, linux-kernel,
	guohanjun, Wei Xu, linux-arm-kernel



On 2016/5/20 5:35, Jon Mason wrote:
> On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote:
>> +Cc Jon and arm-kernel mailist
>>
>> Any comments, thanks.
> 
> It works for me.  Please feel free to add
> 
> Tested-by: Jon Mason <jon.mason@broadcom.com>

Thanks Jon, hi Greg, ping...

BRs,
Kefeng

> 
> Thanks,
> Jon
> 
>>
>> Kefeng
>>
>> On 2016/5/11 14:06, Kefeng Wang wrote:
>>> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
>>> OF early console for it, so early console device can be enabled with comand
>>> line "earlycon"(without option) via the "stdout-path" property in device-tree.
>>>
>>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
>>> ---
>>>  drivers/tty/serial/8250/8250_early.c | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
>>> index 8d08ff5..85a12f0 100644
>>> --- a/drivers/tty/serial/8250/8250_early.c
>>> +++ b/drivers/tty/serial/8250/8250_early.c
>>> @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
>>> +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>>>  
>>>  #ifdef CONFIG_SERIAL_8250_OMAP
>>>  
>>>
>>
> 
> .
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
@ 2016-06-12  2:18       ` Kefeng Wang
  0 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-06-12  2:18 UTC (permalink / raw)
  To: Jon Mason
  Cc: Greg Kroah-Hartman, Jiri Slaby, linux-serial, linux-kernel,
	guohanjun, Wei Xu, linux-arm-kernel



On 2016/5/20 5:35, Jon Mason wrote:
> On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote:
>> +Cc Jon and arm-kernel mailist
>>
>> Any comments, thanks.
> 
> It works for me.  Please feel free to add
> 
> Tested-by: Jon Mason <jon.mason@broadcom.com>

Thanks Jon, hi Greg, ping...

BRs,
Kefeng

> 
> Thanks,
> Jon
> 
>>
>> Kefeng
>>
>> On 2016/5/11 14:06, Kefeng Wang wrote:
>>> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
>>> OF early console for it, so early console device can be enabled with comand
>>> line "earlycon"(without option) via the "stdout-path" property in device-tree.
>>>
>>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
>>> ---
>>>  drivers/tty/serial/8250/8250_early.c | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
>>> index 8d08ff5..85a12f0 100644
>>> --- a/drivers/tty/serial/8250/8250_early.c
>>> +++ b/drivers/tty/serial/8250/8250_early.c
>>> @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
>>> +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>>>  
>>>  #ifdef CONFIG_SERIAL_8250_OMAP
>>>  
>>>
>>
> 
> .
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
@ 2016-06-12  2:18       ` Kefeng Wang
  0 siblings, 0 replies; 10+ messages in thread
From: Kefeng Wang @ 2016-06-12  2:18 UTC (permalink / raw)
  To: linux-arm-kernel



On 2016/5/20 5:35, Jon Mason wrote:
> On Thu, May 19, 2016 at 09:45:33AM +0800, Kefeng Wang wrote:
>> +Cc Jon and arm-kernel mailist
>>
>> Any comments, thanks.
> 
> It works for me.  Please feel free to add
> 
> Tested-by: Jon Mason <jon.mason@broadcom.com>

Thanks Jon, hi Greg, ping...

BRs,
Kefeng

> 
> Thanks,
> Jon
> 
>>
>> Kefeng
>>
>> On 2016/5/11 14:06, Kefeng Wang wrote:
>>> Some board like Hisilicon D02 uses Synopsys DesignWare ABP UART, declare an
>>> OF early console for it, so early console device can be enabled with comand
>>> line "earlycon"(without option) via the "stdout-path" property in device-tree.
>>>
>>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
>>> ---
>>>  drivers/tty/serial/8250/8250_early.c | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/drivers/tty/serial/8250/8250_early.c b/drivers/tty/serial/8250/8250_early.c
>>> index 8d08ff5..85a12f0 100644
>>> --- a/drivers/tty/serial/8250/8250_early.c
>>> +++ b/drivers/tty/serial/8250/8250_early.c
>>> @@ -150,6 +150,7 @@ EARLYCON_DECLARE(uart, early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(ns16550, "ns16550", early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(ns16550a, "ns16550a", early_serial8250_setup);
>>>  OF_EARLYCON_DECLARE(uart, "nvidia,tegra20-uart", early_serial8250_setup);
>>> +OF_EARLYCON_DECLARE(uart, "snps,dw-apb-uart", early_serial8250_setup);
>>>  
>>>  #ifdef CONFIG_SERIAL_8250_OMAP
>>>  
>>>
>>
> 
> .
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-06-12  2:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-11  6:06 [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART Kefeng Wang
2016-05-11  6:06 ` Kefeng Wang
2016-05-19  1:45 ` Kefeng Wang
2016-05-19  1:45   ` Kefeng Wang
2016-05-19  1:45   ` Kefeng Wang
2016-05-19 21:35   ` Jon Mason
2016-05-19 21:35     ` Jon Mason
2016-06-12  2:18     ` Kefeng Wang
2016-06-12  2:18       ` Kefeng Wang
2016-06-12  2:18       ` Kefeng Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.