Thread (6 messages) 6 messages, 5 authors, 2014-11-27

Re: [PATCH/RFC] gpio: em: Use dynamic allocation of GPIOs

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2014-11-17 14:42:02
Also in: linux-gpio, linux-sh

Hi Arnd,

On Mon, Nov 17, 2014 at 3:34 PM, Arnd Bergmann [off-list ref] wrote:
On Monday 17 November 2014 15:30:32 Geert Uytterhoeven wrote:
quoted
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.
Emev2/kzm9d was the first DT-only shmobile SoC/board, so the kernel
part should be OK.

No idea about userspace.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help