devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Simon Horman <horms@verge.net.au>,
	David Gibson <david@gibson.dropbear.id.au>,
	Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	devicetree@vger.kernel.org
Subject: Re: SHMobile Compatibility String Inconsistencies
Date: Tue, 27 Aug 2013 08:30:49 +0200	[thread overview]
Message-ID: <4837967.ksf69P4Rut@avalon> (raw)
In-Reply-To: <Pine.LNX.4.64.1308261750340.1767@axis700.grange>

Hi Guennadi,

On Monday 26 August 2013 18:08:52 Guennadi Liakhovetski wrote:
> On Sat, 24 Aug 2013, Simon Horman wrote:
> > On Fri, Aug 23, 2013 at 01:31:31PM +0200, Laurent Pinchart wrote:
> > > On Friday 23 August 2013 12:11:11 David Gibson wrote:
> > > > On Thu, Aug 22, 2013 at 02:46:40PM +0900, Simon Horman wrote:
> > > > > Hi Laurent, Hi Guennadi, Hi All,
> > > > > 
> > > > > Olof has brought to my attention that there is some inconsistency
> > > > > in the way that compatibility strings for SHMobile are named and he
> > > > > has asked us to clean things up for v3.12.
> > > > > 
> > > > > Looking through arch/arm/boot/dts/ I see that we have:
> > > > > 
> > > > > 1. {gpio,pfc}-r8aXXXX and;
> 
> Add shdma-<soc> to the above
> 
> > > > > 2. r8aXXXX-sdhi
> > > > > 
> > > > > The inconsistency that Olof has asked us to resolve is that we
> > > > > should either use r8aXXXX- or -r8aXXXX. Not both.
> 
> Given the 3:1 score the choice seems rather simple to me. So, if we do
> have to make those consistent, let's change SDHI.

Agreed.

> > > > > It seems to me that neither option is inherently better than the
> > > > > other so we should just choose the path of least resistance to make
> > > > > things consistent.
> > > > > 
> > > > > Laurent, Guennadi, do you have any opinions on if it would
> > > > > be easier to change the GPIO and PFC compatibility strings;
> > > > > or to change the SDHI compatibility strings?
> > > > > 
> > > > > Ideally I would like you to come to some sort of consensus and send
> > > > > patches.
> > > > 
> > > > So, by all means clean this up in the dts.
> > > > 
> > > > BUT, in keeping with the recent discussions on improving the DT
> > > > process, the corresponding drivers must continue to recognize both
> > > > forms, so that old DTs will still work correctly.
> > > 
> > > Given the early state of DT support in arm/mach-shmobile, I'm pretty
> > > sure we have no DT-based systems in the wild. The old compatibility
> > > string could in my opinion just be dropped.
> > 
> > I tend to agree, though I don't mind either way.
> 
> So, what path should we choose? I see 2 SDHI users in your current "devel"
> brunch: sh73a0 (kzm9g) and r8a73a4 (ape6evm). Should we make a single
> patch, changing the driver and both users and push it via ARM with Chris'
> ack or shall we add new compats, switch .dtsi's, remove old compats - over
> 2 kernel versions?

I'm fine with both, but in the latter case I don't see a need to spread it 
over two kernel versions.

> Can we still get anything for this into 3.12 or is it too late? Would it be
> a "fix" enough for -rc2 / late -rc1?

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2013-08-27  6:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130822054639.GE11086@verge.net.au>
     [not found] ` <20130823021111.GA2792@voom.redhat.com>
     [not found]   ` <1721850.l3ebodSrXr@avalon>
2013-08-26  7:16     ` SHMobile Compatibility String Inconsistencies David Gibson
     [not found]     ` <20130824021323.GC5181@verge.net.au>
2013-08-26 16:08       ` Guennadi Liakhovetski
2013-08-27  6:30         ` Laurent Pinchart [this message]
2013-08-27  6:46           ` Guennadi Liakhovetski
     [not found] ` <5813266.Bt0QjqXd25@avalon>
     [not found]   ` <20130823001934.GA4331@verge.net.au>
2013-08-27 17:34     ` Olof Johansson

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=4837967.ksf69P4Rut@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=arnd@arndb.de \
    --cc=david@gibson.dropbear.id.au \
    --cc=devicetree@vger.kernel.org \
    --cc=g.liakhovetski@gmx.de \
    --cc=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --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).