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 BCBE9C43334 for ; Sat, 16 Jul 2022 13:27:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 825D38110C; Sat, 16 Jul 2022 15:27:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="nA9Jy2Ad"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="nA9Jy2Ad"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A8F78810E8; Sat, 16 Jul 2022 15:27:01 +0200 (CEST) Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2800081875 for ; Sat, 16 Jul 2022 15:26:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id B465B4E200E; Sat, 16 Jul 2022 13:26:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1657978015; bh=kAKGBJLU9QvcYDQGoBMDQQ8Y5+hPtbjRUj0onpTV8Ns=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=nA9Jy2Ad2RAzAiNnLF0EzagSltph1S6HGooQYQ6h2y0evv1BLznHqBI80heqTJqjx sPoaGqbZptWxYzEA8Vq4GNwB6b/Lfk5Fp2cLeF6xwo+KeikDg07tr5MNvVjTz63ynn b8UyICZRpVAbHRVvoue+Mw0GYl/epwSNUZwrHPrw= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rj_7qmBi0M9j; Sat, 16 Jul 2022 13:26:55 +0000 (UTC) Received: from www.akkea.ca (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 5DAD84E200C; Sat, 16 Jul 2022 13:26:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1657978015; bh=kAKGBJLU9QvcYDQGoBMDQQ8Y5+hPtbjRUj0onpTV8Ns=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=nA9Jy2Ad2RAzAiNnLF0EzagSltph1S6HGooQYQ6h2y0evv1BLznHqBI80heqTJqjx sPoaGqbZptWxYzEA8Vq4GNwB6b/Lfk5Fp2cLeF6xwo+KeikDg07tr5MNvVjTz63ynn b8UyICZRpVAbHRVvoue+Mw0GYl/epwSNUZwrHPrw= MIME-Version: 1.0 Date: Sat, 16 Jul 2022 06:26:55 -0700 From: Angus Ainslie To: U Boot , Michal Simek , marex@denx.de Cc: kernel@puri.sm Subject: Re: DWC3 host support In-Reply-To: References: Message-ID: <645f8351b8cc2e19cfe5d0abff7feb0b@akkea.ca> X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.17 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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.6 at phobos.denx.de X-Virus-Status: Clean On 2022-07-16 06:02, Angus Ainslie wrote: > Hi Michal, > > I recently rebased my librem5 tree onto the latest u-boot-imx branch > and the dwc3 host mode stopped working. > Further debugging indicates that the "U-Boot XHCI Host Controller" is detected but downstream USB 2 hubs and storage devices are not. > I bisected it down to this commit: > > 142d50fbce7c364a74f5e8204dba491b9f066e6c usb: dwc3: Add support for > usb3-phy PHY configuration > > Reverting that commit allows usb host mode to work on the librem5 > again. > > Should this initialization go into an SOC specific glue_configure > function ? > > Is the imx8mq.dtsi missing something that will keep usb host working > with this patch ? > > Does this break usb host on other imx8mq devices ? > > Thanks > Angus