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 878F1C433EF for ; Sat, 16 Jul 2022 13:02:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D2BA780FA1; Sat, 16 Jul 2022 15:02:19 +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="rlG3THW/"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="rlG3THW/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CAC3A80C75; Sat, 16 Jul 2022 15:02:17 +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 A440580FA1 for ; Sat, 16 Jul 2022 15:02:14 +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 8418D4E200E; Sat, 16 Jul 2022 13:02:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1657976532; bh=nXidlvkjtUfuqMHlyI9LLPQTLEBx5u4DyZPMSKlwazg=; h=Date:From:To:Cc:Subject; b=rlG3THW/8UwEMSOQ8Nb5Hht7Zu+Vt7IuKfM1jgiLPyC74frIkZ9/oy4AMbOfz95TX Ps0H2m2/21W+N7TqMRNjJpTRl1zLQ5w79iQGmMg+uRBz6f5A6hfU9qBkY5D3gJdeVp 46dlrbP0RGhylxDLOGx7LkfvIHnKWPkpczxAP/0c= 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 yifSvCjTCHCC; Sat, 16 Jul 2022 13:02:12 +0000 (UTC) Received: from www.akkea.ca (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 5089C4E200C; Sat, 16 Jul 2022 13:02:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1657976532; bh=nXidlvkjtUfuqMHlyI9LLPQTLEBx5u4DyZPMSKlwazg=; h=Date:From:To:Cc:Subject; b=rlG3THW/8UwEMSOQ8Nb5Hht7Zu+Vt7IuKfM1jgiLPyC74frIkZ9/oy4AMbOfz95TX Ps0H2m2/21W+N7TqMRNjJpTRl1zLQ5w79iQGmMg+uRBz6f5A6hfU9qBkY5D3gJdeVp 46dlrbP0RGhylxDLOGx7LkfvIHnKWPkpczxAP/0c= MIME-Version: 1.0 Date: Sat, 16 Jul 2022 06:02:12 -0700 From: Angus Ainslie To: U Boot , Michal Simek , marex@denx.de Cc: kernel@puri.sm Subject: DWC3 host support Message-ID: 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 Hi Michal, I recently rebased my librem5 tree onto the latest u-boot-imx branch and the dwc3 host mode stopped working. 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