Re: [PATCH RFC 1/2] gpio: Add a block GPIO API to gpiolib
From: Roland Stigge
Date: Fri Sep 28 2012 - 08:35:00 EST
Hi,
On 09/28/2012 01:34 PM, Linus Walleij wrote:
>> Or some kind of new character device node?
>
> Yes, I don't know if we should create /dev/gpioN or /dev/pinctrlN for
> this, and add GPIO functions to pinctrl (while wrapping it in the
> gpiolib to aid migration) the latter would encourage users of the
> new ABI to switch to writing pinctrl drivers.
Will have a look at this.
>> Otherwise, I need to think about leaving out the sysfs for this purpose.
>
> Do you really need it?
In more that half of the cases, I needed userspace access. So I'm quite
interested in it.
Thanks for your notes.
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/