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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5128C77B7F for ; Mon, 8 May 2023 13:18:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234141AbjEHNSm (ORCPT ); Mon, 8 May 2023 09:18:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232166AbjEHNS1 (ORCPT ); Mon, 8 May 2023 09:18:27 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2E9239BB1; Mon, 8 May 2023 06:18:01 -0700 (PDT) Received: from booty (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id EB4B1E0002; Mon, 8 May 2023 13:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1683551879; 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=enm7EUfHqK7UBTbWSYhTmWN9a9/L22u9i8BI5feMG94=; b=Of7X0Z3DotjRgU4wcDZNoyGeTSdaFfmz+q/cvFxbAAXxtf6DzzzAOmH0SFmG8LHGNjMaIl upaEzzwS6gVAklDTj1GYc4RJiz0U3F4hY97GITjAN/q53Q2lSyHvKaa1ofI/YFlgYBhQUX i+mkNoPIpqnc0SICMCAMvpUAoaGv0j16qAEVDcpZM8qVIfv71xDUJUcywS4jD9matvduva d3M95MQ5DIggZAl85FcI+TZyJ4VzAu6ZG096iZpRbIiq+7Ns3DlfNckwocWVca3VOUk9h7 5KfOHrT4vhdkxfxV288snNHVv6pRSgAqgXjXMQ0r51GcEE/mG10QRMT/1KX7vQ== Date: Mon, 8 May 2023 15:17:56 +0200 From: Luca Ceresoli To: Francesco Dolcini Cc: 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 , Xu Yang Subject: Re: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm Message-ID: <20230508151756.785ec07e@booty> In-Reply-To: References: <23672d66d229d3be4cc854ddf1462c3507f1c2fc.camel@toradex.com> <20230504162312.1506763-1-luca.ceresoli@bootlin.com> <20230505120618.2f4cf22c@booty> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Jun, Francesco, On Mon, 8 May 2023 13:17:11 +0200 Francesco Dolcini wrote: > On Sat, May 06, 2023 at 09:02:39AM +0000, Jun Li wrote: > > > -----Original Message----- > > > From: Francesco Dolcini > > > Sent: Friday, May 5, 2023 7:00 PM > > > To: Luca Ceresoli ; 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 > > > > > > On Fri, May 05, 2023 at 12:06:18PM +0200, Luca Ceresoli wrote: > > > > On Fri, 5 May 2023 09:49:16 +0000 > > > > Jun Li wrote: > > > > > 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. > > > > > > I can confirm that it's the same. > > > > Thanks Francesco for the confirmation, had a check with design team, > > there is no status bit which can be used to judge the VDD_USB_CAP is > > powered or not, so we have to add a board level dts property to tell > > this usb phy driver to bypass MXS_PHY_DISCONNECT_LINE_WITHOUT_VBUS. > > > > Before send a formal patch, I want to confirm this should work for your > > HW design, like below simple hack: > > Thanks Li Jun, I tested it with v6.3.1 kernel and it's all good. > I would be happy to test the patch as soon as you send it. Thanks Jun, it works here as well, on 6.1.27! Best regards, Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com