Message ID | 20191108144716.23829-1-patrick.delaunay@st.com |
---|---|
Headers | show |
Series | usb: host: dwc2: use driver model for PHY and CLOCK | expand |
On 11/8/19 3:47 PM, Patrick Delaunay wrote: > > In this serie I update the DWC2 host driver to use the device tree > information and the associated PHY and CLOCK drivers when they are > available. I'm kinda on the fence whether to add it into current release or not. The patches look generally OK to me. Ley, Simon, can you check this on SoCFPGA ? Bin, can you give it a once-over ? If this looks OK to you, I will add it. [...]
Marek Vasut <marex@denx.de> schrieb am Fr., 8. Nov. 2019, 16:46: > On 11/8/19 3:47 PM, Patrick Delaunay wrote: > > > > In this serie I update the DWC2 host driver to use the device tree > > information and the associated PHY and CLOCK drivers when they are > > available. > > I'm kinda on the fence whether to add it into current release or not. > The patches look generally OK to me. > > Ley, Simon, can you check this on SoCFPGA ? > Gmm, so can try, but I don't have a working setup with USB peripherals attached... I do have USB on the socrates, but currently no cable to connect anything... I could test it to see if I can get the same result saying no attached devices are found, that would mean probing still works correctly... Regards, Simon Bin, can you give it a once-over ? > > If this looks OK to you, I will add it. > > [...] >
Hi Marek, My ci travis build is failing after the last updates (raspberry pi). I am testing a update with sub for clk disable bulk function: https://github.com/patrickdelaunay/u-boot/commit/1d053dd96e6623d02b84654398655a5563ccfdcb Now buikd is ok: https://travis-ci.org/patrickdelaunay/u-boot/builds/609496187 I will push it after the Week end (tuesday). Sorry. Patrick. Le ven. 8 nov. 2019 à 16:55, Simon Goldschmidt < simon.k.r.goldschmidt@gmail.com> a écrit : > Marek Vasut <marex@denx.de> schrieb am Fr., 8. Nov. 2019, 16:46: > > > On 11/8/19 3:47 PM, Patrick Delaunay wrote: > > > > > > In this serie I update the DWC2 host driver to use the device tree > > > information and the associated PHY and CLOCK drivers when they are > > > available. > > > > I'm kinda on the fence whether to add it into current release or not. > > The patches look generally OK to me. > > > > Ley, Simon, can you check this on SoCFPGA ? > > > > Gmm, so can try, but I don't have a working setup with USB peripherals > attached... I do have USB on the socrates, but currently no cable to > connect anything... > > I could test it to see if I can get the same result saying no attached > devices are found, that would mean probing still works correctly... > > Regards, > Simon > > Bin, can you give it a once-over ? > > > > If this looks OK to you, I will add it. > > > > [...] > > > _______________________________________________ > U-Boot mailing list > U-Boot@lists.denx.de > https://lists.denx.de/listinfo/u-boot >
On Sat, Nov 9, 2019 at 4:46 PM Patrick Delaunay <patrick.delaunay73@gmail.com> wrote: > > Hi Marek, > > My ci travis build is failing after the last updates (raspberry pi). I am testing a update with sub for clk disable bulk function: > > https://github.com/patrickdelaunay/u-boot/commit/1d053dd96e6623d02b84654398655a5563ccfdcb > > Now buikd is ok: > https://travis-ci.org/patrickdelaunay/u-boot/builds/609496187 > > I will push it after the Week end (tuesday). With that additional change, it seems to build and work for me (same error message saying USB "Port not available" than without this patch). Regards, Simon > > Sorry. > > Patrick. > > > > Le ven. 8 nov. 2019 à 16:55, Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> a écrit : >> >> Marek Vasut <marex@denx.de> schrieb am Fr., 8. Nov. 2019, 16:46: >> >> > On 11/8/19 3:47 PM, Patrick Delaunay wrote: >> > > >> > > In this serie I update the DWC2 host driver to use the device tree >> > > information and the associated PHY and CLOCK drivers when they are >> > > available. >> > >> > I'm kinda on the fence whether to add it into current release or not. >> > The patches look generally OK to me. >> > >> > Ley, Simon, can you check this on SoCFPGA ? >> > >> >> Gmm, so can try, but I don't have a working setup with USB peripherals >> attached... I do have USB on the socrates, but currently no cable to >> connect anything... >> >> I could test it to see if I can get the same result saying no attached >> devices are found, that would mean probing still works correctly... >> >> Regards, >> Simon >> >> Bin, can you give it a once-over ? >> > >> > If this looks OK to you, I will add it. >> > >> > [...] >> > >> _______________________________________________ >> U-Boot mailing list >> U-Boot@lists.denx.de >> https://lists.denx.de/listinfo/u-boot
> -----Original Message----- > From: Marek Vasut <marex@denx.de> > Sent: Friday, November 8, 2019 11:43 PM > To: Patrick Delaunay <patrick.delaunay@st.com>; u-boot@lists.denx.de > Cc: simon.k.r.goldschmidt@gmail.com; b.galvani@gmail.com; Michal > Suchanek <msuchanek@suse.de>; Sven Schwermer > <sven@svenschwermer.de>; U-Boot STM32 <uboot-stm32@st-md- > mailman.stormreply.com>; Bin Meng <bmeng.cn@gmail.com>; Tan, Ley > Foon <ley.foon.tan@intel.com> > Subject: Re: [PATCH v2 0/4] usb: host: dwc2: use driver model for PHY and > CLOCK > > On 11/8/19 3:47 PM, Patrick Delaunay wrote: > > > > In this serie I update the DWC2 host driver to use the device tree > > information and the associated PHY and CLOCK drivers when they are > > available. > > I'm kinda on the fence whether to add it into current release or not. > The patches look generally OK to me. > > Ley, Simon, can you check this on SoCFPGA ? There is compilation error for Stratix10. Stratix10 doesn't support clock DM framework yet. So, this patch needs check for CONFIG_CLK when call to all clock DM functions. drivers/usb/host/built-in.o: In function `dwc2_usb_remove': drivers/usb/host/dwc2.c:1441: undefined reference to `clk_disable_bulk' Tested on Agilex, USB is working fine with this patch. Regards Ley Foon > Bin, can you give it a once-over ? > > If this looks OK to you, I will add it. > > [...]