diff options
author | Patrice Chotard | 2021-09-10 16:16:24 +0200 |
---|---|---|
committer | Patrice Chotard | 2021-10-12 14:20:04 +0200 |
commit | 39bd2c8e1aa9143c22f1fd20d054fc895a0880d2 (patch) | |
tree | be0a882a3a811638ce1d26bad34302b692369b0c /drivers/mtd | |
parent | 299f12508b16c5751a173bf0f32154aeb7b71cce (diff) |
test/py: Add usb gadget binding test
Add a specific usb gadget binding test which check that
binding a driver without compatible string is working as expected.
the command "bind /usb@1 usb_ether" should give the following "dm tree"
command output:
[...]
usb 0 [ ] usb_sandbox |-- usb@1
usb_hub 0 [ ] usb_hub | |-- hub
usb_emul 0 [ ] usb_sandbox_hub | | `-- hub-emul
usb_emul 1 [ ] usb_sandbox_flash | | |-- flash-stick@0
usb_emul 2 [ ] usb_sandbox_flash | | |-- flash-stick@1
usb_emul 3 [ ] usb_sandbox_flash | | |-- flash-stick@2
usb_emul 4 [ ] usb_sandbox_keyb | | `-- keyb@3
eth 4 [ ] usb_ether | `-- usb@1
[...]
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions