Re: [PATCH v5 1/2] usb: provide a device tree node to USB devices

2020-05-22 Thread Simon Glass
Hi Michael, On Fri, 22 May 2020 at 01:32, Michael Walle wrote: > > Hi Simon, > > Am 2020-05-22 04:34, schrieb Simon Glass: > > Hi Michael, > > > > On Thu, 21 May 2020 at 17:28, Michael Walle wrote: > >> > >> Am 2020-05-21 16:13, schrieb Bin Meng: > >> > On Thu, May 21, 2020 at 12:40 AM Michael W

Re: [PATCH v5 1/2] usb: provide a device tree node to USB devices

2020-05-22 Thread Michael Walle
Hi Simon, Am 2020-05-22 04:34, schrieb Simon Glass: Hi Michael, On Thu, 21 May 2020 at 17:28, Michael Walle wrote: Am 2020-05-21 16:13, schrieb Bin Meng: > On Thu, May 21, 2020 at 12:40 AM Michael Walle > wrote: >> >> It is possible to specify a device tree node for an USB device. This >> i

Re: [PATCH v5 1/2] usb: provide a device tree node to USB devices

2020-05-21 Thread Simon Glass
Hi Michael, On Thu, 21 May 2020 at 17:28, Michael Walle wrote: > > Am 2020-05-21 16:13, schrieb Bin Meng: > > On Thu, May 21, 2020 at 12:40 AM Michael Walle > > wrote: > >> > >> It is possible to specify a device tree node for an USB device. This > >> is > >> useful if you have a static USB setu

Re: [PATCH v5 1/2] usb: provide a device tree node to USB devices

2020-05-21 Thread Michael Walle
Am 2020-05-21 16:13, schrieb Bin Meng: On Thu, May 21, 2020 at 12:40 AM Michael Walle wrote: 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 a

Re: [PATCH v5 1/2] usb: provide a device tree node to USB devices

2020-05-21 Thread Bin Meng
On Thu, May 21, 2020 at 12:40 AM Michael Walle wrote: > > 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 n

Re: [PATCH v5 1/2] usb: provide a device tree node to USB devices

2020-05-21 Thread Marek Vasut
On 5/20/20 6:40 PM, Michael Walle wrote: [...] > /** > * usb_find_and_bind_driver() - Find and bind the right USB driver > * > @@ -502,13 +531,14 @@ static int usb_match_one_id(struct > usb_device_descriptor *desc, > static int usb_find_and_bind_driver(struct udevice *parent, >

[PATCH v5 1/2] usb: provide a device tree node to USB devices

2020-05-20 Thread Michael Walle
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-of