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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arnd,

On Mon, Nov 17, 2014 at 3:34 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> 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@xxxxxxxxx>
>>
>
> 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@xxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux