Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp30031pxb; Wed, 20 Apr 2022 15:12:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyzmNpaeBMmZGE8BAd2dEt1mGT5NMn9Pz0S27jmAlNrc86U/vQW6nvJp/KtE1Uj46Xrxjc X-Received: by 2002:a17:90b:1808:b0:1d2:77f9:639a with SMTP id lw8-20020a17090b180800b001d277f9639amr6675234pjb.57.1650492739137; Wed, 20 Apr 2022 15:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650492739; cv=none; d=google.com; s=arc-20160816; b=dixJ3rV3ouE4diqb/pE0z+WdEpwG6eg+sFA/i49LNcWYqm5I2W/bHBHXn4qlLGtC/H mQYznkUDqXTw9VeDahKoYhHPfo+tfPoBfveV/WTEvixq0NX4f2SiaXSeUk92AGBl3B6C Eia/mJ8seSzxQKh8DtP8vyAh09p6vIeXS8SdnvKvhZ18/+S2RrIjaDMx0p2biS2MZYBH NLYgK2HsSiLgjXb5r9JfCu8H5XsR+MZINiK4W0Z9abnWtLHxilmUsG6pA1yAKTrBeqKt qWwEsNQc5CVcVROEgdly5b0rYyx1prupRqnbrhPdzc6Fi9Nt9cnVIaLMhGHdLPyJXoMc CfUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VizlI4ZyqyncgNkUEx6ZJyOk1VtCzcealnXFXJFmWrU=; b=seMqAxKGpyXz5ATtI33c57eYlhmmzKTEYCMDmgOn58z3UT55P97L/k9ULvAUAxZyrW gO9j9DAU1zaXGMDrzG9g3jvq/n0BUfoi9EbOE+U5KJZLViBTEer2AWaOKCrAdnwtGshk 1D94iZeFMAxdo0eXyKU0bQUbK1Po5TPkhT3ccyD/DkxTAK2VR/EeEee9cuLGZYscvPCJ B/MQIRLAY1NbO+m171aP0AHIf7eILTt1fKnFxMoM2NobhONN6NCnwWLt+D0LMmKDC0e1 FGF35DWqVo6Uc0wSwNBT2hudPxJ7km9wA1Jif/R8i8usdg+hbcAYISJYJlFhb2mxjYmR 65tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dZWoShiv; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u12-20020a170902b28c00b00158d36a8114si3207005plr.77.2022.04.20.15.12.01; Wed, 20 Apr 2022 15:12:19 -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=@linuxfoundation.org header.s=korg header.b=dZWoShiv; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380305AbiDTPjv (ORCPT + 99 others); Wed, 20 Apr 2022 11:39:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241579AbiDTPjs (ORCPT ); Wed, 20 Apr 2022 11:39:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D487244A2E; Wed, 20 Apr 2022 08:37:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7038761935; Wed, 20 Apr 2022 15:37:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54E28C385A1; Wed, 20 Apr 2022 15:37:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650469020; bh=JwmBf4+7OEAn/XREoeP03puiOCgIPDxxr8CYYqQk6K8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dZWoShivWdHJD6Gn5Dj+zmaHwZwr7inX3+MHcdZwqNo/+UkBxxyUe0qZbpSaz4j39 FSYF33AHIlxdBppUKE0aDjTy2UbcrdSmsNr9ZaEf21Vm4UsVlVbJNUHGwxyyadBJ4I JNrD3s9lgpHEDWkH1XToesxcy7k9ZvgRj0ehb3PM= Date: Wed, 20 Apr 2022 17:36:57 +0200 From: Greg Kroah-Hartman To: Sandeep Maheswaram Cc: Felipe Balbi , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Mathias Nyman , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_kriskura@quicinc.com, quic_vpulyala@quicinc.com Subject: Re: [PATCH v3 1/2] usb: host: xhci-plat: Add device property to set XHCI_SKIP_PHY_INIT quirk Message-ID: References: <1649323888-12420-1-git-send-email-quic_c_sanm@quicinc.com> <1649323888-12420-2-git-send-email-quic_c_sanm@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1649323888-12420-2-git-send-email-quic_c_sanm@quicinc.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Thu, Apr 07, 2022 at 03:01:27PM +0530, Sandeep Maheswaram wrote: > Add device property usb-skip-phy-init to check and set XHCI_SKIP_PHY_INIT > quirk. > Runtime suspend of phy drivers was failing from DWC3 driver as > runtime usage value is 2 because the phy is initialized from > DWC3 core and HCD core. > Some controllers like DWC3 and CDNS3 manage phy in their core drivers. > This property can be set to avoid phy initialization in HCD core. > > Signed-off-by: Sandeep Maheswaram > --- > drivers/usb/host/xhci-plat.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c > index 649ffd8..7624ed9 100644 > --- a/drivers/usb/host/xhci-plat.c > +++ b/drivers/usb/host/xhci-plat.c > @@ -305,6 +305,9 @@ static int xhci_plat_probe(struct platform_device *pdev) > if (device_property_read_bool(tmpdev, "quirk-broken-port-ped")) > xhci->quirks |= XHCI_BROKEN_PORT_PED; > > + if (device_property_read_bool(tmpdev, "usb-skip-phy-init")) > + xhci->quirks |= XHCI_SKIP_PHY_INIT; You forgot to document this new property. Without that, we can not accept this :(