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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E23EC77B75 for ; Fri, 5 May 2023 10:07:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fD7IDWgujzumzaw/jNaryna7l8/F+4KqiZ48x3d5LZM=; b=1IW3OtRagxR1DW AxkWdwWRzdo2/SKK1/bHvHn1fb8DSF/qBjEXWzlOzN/iWoIKhqMTygAQLy8O6Prg85TYOqnl7sisR lBDxUzLnSgVAWWP5CQEMuQO0/MzvQj+11BSybg1dJyyO+A4YLHHR6roG7HKpvjp67THwtSz4QjpVm 2iXG9Ss/SdimtaNZpj485YTSsVKUThcj/uhb7fyttCQYn61LmM9/cqxJlmHWiJvF2QZ9LapqMtcHb T8mH2weLDtrBwMR8RypYximIHeXEINkwOUMCBoq/1HzJG54YjTW4Myg4LajnYBp2x38IopWAiNRq6 LaxM27y3JlLcr1bhrzwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pusKf-00AEgG-0f; Fri, 05 May 2023 10:06:33 +0000 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pusKa-00AEfF-33 for linux-arm-kernel@lists.infradead.org; Fri, 05 May 2023 10:06:31 +0000 Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 394D41C000B; Fri, 5 May 2023 10:06:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1683281183; 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=9a6n7DwxZclGXMi3qvsG0oZbkEqa2URoW/Q1gWp3eig=; b=L9RcZyhKswX31T7f9QBhd8sR7VkQlmtGRM7fC4zdmhlkD1h9JjVmqTjwgkaNq+4GnBSNA3 Teb010QpYvH6ycpVHUVSCvYkxaS/fvvjnG0LlMg+32jBeHAXgjaTgUMsGFE0M02b8O2CIi d3ZNYmT+Ywc78TBke0IXkmo/h+bUqxMTi20rDNx4l+IydrD1j3N99gn9UEZNs8mLbalDYu RHp6mgKMQ/f2ltydN5Px5PPnqZfi2FZDKlwFYVR8792QSoYCDLYv8bt9w3HFOd5ah49C8U o0FpU0i80D2J0xYOQ2ADi3Xta6W7Qj1KJgTS2pLYx9FAPISx7tjkzWVldQpHcA== Date: Fri, 5 May 2023 12:06:18 +0200 From: Luca Ceresoli To: Jun Li Cc: Francesco Dolcini , "devicetree@vger.kernel.org" , "festevam@gmail.com" , "gregkh@linuxfoundation.org" , "kernel@pengutronix.de" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx , "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 Subject: Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm Message-ID: <20230505120618.2f4cf22c@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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230505_030629_405811_5984AF01 X-CRM114-Status: GOOD ( 26.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Jun, On Fri, 5 May 2023 09:49:16 +0000 Jun Li wrote: > > -----Original Message----- > > From: Francesco Dolcini > > Sent: Friday, May 5, 2023 12:50 AM > > To: Luca Ceresoli > > Cc: devicetree@vger.kernel.org; festevam@gmail.com; > > gregkh@linuxfoundation.org; Jun Li ; > > kernel@pengutronix.de; linux-arm-kernel@lists.infradead.org; > > dl-linux-imx ; 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 > > > > Subject: Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm > > > > 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.t/ > > oradex.com%2Fcgit%2Fmeta-toradex-bsp-common.git%2Ftree%2Frecipes-kernel > > %2Flinux%2Flinux-toradex-mainline-git%2F0002-drivers-chipidea-disable-r > > untime-pm-for-imx6ul.patch&data=05%7C01%7Cjun.li%40nxp.com%7C776dc1e71a > > 554ee20ed908db4cbfa5aa%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638 > > 188158228795706%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l > > uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3cFsUurgKBfic > > LNfRxMOErukGiMczhJREFGvaFYTH34%3D&reserved=0 > > > > > 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%2Fall%2FY1vLpaxpc5WBCuGD%40francesco-nb.int.toradex.com%2F&d > > ata=05%7C01%7Cjun.li%40nxp.com%7C776dc1e71a554ee20ed908db4cbfa5aa%7C686 > > ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638188158228795706%7CUnknown%7C > > TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI > > 6Mn0%3D%7C3000%7C%7C%7C&sdata=xgIAlY5Az9zQgOBaUTHeGJDXNIyNRmEBlcR49JOVB > > sI%3D&reserved=0 > > > > > As I see it, a quirk in the driver would make sense. > > I am not sure. > > > > The reason this is not working is that the VBUS is not directly > > connected to the SOC and the USB IP is powered in a different way (all > > of that was reviewed/acked by NXP when the board was designed). > > Hi Luca, > > Is your board design similar like Francesco's as below? Possibly, but I'm afraid I can't say: I am using the Toradex Colibri i.MX6ULL SoM, whose schematics are not public. Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel