On Fri, Sep 30, 2011 at 7:07 PM, Grant Likely grant.likely@secretlab.ca wrote:
[Me]
That is not the reason it's there actually, what we have discussed on the mailing list is getting sysfs entries for the same reason gpiolib registers a class: handle pin control from userspace, (...)
Sure, but you don't need the bus yet. It can be added when it is actually needed. 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.
OK I buy that, I will post a v9 without bus...
Thanks! Linus Walleij