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


Groups > linux.kernel > #1403973

Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!easy.in-chemnitz.de!news2.arglkargh.de!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Jon Mason <jon.mason@broadcom.com>
Newsgroups linux.kernel
Subject Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys DesignWare ABP UART
Date Thu, 19 May 2016 23:40:01 +0200
Message-ID <rADPH-5dH-3@gated-at.bofh.it> (permalink)
References <rxvvk-2lI-11@gated-at.bofh.it> <rAlg5-1wT-9@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ua+yeBxAVhQ1T4cAQ0+YohSs6Y5o1op5D0WoYY0GUpk=; b=ZhS8XDGcBvkpbohHDCdi5TCdLAMnzlxAYiLGyZnHDghmh3qluAKrnICDlDGY6ytYo6 IgQUUZcvg/gvcPAprpA/RdnFG5DiskC9ZSR8nd2kCwTAkdYaEt8rTH3awlLWyHuujWXL nxDZA+q4z2yT6EyM1/kbpDGxM7q9NXIemjwgg=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ua+yeBxAVhQ1T4cAQ0+YohSs6Y5o1op5D0WoYY0GUpk=; b=FO6J6OjykQzLnDLeGyxgAtyHXJBCeOVeUctp5UgbtEDCd2zOtvJatalE7poRJDtyoP UiK84eRp8jQHS0BlK2TrWmfKpxRgP00sofqBQPvFpwaAOGdkuThvplxT58Vvm/luh30Y gZO4wy7d23coG1qX08KQKF+7dzxTW0pxVmMCKkoHZ7khgBM0Jy5x0ObGl5pZiSFtHPT7 WRP69cazf+H14t8F/XjpfDKjqa/K8htUThN8TsglMiSWMz1cI1QscBS4DPzQpvCOHaFn qxAP3/QZRue4e0gIwDSQIctVLojgLY7Io51BX7tV+/202bMILUl6RkV5CX0eIhJezS8m hDMA==
X-Gm-Message-State AOPr4FXASF1qIyGWknADPyeB7ZGp50qNqp4GxarWzwD6GEpaHz32H7eM4KwEKAvCDGxgB7b2
X-Received by 10.66.78.104 with SMTP id a8mr23204567pax.88.1463693725456; Thu, 19 May 2016 14:35:25 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
X-Original-Cc Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jslaby@suse.com>, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, guohanjun@huawei.com, Wei Xu <xuwei5@hisilicon.com>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
X-Original-Date Thu, 19 May 2016 17:35:17 -0400
X-Original-Message-ID <20160519213516.GA12456@broadcom.com>
X-Original-References <1462946761-11982-1-git-send-email-wangkefeng.wang@huawei.com> <573D1ABD.5020908@huawei.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1403973

Show key headers only | View raw


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
> >  
> > 
> 

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


Thread

Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys  DesignWare ABP UART Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-05-19 03:50 +0200
  Re: [PATCH] serial: 8250_early: Add earlycon support for Synopsys  DesignWare ABP UART Jon Mason <jon.mason@broadcom.com> - 2016-05-19 23:40 +0200

csiph-web