From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E3C2C433EF for ; Fri, 20 May 2022 23:05:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7C66183349; Sat, 21 May 2022 01:05:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gateworks-com.20210112.gappssmtp.com header.i=@gateworks-com.20210112.gappssmtp.com header.b="GR9Vbrla"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0167A80FC8; Sat, 21 May 2022 01:05:00 +0200 (CEST) Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D48D783349 for ; Sat, 21 May 2022 01:04:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gateworks.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tharvey@gateworks.com Received: by mail-pj1-x102d.google.com with SMTP id z7-20020a17090abd8700b001df78c7c209so12669154pjr.1 for ; Fri, 20 May 2022 16:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X8sK5990KGlghmb+vWAIDIN9IW9R16DkGZesoRJMOQE=; b=GR9Vbrlaq34GoEla1062a4uHu6Ww1XXseUzFsxgga6ccUGKlqw7evMOU23IZKz2xhs NeSGXIxNuJb8haZqPkI4QH+z4Aejyjhu+aGhm0PMoYjTf1klnsSBQbjVoVCiScgZZ0iK N2gfS6BBCM7sdivnehz9BRGBx3PzcF1Bjh/PaqQJ2p35ZlJn25zpU7s9FMvh2ls4pgX3 aoQlD4c142pzt1vYTGVlsf/zb+jMiyncCNLxJ5Cqjp7Z9sw5Vq8f4AnmanA9PYTH6L1L Ded/hVNIfcU6XUiFWuZSAiPLp/HppgvxmbMpMg/n4tYllbaJhIp2b8ALs5d9HvNrcrt+ 14xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X8sK5990KGlghmb+vWAIDIN9IW9R16DkGZesoRJMOQE=; b=kNmmxdWEbssstA2eCxjuAGiUgNaf+hb28Q07qXW5iEd3oDq8CBSUGtzYRweXVHfyf3 A06rXlEOOCdZoHoVJ5OhahRmn0h4/D70fIL49v7C2UbbRoXcjEihqoGHCze5qphXji9O /lVxpXLFupSXoFWKYGrY3OpRE6IFgPoJBYjlxa8JqoxD1+Az4hNTvUYYZJ6piO4LTFaY X9qwKLKg+3x+FngjhHMPxDitmrMb1PdhPjGJ+PbkdWmlkIlDFETypWe/DD2qMrf+XOmL nGGhuoAKd42qNU7POqHpY7aDY4SfgNaLDBQSGK20T2OhjyyZ/Bt/q4aLsJO+n/CYnVB5 EUFQ== X-Gm-Message-State: AOAM530SwPMVjOTQY/bF5ZEoDVtKenzsU/jTEUDNxyXLdx0whLvt2fBN stSPjYk2jzlm3B0mfGwIZXFQ0ZHEA9hBIPlOczJijw== X-Google-Smtp-Source: ABdhPJzYodMn/ITMEi8cHpeX77Lrtgqb2tnY/ae7IVYpV1jhWpIIjPPFsX4jSYrwRi/dOwqPsVzTI6nCKObbEzWmM4g= X-Received: by 2002:a17:902:f7d4:b0:162:788:dd4c with SMTP id h20-20020a170902f7d400b001620788dd4cmr91384plw.90.1653087890061; Fri, 20 May 2022 16:04:50 -0700 (PDT) MIME-Version: 1.0 References: <60c688c8-e181-9600-de2d-095a8fddf99b@denx.de> In-Reply-To: <60c688c8-e181-9600-de2d-095a8fddf99b@denx.de> From: Tim Harvey Date: Fri, 20 May 2022 16:04:38 -0700 Message-ID: Subject: Re: i.MX8MP usb status To: Marek Vasut Cc: Peng Fan , Fabio Estevam , Stefano Babic , "u-boot@lists.denx.de" , Michal Simek Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On Fri, May 20, 2022 at 2:31 PM Marek Vasut wrote: > > On 5/20/22 20:21, Tim Harvey wrote: > > On Fri, May 20, 2022 at 10:08 AM Tim Harvey wrote: > >> > >> On Wed, May 4, 2022 at 5:53 AM Marek Vasut wrote: > >>> > >>> On 5/4/22 14:26, Peng Fan wrote: > >>>> Hi Marek, > >>> > >>> Hi, > >>> > >>>> Since you did some work on i.MX8MP USB, may I know the status? > >>>> Does host/device mode both supported in upstream? > >>> > >>> I only have HOST option available, so for me this is only HOST. > >>> > >>> I did not test GADGET or OTG . > >>> > >> > >> Marek, > >> > >> Do you still have IMX8MP USB host working on top of v2022.07-rc2, > >> master, or imx-master? It worked for me previously at some point > >> applying your dwc3 glue series [1] from a repo you pointed me to that > >> I can no longer find but now I see an issue where device_probe fails: > >> > >> u-boot=> usb start > >> starting USB... > >> Bus usb@38100000: probe failed, error -61 > >> Bus usb@38200000: probe failed, error -61 > >> No working controllers found > >> > >> The failure is that dwc3_glue_probe fails to find 'usb3-phy' due to > >> that being in the phy-names node of usb@38100000 and not its parent > >> usb@32f10100 > >> > >> Am I missing a patch perhaps to dwc3_glue_probe in dwc3-generic.c? > >> > >> Tim > >> [1] https://patchwork.ozlabs.org/project/uboot/list/?series=293112 > > > > Marek, > > > > I didn't explain that right. The failure is that dwc3_glue_probe gets > > passed usb3_0:usb@32f10100 USB (controller dev) and tries to find > > usb3-phy in the phy-names prop of that dev where-as the phy-name node > > is in the usb_dwc3_0:usb@38100000 phy child of the controller instead > > > > However, I still wonder if I'm missing a patch that deals with this or > > if something just changed between testing your patch series and now. > > There's already fix in u-boot-usb/master , see the topmost patch there. Yep, that was it. Thanks, Tim