Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp635592rwr; Fri, 5 May 2023 02:41:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ77gLOO4xCzpuXoL+32TsOh1oJj/1sLyvR4TCvyoTdmOtY/6XaMTZ/yWUIsb18BOKqkNogZ X-Received: by 2002:a05:6a21:6d91:b0:f0:e3ed:469a with SMTP id wl17-20020a056a216d9100b000f0e3ed469amr957178pzb.55.1683279669284; Fri, 05 May 2023 02:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683279669; cv=none; d=google.com; s=arc-20160816; b=AwVQ9OUYyjxgjnaZTxNmJmHdKI7XNzxXq5TdNIZOlaYJrnd7iLsdpI7fx0En9cYMfI rZD+IdzEE5cuSpx0h1StUWG2UArLPsgPGzIZ50eX254qU1ow702SYRMNgwFoY4Z6+DGI LqwGM1RlKbHaPAqp1SZAUB0prbyTbdi5GIP8V+tgjg+Sh+7R+gn2rDOsRIYQOgZ2eth0 bjIPPifjUWZw66bUoyBmqAze4fe7sSO4jYNaoAXHnPP7CFJSp/bQ7kb4f7yVmvrbxRko oxk4GjOtxzhw/u4dW6S4F/5giuGiSVRZCSaBSCotj/bPL4oYiZfl+ahIP2tWh3/BAgwt 3OhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=mWElEqoC0tf6AE16wm3wb4hzf8ICo35KcifM6UnLMzo=; b=clDJvJ6hRM9BKGtWV+GvLfGiKwfziu5bALi5CXypiUn+l9NzM/h7SKqpUZeJy7mrkL 6wkleeuvzuOnykbxu7Dkq34Rv2f56XHzlz5oXmnmjj1+5bgQVJoEieM11FklxmOU9kcZ mDZesg9BSImEmNZnHflW1wufKb7BTws8CgAeJUvzx0jG+ftVOZQQk6bLbUzwIPfjM6B+ tr/8leXcRKlh0h3V8S+XKY6+3pbN6nq2P87yHY6U8AAv/iywchg73ONyZxKc3N3WQ8UO JIt5s7p9/pFFlJ7tbfSv3uEwrLhrf0nph7MouAcHi9AnfH5Hh5b4zzPAhMgPG6TNCw1T 9gSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gAdUn58z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a6540cb000000b00528d90d40e2si1520109pgp.891.2023.05.05.02.40.54; Fri, 05 May 2023 02:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=gAdUn58z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231661AbjEEJYD (ORCPT + 99 others); Fri, 5 May 2023 05:24:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230398AbjEEJYA (ORCPT ); Fri, 5 May 2023 05:24:00 -0400 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [IPv6:2001:4b98:dc4:8::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72D047EF3; Fri, 5 May 2023 02:23:57 -0700 (PDT) Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 05C59240006; Fri, 5 May 2023 09:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1683278636; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mWElEqoC0tf6AE16wm3wb4hzf8ICo35KcifM6UnLMzo=; b=gAdUn58zRii8F5j9HadQN4CxZRzA5r+uSeedshZX4vU10xEvC3twC47IIhZGAeHGmyI9pF cKE/T0V/qJJFYy8MK1yIAFz6k8g1tDAP6ONhv3ehCthYYReSR0N6YS9KaU8j4EjJecS2VG Yl9C7rgu1/FzdL578HPrX8NMotO8E+BoGVP6k2dJN4cDbbSu6FhIHLmztuFORS3T1iCVee uZACtTPtRvIihqG3JL4yzO4LzF1xnAXMguHdK+pu2nMlNQe7GOBZngFbBgKTnBSzCBVSSm OWG/K8tre5GbMqejMgI4zh4rFKT9eng7izNuNpDzg1sNh4PT28JQtLPOwbhP6g== Date: Fri, 5 May 2023 11:23:51 +0200 From: Luca Ceresoli To: Francesco Dolcini Cc: devicetree@vger.kernel.org, festevam@gmail.com, gregkh@linuxfoundation.org, jun.li@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, peter.chen@nxp.com, robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, Krzysztof Kozlowski , francesco.dolcini@toradex.com Subject: Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm Message-ID: <20230505112351.1c79f6b2@booty> In-Reply-To: References: <23672d66d229d3be4cc854ddf1462c3507f1c2fc.camel@toradex.com> <20230504162312.1506763-1-luca.ceresoli@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Francesco, On Thu, 4 May 2023 18:50:14 +0200 Francesco Dolcini wrote: > Hello Luca, > I guess your mail to Philippe bounced, let me try to answer since I am aware > of the issue here. > > On Thu, May 04, 2023 at 06:23:12PM +0200, Luca Ceresoli wrote: > > I found this thread after several hours spent in debugging why USB host is > > not detecting new devices on a custom board using the iMX6ULL Colibri > > SoM. > > > > My best workaround at the moment is: > We have the same workaround in our BSP since quite some time, see > https://git.toradex.com/cgit/meta-toradex-bsp-common.git/tree/recipes-kernel/linux/linux-toradex-mainline-git/0002-drivers-chipidea-disable-runtime-pm-for-imx6ul.patch > > > I haven't found any follow-up patches from you, so I'm wondering whether > > you have made any progress on this issue. > You can find the latest discussion on that regard here > https://lore.kernel.org/all/Y1vLpaxpc5WBCuGD@francesco-nb.int.toradex.com/ Thanks for this pointer! I have read the discussion and it was a bit confusing, especially about whether the hardware can work at all. Are you planning to continue on that work? I would be very glad to test on product based on the i.MX6ULL Colibri module I am currently working on. Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com