FYI: userspace API for GPIOs has been changed, sysfs is deprecated
Zygmunt Krynicki
zygmunt.krynicki at canonical.com
Thu Mar 24 11:11:46 UTC 2016
Hey
Reading LWN I came across this:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
?id=1a46712aa99594eabe1e9aeedf115dfff0db1dfd
In short:
- there's new userspace API for working with GPIOs
- you can now enumerate them, they are character devices
- there's no way to use them yet but it is coming
- sysfs is deprecated
You may want to keep an eye out for this when working on tests for
GPIOs in various snappy devices. I will definitely take this into
account in snappy itself but it may be a while before that happens.
Best regards
ZK
More information about the Checkbox-devel
mailing list