linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 09/20] ARM: shmobile: r8a7790: Add GPIO controller devices to device tree
Date: Sat, 18 May 2013 07:03:41 +0000	[thread overview]
Message-ID: <7692964.4oKpK3W9nB@avalon> (raw)
In-Reply-To: <Pine.LNX.4.64.1305180851320.9241@axis700.grange>

Hi Guennadi,

On Saturday 18 May 2013 08:57:41 Guennadi Liakhovetski wrote:
> On Sat, 18 May 2013, Laurent Pinchart wrote:
> > On Friday 17 May 2013 14:26:48 Guennadi Liakhovetski wrote:
> > > On Wed, 15 May 2013, Laurent Pinchart wrote:
> > > > Add GPIO controller nodes to the r8a7790 core device tree.
> > > > 
> > > > Signed-off-by: Laurent Pinchart 
> > > > <laurent.pinchart+renesas@ideasonboard.com>
> > > > ---
> > > > 
> > > >  arch/arm/boot/dts/r8a7790.dtsi | 54 +++++++++++++++++++++++++++++++++
> > > >  1 file changed, 54 insertions(+)
> > > 
> > > Also here a couple of things are missing (presumably, for other SoCs you
> > > need the same):
> >
> > Thank you for testing the patch set. I'll integrate the modification in
> > the next version for r8a7778, r8a7779 and r8a7790.
> > 
> > As the gpio-ranges property specifies the number of GPIOs handled by the
> > controller, what's your opinion on dropping the #gpio-lines property from
> > the bindings ?
> 
> Well, gpio-ranges can contain several ranges, so, in a generic case you
> would have to sum them up to get a total count. But if you're ok with that
> or if your platforms only have 1 gpio gange per controller, of course,
> that property seems redundant.

The gpio-rcar driver exposes a single range on all the current platforms. I 
don't really foresee any change there in the future, but I might be 
overlooking something. Magnus, any opinion ?

> OTOH it is already used in r8a7779.dtsi, and thus already belongs to the
> ABI... Not sure whether removing it would be accepted.

It's only used in my DT bindings proposal that haven't been merged yet, so 
that shouldn't be an issue :-)

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2013-05-18  7:03 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  0:18 [PATCH v3 00/20] SH pinctrl DT support Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 01/20] sh-pfc: Add " Laurent Pinchart
2013-05-15 14:03   ` Guennadi Liakhovetski
2013-05-16 11:53     ` Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 02/20] ARM: shmobile: r8a73a4: Add pin control device to device tree Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 03/20] ARM: shmobile: r8a7740: " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 04/20] ARM: shmobile: r8a7778: " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 05/20] ARM: shmobile: r8a7778: Add GPIO controller devices " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 06/20] ARM: shmobile: r8a7779: Add pin control device " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 07/20] ARM: shmobile: r8a7779: Add GPIO controller devices " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 08/20] ARM: shmobile: r8a7790: Add pin control device " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 09/20] ARM: shmobile: r8a7790: Add GPIO controller devices " Laurent Pinchart
2013-05-16  7:57   ` Guennadi Liakhovetski
2013-05-16 10:55     ` Laurent Pinchart
2013-05-17 12:26   ` Guennadi Liakhovetski
2013-05-18  6:44     ` Laurent Pinchart
2013-05-18  6:57       ` Guennadi Liakhovetski
2013-05-18  7:03         ` Laurent Pinchart [this message]
2013-05-18  7:50           ` Guennadi Liakhovetski
2013-05-15  0:18 ` [PATCH v3 10/20] ARM: shmobile: sh7372: Add pin control device " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 11/20] ARM: shmobile: sh73a0: " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 12/20] ARM: shmobile: armadillo-reference: Move pinctrl mappings " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 13/20] ARM: shmobile: armadillo-reference: Add st1232 pin mappings Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 14/20] ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 15/20] ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 16/20] ARM: shmobile: kzm9g-reference: Move pinctrl mappings to " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 17/20] ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 18/20] ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 19/20] ARM: shmobile: marzen-reference: Move pinctrl mappings to " Laurent Pinchart
2013-05-15  0:18 ` [PATCH v3 20/20] ARM: shmobile: marzen-reference: Add LED2-LED4 to the " 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=7692964.4oKpK3W9nB@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.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 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).