linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: Olof Johansson <olof@lixom.net>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Greg KH <greg@kroah.com>,
	Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	linux-sh@vger.kernel.org, linux-serial@vger.kernel.org,
	Bastian Hecht <hechtb+renesas@gmail.com>,
	Paul Mundt <lethal@linux-sh.org>
Subject: Re: [PATCH v3 00/29] Add OF support to the sh-sci serial port driver
Date: Mon, 09 Dec 2013 23:42:05 +0000	[thread overview]
Message-ID: <20131209234205.GB24573@verge.net.au> (raw)
In-Reply-To: <20131209185918.GC27562@quad.lixom.net>

On Mon, Dec 09, 2013 at 10:59:18AM -0800, Olof Johansson wrote:
> On Thu, Dec 05, 2013 at 04:03:43PM +0900, Simon Horman wrote:
> > On Thu, Dec 05, 2013 at 06:53:41AM +0100, Laurent Pinchart wrote:
> > > Hi Simon,
> > > 
> > > On Thursday 05 December 2013 12:33:23 Simon Horman wrote:
> > > > On Tue, Dec 03, 2013 at 07:28:47PM +0100, Laurent Pinchart wrote:
> > > > > On Tuesday 03 December 2013 10:09:53 Greg KH wrote:
> > > > > > On Thu, Nov 21, 2013 at 08:17:27AM +0100, Laurent Pinchart wrote:
> > > > > > > On Thursday 21 November 2013 13:40:38 Simon Horman wrote:
> > > > > > > > On Tue, Nov 19, 2013 at 03:02:01PM +0100, Laurent Pinchart wrote:
> > > > > > > > > Hello,
> > > > > > > > > 
> > > > > > > > > This is the third version of the patch set adds device tree
> > > > > > > > > bindings for the sh sci serial port devices and adds OF parsing to
> > > > > > > > > the sh-sci driver.
> > > > > > > > > 
> > > > > > > > > The bindings are based on Bastian Hecht's proposal (see
> > > > > > > > > http://www.spinics.net/lists/arm-kernel/msg228129.html). The
> > > > > > > > > approach taken here is more minimalistic: instead of describing
> > > > > > > > > all hardware characteristics that vary between the SCI device
> > > > > > > > > revisions in DT (such as registers layout), that information is
> > > > > > > > > stored in the driver and selected based on the compatible property
> > > > > > > > > value. Only SCI revisions used on ARM devices are supported
> > > > > > > > > through DT, as DT support for SuperH is nowhere down the line.
> > > > > > > > > 
> > > > > > > > > Patches 01/29 to 06/29 clean up the sh-sci driver. Patches 07/29
> > > > > > > > > to 27/29 replace memory and interrupt resources passed through
> > > > > > > > > platform data with platform resources. Beside replacing a custom
> > > > > > > > > mechanism with a standard one, it will also make the DT parsing
> > > > > > > > > code simpler as resource allocation will be shared between DT and
> > > > > > > > > non-DT code paths. Finally, patches 28/29 to 29/29 add OF parsing
> > > > > > > > > to the sh-sci driver and create DT bindings documentation.
> > > > > > > > > 
> > > > > > > > > The patches have been test on a Lager board (r8a7790-based) and a
> > > > > > > > > Koelsch board (r8a7791-based). Support for other SoCs will be
> > > > > > > > > added as needed. Note that all current Renesas ARM SoCs seem to be
> > > > > > > > > compatible with the generic (H)SCI(F)(AB) devices, but the plan is
> > > > > > > > > for their DT bindings to list the SoC-specific version in case
> > > > > > > > > incompatibilities are found later.
> > > > > > > > > 
> > > > > > > > > The series will need to be split in three parts to go to mainline.
> > > > > > > > > Patches 01/29 to 07/29 should go through Greg's tree, patches
> > > > > > > > > 08/29 to 26/29 through Simon's tree, and patches 27/29 to 29/29
> > > > > > > > > through Greg's tree again. Greg, when applying the first seven
> > > > > > > > > patches, could you please provide a stable branch for Simon to
> > > > > > > > > base his branch on (I can send you a pull request rebased on top
> > > > > > > > > of v3.13-rc1 if that can help) ? Simon will in turn provide a
> > > > > > > > > stable branch to base the last three patches on.
> > > > > > > > 
> > > > > > > > Perhaps you meant to CC Greg?
> > > > > > > 
> > > > > > > Indeed :-)
> > > > > > 
> > > > > > That's a mess, how about Simon just take all of these in his tree:
> > > > >
> > > > > We all seem to agree that it's the best solution, so let's do that. There
> > > > > will be a couple of other sh-sci patches for the next kernel version that
> > > > > should then go through Simon's tree as well. I will make sure to post
> > > > > them for review on the linux-serial list and CC you to get your ack (from
> > > > > what I've been told the ARM SoC maintainer usually dislike driver patches
> > > > > going through their tree without the driver subsystem maintainer ack).
> > > > > 
> > > > > > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > > > > 
> > > > > Thank you.
> > > > 
> > > > Yes, thanks Greg.
> > > > 
> > > > Laurent, I have v4 of these patches sitting in patchwork.
> > > > Would you like me to look at queuing them up as-is or
> > > > are you planning v5?
> > > 
> > > I'm not planning for a v5, but there's another patch series ("[PATCH 00/16] 
> > > sh-sci: Remove unnecessary fields from platform data") that is similarly 
> > > organized as sh-sci / platform / sh-sci patches on top of this. Would you like 
> > > me to reorganize the all the 45 patches in one big series with a single set of 
> > > platform patches in-between two sets of sh-sci patches ?
> > 
> > That sounds nice, thanks.
> > 
> > To be clear, we are planning sh-sci -> soc -> sh-sci ?
> > 
> > If so, I'll have a word with Olof (CCed) as he tends to want
> > to avoid such circular dependencies if possible.
> 
> What are the platform changes in the middle that you need?

I will let Laurent speak to the nature of the changes.

In terms of patches Laurent has recently published a single series
which includes sh-sci patches, followed by SoC patches, followed
by sh-sci patches. The series is "[PATCH 00/47] sh-sci updates for v3.14"

http://www.spinics.net/lists/linux-sh/msg26033.html

  reply	other threads:[~2013-12-09 23:42 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-19 14:02 [PATCH v3 00/29] Add OF support to the sh-sci serial port driver Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 01/29] serial: sh-sci: Sort headers alphabetically Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 02/29] serial: sh-sci: Remove baud rate calculation algorithm 5 Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 03/29] serial: sh-sci: Simplify baud rate calculation algorithms Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 04/29] serial: sh-sci: Remove duplicate interrupt check in verify port op Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 05/29] serial: sh-sci: Set the UPF_FIXED_PORT flag Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 06/29] serial: sh-sci: Don't check IRQ in verify port operation Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 07/29] serial: sh-sci: Support resources passed through platform resources Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 08/29] ARM: shmobile: sh7372: Use macros to declare SCIF devices Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 09/29] ARM: shmobile: sh73a0: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 10/29] ARM: shmobile: r8a7740: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 11/29] ARM: shmobile: r8a7779: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 12/29] ARM: shmobile: r7s72100: Don't define SCIF platform data in an array Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 13/29] ARM: shmobile: r8a73a4: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 14/29] ARM: shmobile: r8a7778: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 15/29] ARM: shmobile: r8a7790: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 16/29] ARM: shmobile: r8a7791: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 17/29] ARM: shmobile: sh7372: Declare SCIF register base and IRQ as resources Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 18/29] ARM: shmobile: sh73a0: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 19/29] ARM: shmobile: r7s72100: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 20/29] ARM: shmobile: r8a73a4: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 21/29] ARM: shmobile: r8a7740: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 22/29] ARM: shmobile: r8a7778: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 23/29] ARM: shmobile: r8a7779: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 24/29] ARM: shmobile: r8a7790: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 25/29] ARM: shmobile: r8a7791: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 26/29] sh: " Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 27/29] serial: sh-sci: Remove platform data mapbase and irqs fields Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 28/29] serial: sh-sci: Add device tree bindings documentation Laurent Pinchart
2013-11-19 14:02 ` [PATCH v3 29/29] serial: sh-sci: Add OF support Laurent Pinchart
2013-11-21  4:40 ` [PATCH v3 00/29] Add OF support to the sh-sci serial port driver Simon Horman
2013-11-21  7:17   ` Laurent Pinchart
2013-12-03 18:09     ` Greg KH
2013-12-03 18:28       ` Laurent Pinchart
2013-12-05  3:33         ` Simon Horman
2013-12-05  5:53           ` Laurent Pinchart
2013-12-05  7:03             ` Simon Horman
2013-12-05 10:13               ` Laurent Pinchart
2013-12-05 14:38                 ` Simon Horman
2013-12-09 18:59               ` Olof Johansson
2013-12-09 23:42                 ` Simon Horman [this message]
2013-12-10  1:03                   ` Laurent Pinchart
2013-12-20  1:48                   ` Laurent Pinchart

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=20131209234205.GB24573@verge.net.au \
    --to=horms@verge.net.au \
    --cc=greg@kroah.com \
    --cc=hechtb+renesas@gmail.com \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=olof@lixom.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).