Skip to content
Commit 2a9e2740 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpio: mockup: rework debugfs interface



Modify the way the debugfs interface works in gpio-mockup. Introduce
the concept of dummy pull config which will keep the mockup lines in
known state. The pull values can be modified by writing to the debugfs
files corresponding to lines. Lines in input mode always report the
current pull value, lines in output mode change the line value but
it will revert back to the one specified by current pull when released.

Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent e09313ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment