Trung Tran
4e9b707a66
mpm: sysfsgpio: Allow to filter by parent device
...
There are cases where we need to specify a parent device in order to
disambiguate GPIO devices with the same label. This lets you passing in
a parent udev device to clarify.
2017-12-22 15:04:02 -08:00
Trung N Tran
2472134af0
mpm: minor change trace log of sysfs_gpio
2017-12-22 15:04:01 -08:00
Trung N Tran
e68cda3b75
n310: add init value for sysfs_gpio
2017-12-22 15:04:00 -08:00
Martin Braun
3c50e39d64
mpm: Removed gratuitous encode(), safer udev lookups
...
- Udev lookups now just return empty lists when they can't find anything
- Made SPI dev interface factory Py2/3 safe
2017-12-22 15:03:58 -08:00
Martin Braun
6183d9eeaa
mpm: Made code Python3-compatible
2017-12-22 15:03:58 -08:00
Martin Braun
2bd564ca22
mpm: Replaced xrange with range for better Python future-proofing
2017-12-22 15:03:58 -08:00
Martin Braun
9e57a7a71a
mpm: Added driver for sysfs-based gpios
2017-12-22 15:03:52 -08:00