Skip to content
Commit d638a183 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

gpio: sandbox: Track whether a GPIO is driven



Add a new flag to keep track of whether sandbox is driving the pin, or
whether it is expecting an input signal. If it is driving, then the value
of the pin is the value being driven (0 or 1). If not driving, then we
consider the value 0, since we don't currently handle things like pull-ups
yet.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent edab1147
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment