SUPERH platform development
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Alexandre Courbot <gnurou@gmail.com>,
	linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-sh@vger.kernel.org
Subject: Re: [PATCH/RFC] gpio: em: Use dynamic allocation of GPIOs
Date: Mon, 17 Nov 2014 14:34:26 +0000	[thread overview]
Message-ID: <3857937.SYWZS9fGq6@wuerfel> (raw)
In-Reply-To: <1416234632-16166-1-git-send-email-geert+renesas@glider.be>

On Monday 17 November 2014 15:30:32 Geert Uytterhoeven wrote:
> Use dynamic allocation of GPIOs instead of looking at the gpio%u alias
> in DT.
> ---
>   - Is this correct? Not having to care about the alias would simplify the
>     to-be-written DT binding documentation.
>   - Completely untested.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 

This will obviously break any user that expects a particular gpio
number, in particular board files, but I guess also user space
that tries to access the gpios through sysfs.

If you don't have any of those, I guess it's correct.

	Arnd

  reply	other threads:[~2014-11-17 14:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 14:30 [PATCH/RFC] gpio: em: Use dynamic allocation of GPIOs Geert Uytterhoeven
2014-11-17 14:34 ` Arnd Bergmann [this message]
2014-11-17 14:42   ` Geert Uytterhoeven
2014-11-18  3:11 ` Alexandre Courbot
2014-11-27 14:17   ` Linus Walleij
2014-11-27 14:13 ` Linus Walleij

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=3857937.SYWZS9fGq6@wuerfel \
    --to=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=gnurou@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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