All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH/RFC] ARM: shmobile: Koelsch DT serial integration prototype
Date: Mon, 21 Apr 2014 21:09:58 +0000	[thread overview]
Message-ID: <2700964.dizX6m2xFI@avalon> (raw)
In-Reply-To: <20140421013114.3236.90868.sendpatchset@w520>

Hi Geert,

On Monday 21 April 2014 12:22:02 Geert Uytterhoeven wrote:
> On Mon, Apr 21, 2014 at 11:50 AM, Laurent Pinchart wrote:
> > On Monday 21 April 2014 10:31:14 Magnus Damm wrote:
> >> From: Magnus Damm <damm@opensource.se>
> >> 
> >> A simple serial port integration prototype that happens to
> >> target Koelsch. Written to propose how to move one step closer
> >> to integrate DT support for serial ports on mach-shmobile.
> > 
> > I think you've over-engineering it. I would just switch serial devices to
> > DT in one go, like we do for all other devices.
> 
> Having the backwards-compatibility mode for DTSes without the main
> serial console is nice, though. But I agree that we shouldn't introduce
> more steps than necessary.

Sure, that could be useful during development when you regularly have to 
switch between different DTs files. However I don't think we should add too 
many of such hacks to the mainline kernel. Given that we can easily switch in 
one go, I believe the patch can be kept out-of-tree.

> FWIW, I've been using your "ARM: shmobile: koelsch: Enable SCIF0 and SCIF1
> serial ports in DT" on and off.

I keep them in all my working branch and haven't run into any issue so far, so 
I think they should be pretty stable now. Thank you for testing them.

> Last time I tried together with "of: Enable console on serial ports
> specified by /chosen/stdout-path", which allows to boot without any
> "console=" parameters at all.

That's a nice patch, I wasn't aware of it. How is the baud rate selected in 
that case ?

-- 
Regards,

Laurent Pinchart


  parent reply	other threads:[~2014-04-21 21:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21  1:31 [PATCH/RFC] ARM: shmobile: Koelsch DT serial integration prototype Magnus Damm
2014-04-21  8:56 ` Geert Uytterhoeven
2014-04-21  9:50 ` Laurent Pinchart
2014-04-21 10:22 ` Geert Uytterhoeven
2014-04-21 21:09 ` Laurent Pinchart [this message]
2014-04-21 21:26 ` Geert Uytterhoeven
2014-04-23  0:46 ` Simon Horman
2014-04-23  2:01 ` Magnus Damm
2014-04-23  2:07 ` Magnus Damm
2014-04-23 12:00 ` Laurent Pinchart
2014-04-23 12:22 ` Magnus Damm
2014-04-23 13:36 ` Magnus Damm
2014-04-23 22:18 ` Sergei Shtylyov
2014-04-24  0:49 ` Simon Horman
2014-04-24  5:45 ` Magnus Damm
2014-04-24  7:03 ` Geert Uytterhoeven
2014-04-24 18:48 ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2700964.dizX6m2xFI@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.