-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB-SD-Mux driver: Add support for USB-SD-Mux FAST
This change adds support for the USB-SD-Mux FAST on the device-level. This introduces the following changes: The `autoselect_driver()`-functions tries to probe the type of USB-SD-Mux used and returns an appropriate driver instance. `UsbSdMux` is now an abstract class. The old driver now resides in `UsbSdMuxLegacy`. The new driver lives in the `UsbSdMuxFast` class. To add the new features to the CLI the `ArgumentParser` has been rewritten to use subparsers instead of a positional argument. This way we can clearly parse the additional arguments needed for the GPIOs. Signed-off-by: Chris Fiege <cfi@pengutronix.de>
- Loading branch information
1 parent
d2db831
commit ab42135
Showing
2 changed files
with
268 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.