Karan Misra
57328c979d
gpio: implement pin caching
...
this allows for the short version of the API to work as expected as
consecutive calls to the same pin would now be internally working on the
pin instance (all the 3 currently supported types). closing a pin busts
the cache
2014-04-06 05:30:54 +05:30
Karan Misra
5b852d9f42
gpio: provide an api to allow performance timing of pulses
...
the us020 driver is the first consumer of this functionality
2014-04-05 04:06:40 +05:30
Kunal Powar
10992981e3
gpio: remove edge file handling from digital pin
...
to be handled in future
2014-04-05 01:30:04 +05:30
Kunal Powar
a6e3902eb0
gpio: fix a bug which prevented digital pins reads from working correctly
...
when reading from the value file, it is important to seek back to the front
so that we get the fresh values from the kernel driver for every new read
2014-04-05 01:28:15 +05:30
Karan Misra
0002d02c28
add documentation
2014-03-23 14:09:31 +05:30
Karan Misra
d64682bf34
gpio: analog pin support for the bbb
2014-03-23 04:59:35 +05:30
Karan Misra
6d3b3ae571
gpio: digital pin is responsible for exporting/unexporting itself
2014-03-22 10:24:29 +05:30
Karan Misra
df15190e33
separate file for digitalPin
2014-03-22 09:08:23 +05:30