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 09B77EB64DA for ; Wed, 19 Jul 2023 07:56:24 +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=5bL8VLJUhb4seVZSf3T/U4y3Ie7LgQSc+6ZARO+f2XQ=; b=1kT02iYbAzJQtB +RATfWxeA67AlVONENCmFl9wQBrROHwfcmicWPG/7BfeR5v1DOzW0eJ/y3BqYqh8mycALYWaIrGl/ WBnBdUsIeXHAsa0VsIzEUYADV7RrTLUxLpKRcLZnsaXSTnLVQisfJcQsoxfmxZjjaLDTZHj+1/L1N iKf8c3DOmQnkDkgTWAGrl8oDN1pwBGjevYI9OPX7kG9d2UH7qICy/xww+L3d8KMCUTLZhjLOwIvKU uOdVYIsGm9/SUcKjpd5Axel35Q3dYve4RMDumGteKdptJdfkK6+QBjKd5f+Vp5oGbX49ePrhI7h63 SAZ7hECYNu5Z9G3QaruQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM22c-006A0k-08; Wed, 19 Jul 2023 07:56:10 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM22a-006A0D-0o for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 07:56:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=L4Rr8+epwqNuJFPu2SACGV9w10aPsDPcHxXMePCOL88=; b=Cix/hehG58ai9v7NKz6J4ldJcP e5pTWkdC3gbTrYrzwmAAMzqM+DYgeFjwNZgkO6KliBPXGv6zY4w42TuQfqbW7cJ0v3ECfFxBQh7Nh 65ZNthMqWiZo/swNXNLDLc1iu8m5YdeDl/Zq5WmE8p4HB7ppbVB2HgNu08Ic4lwFs3HAHaua7E3Dx QJJdoH9G2D094pxRM4J8LPnVPb001SMHfn342H5epo615GSuDzSNSmMuK44M7xsbuRBh/UgBBTaqh niU3y2KVnbZxEpbvPbkZpHQLPlNGKpT0KHVL+puvftx8dtDLA9TMlOHvhq7nu2BN1izWn0sclUTtU ZsasOKmw==; Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLjm4-00BW2M-1K for linux-arm-kernel@lists.infradead.org; Tue, 18 Jul 2023 12:25:55 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id E9902FF810; Tue, 18 Jul 2023 12:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1689683108; 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=L4Rr8+epwqNuJFPu2SACGV9w10aPsDPcHxXMePCOL88=; b=lEN3rjIS+6LEnVAAxqiebzncG6Ze0Kr2g3l6Jvjfq8deS4FFsNsnfyUB9N1d2zfvxggwsr DJzn6ShRi56lqKZXlxnD2yDE/3Ag9qAf/N3CTYY425/87kSrRffUWuzSwvAdVqgt5VbK/+ iaMKW3dgvuhbdeInCWoUvjVdEGm9UM3PP572udluQvH+/Etsm2H+bKY9myuCrPcPUQgYVV cG4ykhi8Ht9YxB1tVfyozFiLWQYqLCN1MwHzmu7AVAu0+jWNPSjSLmI6GYQN87ZdPs605b zKQVKnl9TrFY5Rsh0R03yE4b9zCATn6xvtHFqhitsgRdwtWqFUgHE7UjTcUMKA== Date: Tue, 18 Jul 2023 14:25:04 +0200 From: Luca Ceresoli To: Xu Yang Cc: Francesco Dolcini , Jun Li , "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" , "robh+dt@kernel.org" , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" , Krzysztof Kozlowski , Francesco Dolcini Subject: Re: [EXT] Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm Message-ID: <20230718142504.075d0186@booty> In-Reply-To: References: <20230504162312.1506763-1-luca.ceresoli@bootlin.com> <20230505120618.2f4cf22c@booty> <20230508151756.785ec07e@booty> <20230529121825.71e9b6d6@booty> <20230717184537.6d6ed607@booty> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-GND-Sasl: luca.ceresoli@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230718_132552_788109_3340E132 X-CRM114-Status: GOOD ( 26.17 ) 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 Xu, On Tue, 18 Jul 2023 08:31:48 +0000 Xu Yang wrote: > > -----Original Message----- > > > > Ciao Francesco, > > > > On Thu, 6 Jul 2023 12:23:43 +0200 > > Francesco Dolcini wrote: > > > > > Hello Luca, > > > > > > On Tue, May 30, 2023 at 11:22:51AM +0000, Jun Li wrote: > > > > Yes, your understanding is correct, talked with Xu(in CC), he will take this > > > > soon. > > > > > > A series was posted > > > > > > I had no time to try or look at it yet. > > > > Thanks for keeping me up to date on this topic, which is still totally > > relevant to me. > > > > I looked at the series, but it does not seem to be addressing the > > problem with USB host not detecting new devices when VBUS is not > > directly connected, e.g. in the Colibri imx6ull SoM. > > > > Xu, do you confirm the series at the link is _not_ solving the problem > > being discussed here? > > Have you tried this patchset? The upstream driver couldn't get correct > USB role from HW_USBPHY_CTRL register when the ID pin is float. This is > what this patchset is trying to fix. With this patch, condition > "(!vbus_is_on && !mxs_phy_is_otg_host(mxs_phy)" will always be false when > controller acts as host role, then __mxs_phy_disconnect_line(phy, true) > will never be called. So I think it doesn't matter whether VBUS is connected > or not when act as host mode. If you still have issue after apply this patchset, > please let me know. I tested this patchset on top of v6.5-rc2 and I confirm USB detection is still broken on the Colibri iMX6ULL. With or without the patches the behavior is the same: USB devices are detected only during boot, and anything connected after boot are never detected. For the archives, I'm replying also to the patch series. 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