check_ethernet: add toggle_usb_interface() method

Add "toggle USB interface" method which uses "authorized" field which
controls if a USB port can have a driver bind to it. On a few platforms,
this also results in the port dropping power while "0".

BUG=chromium:677572
TEST=TBD

Change-Id: I7a27199539a7f6c94dfbc4f6af821ed76ba4d614
Reviewed-on: https://chromium-review.googlesource.com/608612
Commit-Ready: Grant Grundler <grundler@chromium.org>
Tested-by: Grant Grundler <grundler@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@google.com>
Reviewed-by: Grant Grundler <grundler@chromium.org>
1 file changed