Re: [PATCH] usb: dwc3-meson-g12a: skip phy on -ENODATA aswell

2021-05-14 Thread Neil Armstrong
On 05/05/2021 10:41, Neil Armstrong wrote: > If the PHY isn't specified in the DT, -ENODATA means it should be skipped, > handle it like -ENOENT. > > With that, devices without USB3 supported can have USB working (Odroid-HC4). > > Fixes: adb049abf7 ("usb: dwc3: Add Meson G12A USB Glue") > Signed-

Re: [PATCH] usb: dwc3-meson-g12a: skip phy on -ENODATA aswell

2021-05-07 Thread Neil Armstrong
On 05/05/2021 12:06, Marek Vasut wrote: > On 5/5/21 10:41 AM, Neil Armstrong wrote: >> If the PHY isn't specified in the DT, -ENODATA means it should be skipped, >> handle it like -ENOENT. >> >> With that, devices without USB3 supported can have USB working (Odroid-HC4). > > Shouldn't you rather s

Re: [PATCH] usb: dwc3-meson-g12a: skip phy on -ENODATA aswell

2021-05-05 Thread Marek Vasut
On 5/5/21 10:41 AM, Neil Armstrong wrote: If the PHY isn't specified in the DT, -ENODATA means it should be skipped, handle it like -ENOENT. With that, devices without USB3 supported can have USB working (Odroid-HC4). Shouldn't you rather specify NOP PHY in the DT ?

[PATCH] usb: dwc3-meson-g12a: skip phy on -ENODATA aswell

2021-05-05 Thread Neil Armstrong
If the PHY isn't specified in the DT, -ENODATA means it should be skipped, handle it like -ENOENT. With that, devices without USB3 supported can have USB working (Odroid-HC4). Fixes: adb049abf7 ("usb: dwc3: Add Meson G12A USB Glue") Signed-off-by: Neil Armstrong --- drivers/usb/dwc3/dwc3-meson-