Patrice Chotard
39bd2c8e1a
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>
2021-10-12 14:20:04 +02:00
..
2021-10-12 14:20:04 +02:00
2021-05-24 14:21:30 -04:00
2018-05-07 09:34:12 -04:00
2019-10-30 17:48:47 -04:00
2019-10-30 17:48:47 -04:00
2021-04-29 03:23:39 -07:00
2021-01-29 10:36:49 -05:00
2020-08-04 23:30:02 -04:00
2018-05-07 09:34:12 -04:00
2018-11-26 08:25:35 -05:00
2019-10-30 17:48:47 -04:00
2021-07-05 15:28:32 -04:00