Re: [OpenWrt-Devel] [PATCH] ramips: kernel: fix awake-rt305x-dwc2 patch

2020-05-22 Thread Olli Asikainen
Tested-by: Olli Asikainen [WS-WR512N1] On Fri, May 22, 2020 at 9:19 PM wrote: > > Sure. I am a bit new to this, is there something I need to do? > > Just answer to this mail with "Tested-by: Full Name [your > device]" in a separate line, and it will be added to the patch > automatically if som

Re: [OpenWrt-Devel] [PATCH] ramips: kernel: fix awake-rt305x-dwc2 patch

2020-05-22 Thread mail
> Sure. I am a bit new to this, is there something I need to do? Just answer to this mail with "Tested-by: Full Name [your device]" in a separate line, and it will be added to the patch automatically if somebody pulls it from patchwork. Best Adrian openpgp-digital-signature.asc Description:

Re: [OpenWrt-Devel] [PATCH] ramips: kernel: fix awake-rt305x-dwc2 patch

2020-05-22 Thread Olli Asikainen
Sure. I am a bit new to this, is there something I need to do? On Fri, May 22, 2020 at 8:59 PM wrote: > > I can confirm that this change to awake-rt305x-dwc2-controller.patch > fixes the USB hub initialization on WS-WR512N1. USB enumeration works > properly after removing 0032-USB-dwc2-add-dev

Re: [OpenWrt-Devel] [PATCH] ramips: kernel: fix awake-rt305x-dwc2 patch

2020-05-22 Thread mail
> I can confirm that this change to awake-rt305x-dwc2-controller.patch fixes > the USB hub initialization on WS-WR512N1. USB enumeration works properly > after removing 0032-USB-dwc2-add-device_reset.patch, too. So, can you provide a Tested-by? openpgp-digital-signature.asc Description: PGP s

Re: [OpenWrt-Devel] [PATCH] ramips: kernel: fix awake-rt305x-dwc2 patch

2020-05-22 Thread Olli Asikainen
I can confirm that this change to awake-rt305x-dwc2-controller.patch fixes the USB hub initialization on WS-WR512N1. USB enumeration works properly after removing 0032-USB-dwc2-add-device_reset.patch, too. ___ openwrt-devel mailing list openwrt-devel@list

[OpenWrt-Devel] [PATCH] ramips: kernel: fix awake-rt305x-dwc2 patch

2020-05-06 Thread Alexey Dobrovolsky
At this point in v5.4 kernel we cannot use dwc2_readl() and dwc2_writel() since they rely on the value hsotg->needs_byte_swap which cannot be obtained before the controller wakes up. We should use readl() and writel() to wake up the controller before calling dwc2_check_core_endianness(). Fixes: -