Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1707062rdb; Thu, 7 Dec 2023 06:53:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4pPbeBAYG3Wt6r2LYlgmtsx1MlGZTu0uvB1DWsXXrUuw1i+fmtgXok5UC5Ygklgkqw+wU X-Received: by 2002:a05:6a00:2989:b0:6cb:87d0:fc9e with SMTP id cj9-20020a056a00298900b006cb87d0fc9emr2870195pfb.21.1701960795494; Thu, 07 Dec 2023 06:53:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701960795; cv=none; d=google.com; s=arc-20160816; b=i6whS1cFnLd0AbA1eDRbr4GkJ4GxZqlRleSfGOkJG5v05pkvavg9bR/reiOwsIHOb3 asK3QIQig2BgFYPY1RSvU0NLKkoGCuYnxeV3DQq01MfGvbJgDv/TBcYvGiJOFan/ZHjC xp3vHZbUw0WOkZ47HRIteLpJASW03CTcxUyUgnXQzBe+/cAkB89PwsGwsnbZ/yWY4XWQ nXG25V4ldhonm+ZjRK2N07IJJFJROVXIWxkdHP976xwMiiSMDaoTg6JG5RPI5ZXGCxTo iXEBcz7Gp8qBrRS/PaxwABwX0sVQkJoOYMIV2ky60RpelKwZU8mYoybnMf5+TRaTFIlG hkog== 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=w9/dQdvra5n99zBQfpxAClosEh7/XTLnNMfTkqIuGl8=; fh=f8OJwSeWfQUEDOcrab6P5NqH716ZX/y7AZsEp4cVtqs=; b=AkdcPx6YD5hVSqZFu/sfMR/J9zsJgK5AILo7YwJ/RhKgPCRX0UHlT//vWP//gubOVV iJo9l8A7TpX2MmLm4WfaveJOXyA4ENgDfmE40Yhr8ArIg+bB6oP2R54QamiDMHJjSNHW CJ/lxwA2DgCgjdESeu4kRxJx1HGz1J3RwuD7anV2AQa9sd0GPB1BJD+MKruWVoRcUisV CKQZxSGJYFdGksJPKeW/DFS+6+8KSeZ6DNgKRKWMhwyQWE28O/9cvdlwwdyblsvTYzg5 OUgDzOQ1cScRQIUJaFw9BcS/Yq0jvbwoMhoQY89jBwpnsHdBAls7NNQqWqTPf9VmsM8q uFVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HAeke04R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id y5-20020a056a001c8500b006ce83d8dcafsi1325765pfw.393.2023.12.07.06.53.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:53:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HAeke04R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 9D7F4810756A; Thu, 7 Dec 2023 06:53:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443431AbjLGOw6 (ORCPT + 99 others); Thu, 7 Dec 2023 09:52:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443430AbjLGOw5 (ORCPT ); Thu, 7 Dec 2023 09:52:57 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68B49AC for ; Thu, 7 Dec 2023 06:53:03 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF562C433CA; Thu, 7 Dec 2023 14:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701960783; bh=mz3CTM06zZ00I601O+2CjhckI+2+PyBKpVHj/pfINUI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HAeke04RAgpKG+7kiqstjVxdiaIWQU5vESnHB1sCh1BgtiQ+Z/fmSoQpiZuu+ainR dYt39Akt3+8z7R3b0BKdIgOPoEtV4DLxo6ayMOZj8U9Y8rss2L/1vnWIpiCdVGrTOV R3UW4xchXyfGJaiyxmXNHsHRJP4ODZa139j/Xvn4b2K2JloKyYNT22R+n0GyAgCgNX OkU59sdQLdy/ZsrLDk/yUaHIG84rn2w2bxW7xCNRDxXS7lXoYs/eLFZv84RWdHhiUW z49J9hyOlzh8a1DgvFBwaZqYdpXwkc7jq/C5oOdSLZd1M2aGWfkk26dywWt4YPlzDV +mexkgy9oQSlA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rBFlB-0000hI-0F; Thu, 07 Dec 2023 15:53:53 +0100 Date: Thu, 7 Dec 2023 15:53:53 +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 0/6] Refine USB interrupt vectors on Qualcomm platforms Message-ID: References: <20231204100950.28712-1-quic_kriskura@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204100950.28712-1-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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:53:11 -0800 (PST) On Mon, Dec 04, 2023 at 03:39:44PM +0530, Krishna Kurapati wrote: > Qualcomm targets define the following interrupts for usb wakeup: > {dp/dm}_hs_phy_irq, hs_phy_irq, pwr_event, ss_phy_irq. > > But QUSB2 Phy based targets have another interrupt which gets triggered > in response to J/K states on dp/dm pads. Its functionality is replaced > by dp/dm interrupts on Femto/m31/eusb2 phy based targets for wakeup > purposes. Exceptions are some targets like SDM845/SDM670/SM6350 where > dp/dm irq's are used although they are qusb2 phy targets. > > Currently in QUSB2 Phy based DT's, te qusb2_phy interrupt is named and > used as "hs_phy_irq" when in fact it is a different interrupt (used by > HW validation folks for debug purposes and not used on any downstream > target qusb/non-qusb). > > On some non-QUSB2 targets (like sm8450/sm8550), the pwr_event IRQ was > named as hs_phy_irq and actual pwr_event_irq was skipped. > > This series tries to address the discrepancies in the interrupt numbering > adding the missing interrupts and correcting the existing ones. > > This series has been compared with downstream counter part and hw specifics > to ensure the numbering is right. Since there is not functionality change > the code has been only compile tested. This is a good summary. > Changes in v2: > Removed additional compatibles added for different targets in v1. > Specified permuations of interrupts possible for QC targets and regrouped > interrupts for most of the DT's. > > Rebased on top of wakeup interrupts fixes by Johan Hovold: > https://patchwork.kernel.org/project/linux-arm-msm/cover/20231120164331.8116-1-johan+linaro@kernel.org/ > > Link to v1: (providing patchwork link since threading was broken in v1) > https://patchwork.kernel.org/project/linux-arm-msm/cover/20231122191259.3021-1-quic_kriskura@quicinc.com/ > > Krishna Kurapati (6): > dt-bindings: usb: dwc3: Clean up hs_phy_irq in bindings > usb: dwc3: qcom: Rename hs_phy_irq to qusb2_phy_irq > arm64: dts: qcom: Fix hs_phy_irq for QUSB2 targets > arm64: dts: qcom: Fix hs_phy_irq for non-QUSB2 targets > arm64: dts: qcom: Fix hs_phy_irq for SDM670/SDM845/SM6350 > arm64: dts: qcom: Add missing interrupts for qcs404/ipq5332 You're still mixing USB binding/driver and DT updates, which is what we want for most subsystems, but not for USB. For the next version, please split it in two series as these will go in through two different maintainer trees. You can link to the driver/binding series from the devicetree series and mention to Bjorn that it should not be merged before the bindings are in. And please use lore for any links instead of patchwork. Johan