[PATCH v7 1/3] usb: provide a device tree node to USB devices
sjg at google.com
sjg at google.com
Sat Jun 13 05:11:23 CEST 2020
It is possible to specify a device tree node for an USB device. This is
useful if you have a static USB setup and want to use aliases which
point to these nodes, like on the Raspberry Pi.
The nodes are matched against their hub port number, the compatible
strings are not matched for now.
Signed-off-by: Michael Walle <michael at walle.cc>
Reviewed-by: Marek Vasut <marex at denx.de>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
arch/sandbox/dts/test.dts | 9 ++++++++
drivers/usb/host/usb-uclass.c | 41 ++++++++++++++++++++++++++++++-----
test/dm/usb.c | 22 +++++++++++++++++++
3 files changed, 67 insertions(+), 5 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list