Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1733718rdb; Thu, 7 Dec 2023 07:28:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSVhYYSbjZiYdh9zCAdl7DasMzBWX4E/D53iPr4c5jy7DCY5YCftlsVVJuODGGQfX94NWZ X-Received: by 2002:a05:6a20:160a:b0:190:14d9:4797 with SMTP id l10-20020a056a20160a00b0019014d94797mr532525pzj.4.1701962880145; Thu, 07 Dec 2023 07:28:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701962880; cv=none; d=google.com; s=arc-20160816; b=JKvr7V1AO5pI9Ja+xKYxIcYalef9A1xSKfrRz96pbZ4NKTOI4960JJj6ti4TXm9C28 dn3eVijsWlh1eUPpgvxPuz+vqoe4ClMq0sjVRbct+1rpEu04pj42HRXJphRroV/VEWD/ cW32RlMwYqzGn/iophQvIRczh287j+lNDtRamBz9ftXNp0Rp+nisz+NaT7utXQjg36rl 04WZWlDAm7VX5ZngiH2zD9vVhfVq2DJGLOBhX023m98tp/Wf7I1FPQUXeFWItxplk0tM HbOeOAP2NB6c4394GAC0BTCarqeG5C0QTR4qP+6h76dDpTH5d5lJIjRFQuYbdgAtJ5VW YJuw== 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=ossdXk2TaD1DyxArQHqjOuZU3UlQFZ8YPHhl98Q2TqQ=; fh=f8OJwSeWfQUEDOcrab6P5NqH716ZX/y7AZsEp4cVtqs=; b=Gn7NPJSruPaNG21/SdZO0aWg3yChXaHdxEoP1EGyEqQR1HC4q/svRCkDVc2ospoDDV QNdzjvDY/jWv/1mpP6wVyJI+uNiZN9B1xP24WwdjElXh1rBbkGT7dcbLwWqTFrAFzP0l Tu70+JFyLuwgvL51kjKhVO4vxluhAh4h0j9X2nQCqoW1kOgyoGWG6lNoWK1XHpIb4eK+ 6AdeBuKi1/BB0WCCTIgBlb8eeRvglM5I39LOdvbImdTf/A6/LkZWtyWkTmh41liHncqL iyQDWQtgq/z5FFUUVLJ31OAE4C2qOnhIKbcOXAC32I92zT61w5/dEUZUqdcD9dsjY63M Nwow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TgL9KtdY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id g7-20020a056a00078700b006ce93ff8cd0si1351837pfu.86.2023.12.07.07.27.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 07:28:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TgL9KtdY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 194E380B4209; Thu, 7 Dec 2023 07:27:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443465AbjLGP1o (ORCPT + 99 others); Thu, 7 Dec 2023 10:27:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443452AbjLGP1n (ORCPT ); Thu, 7 Dec 2023 10:27:43 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F13B210C8 for ; Thu, 7 Dec 2023 07:27:49 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D5FDC433C7; Thu, 7 Dec 2023 15:27:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701962869; bh=WuHw8xBDQ4YPG0E788n4gpBGlBKTZtk7wXdWqhrweF4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TgL9KtdYlG4PFBVAkV/sg39gPBkBc1aKidxwfqYRrzk2ZA4RHPcOPy0HGyeZso8Z9 bhTJU6U4hfQspY18LbEMb55CsfoESrH1Tg1OqsgRGFNMxO62AlQRTGZZXNuSo/sbAK wgoumdqFMPTxtnbfsBKet6cgEgWu/Lh16lt5PMi/wfTyaBqDvOuW3KJ0chfmEWDSo9 bpe9/6+b75Tzpp6pHxxT1hlnHTVzvXVXlked6bsW6oetQnPGFgjpBZHaxXuGle+8h4 RgooKFeqnIWvdCRijDdkC3u+hFpn747kWtx/08ovW73iluc+N74sD1qPEZv1+Jvbnq h5hls87q6xxfQ== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rBGIp-0000q6-1V; Thu, 07 Dec 2023 16:28:39 +0100 Date: Thu, 7 Dec 2023 16:28:39 +0100 From: Johan Hovold To: Krishna Kurapati Cc: Thinh Nguyen , Greg Kroah-Hartman , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Wesley Cheng , Conor Dooley , cros-qcom-dts-watchers@chromium.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_ppratap@quicinc.com, quic_jackp@quicinc.com Subject: Re: [PATCH v2 2/6] usb: dwc3: qcom: Rename hs_phy_irq to qusb2_phy_irq Message-ID: References: <20231204100950.28712-1-quic_kriskura@quicinc.com> <20231204100950.28712-3-quic_kriskura@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204100950.28712-3-quic_kriskura@quicinc.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 07 Dec 2023 07:27:58 -0800 (PST) On Mon, Dec 04, 2023 at 03:39:46PM +0530, Krishna Kurapati wrote: > For wakeup to work, driver needs to enable interrupts that depict what is > happening on th DP/DM lines. On QUSB targets, this is identified by typo: the > qusb2_phy whereas on SoCs using Femto PHY, separate {dp,dm}_hs_phy_irq's > are used instead. > > The implementation incorrectly names qusb2_phy interrupts as "hs_phy_irq". > Clean this up so that driver would be using only qusb2/(dp & dm) for wakeup > purposes. Here too you should say something about why this won't break any systems booting using an older devicetree. Specifically, the QUSB2 PHY interrupt has never been armed on any system running mainline as those bits never made it upstream. So an alternative to this could also be to just drop the QUSB2 PHY interrupt handling from this driver for now. Johan