[PATCH] drivers: create a pin control subsystem v8

Linus Walleij linus.ml.walleij at gmail.com
Sat Oct 1 06:39:21 EDT 2011


2011/9/30 Grant Likely <grant.likely at secretlab.ca>:

> I'm not convinced that the sysfs approach is
> actually the right interface here (I'm certainly not a fan of the gpio
> sysfs i/f), and I'd rather not be putting in unneeded stuff until the
> userspace i/f is hammered out.

Actually, thinking about it I cannot see what would be wrong
with /dev/gpio0 & friends in the first place.

Using sysfs as swiss army knife for custom I/O does not
seem like it would be long-term viable so thanks for this
observation, and I think we need /dev/gpio* put on some
mental roadmap somewhere.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list