Export dut_flaga/b GPIO devices on different platforms.
New udev rules for (a) assigning the dut_flaga/b identifiers
corresponding to different platforms as properties of the GPIO chip
device; and (b) exporting the dut_flaga/b GPIOs.
Note 1: we currently do not export the GPIOs for Stumpy, since it's
board implementation did not include pull-up wiring and therefore
dut_flaga/b readings may return arbitrary values when the debug header
is not connected to Servo. This should be resolved and/or worked around
on both client/server end before we can support Stumpy.
Note 2: in the future, we will migrate all GPIO functionality outside of
update engine, into its own dedicated package.
BUG=chromium-os:25397
TEST=GPIOs were properly exported on x86-alex
Change-Id: I11e73625c29329311416a88584e4c58291c450de
Reviewed-on: https://gerrit.chromium.org/gerrit/16745
Commit-Ready: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
1 file changed