Received: by 2002:a05:7412:8d06:b0:f9:332d:97f1 with SMTP id bj6csp40335rdb; Mon, 18 Dec 2023 08:21:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxATLL/py8ExEST2kDG59dV75mZPCLSo6geVOF7GF0kX0glY9CTWg0/Gb4C8DOWD5XMVLR X-Received: by 2002:a2e:920f:0:b0:2cc:44f9:4372 with SMTP id k15-20020a2e920f000000b002cc44f94372mr3247719ljg.75.1702916518206; Mon, 18 Dec 2023 08:21:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702916518; cv=none; d=google.com; s=arc-20160816; b=EKWstBbzEYexLQ0VVatS7a7qfhVcUe2W/xZY5pyo13cS6elr8BvSSBalIFLCpF2R75 g6tA6xWUfAfr65Nn7Ncth/VSdT6CnU/qzlCZ8vuJR7fDtWkEGg7SvOR64amTOoKBuvpV 3LEvktGo7lHl+2jPgmAvAJmphyCSzzJWW5XuZW0L3bITL0J4fE75TiI/oFH7muEOVOP8 WtJABR+xessJk+emvAdF0cfymK5jtknQJnfkSjkjBQ0nxf90Kuqrpb92kof4rVUypPIm s7L36aEm3jvZt6mZETkH+eCtT2BHCMaQXBl+4bBXB/bsSvmiTVxcJm8r3xyxWfwsoDEL uBVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=0OqhdEGVg5Skfmm1h7XhFCKaVUZY1DfjiBt6pzRfb7c=; fh=sZZ4nWPlLqyQ8NUSc1SX+Vr6Rm9BBk98/DUiKDd86MY=; b=gD658xGu08hcjo3589Q38ShQFi9lzR8UwXN3aa705IIXaNqswE3h9YMT53SzJTKnsw WKtH+xSQqap2G028TUbdEhTM07l15Ylq2wHGvA3enYaqrqwT4APK9Jg1MPKHqLMcbaOJ azKSFE5ptile6p9B3CvQkWJp4JDYpLAx3JqBAAHoIeuvF148vXsk7jC4M8FsFnYkfOpU IhmfP5krQxNfC35gFM89imCUh5TBt7H+uW6ki++kdXd0MEwtsDn9wzCeyEG7mdN3vNwR i9DDPeLBAmb5c9KGlZAKsnvLYQZUqrUmCDBVD2viCTyIwTd/ndZ7HU2eUaJBoZdtRn/C Gflg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aink5el2; spf=pass (google.com: domain of linux-kernel+bounces-4045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i19-20020a50d753000000b005536b82db5fsi496412edj.416.2023.12.18.08.21.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:21:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aink5el2; spf=pass (google.com: domain of linux-kernel+bounces-4045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 96ECD1F24E9A for ; Mon, 18 Dec 2023 16:14:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CDA142375; Mon, 18 Dec 2023 16:13:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aink5el2" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 421ECE57C; Mon, 18 Dec 2023 16:13:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7048C433C8; Mon, 18 Dec 2023 16:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702916029; bh=VTc39LZjCLzqd6eMZ4DBUBzdF70c+lVEjRmh+DQKRfo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aink5el2urJqqPhOekzgsDfGFdnmTPDVzbqrJub8R2cMMjzGvPBvRmNQytOwZ5NcO MCfNiWQ5ELJsj6MDmHbaWANLFu7sGv7ui1V9x59iHe1PnCoL1ulRS7iR6eoRKheJMY 3Qye7SXYdbTzmBsrUESDOuSGw0VDXmK4Lf6JiwHUkjo9Z+Pj7NjMguUH7RGAM/8M8u Sm96+usTKuKoo4ldZdnw5DXsFzBEsafK0qP0ybPmzMx62vb+tmeaEbSCkklnlJ+E90 tK2GpfTGGrTlINmtohOMDQmvSvCgdcgV9H/hpsvlOcfNZX0zI3VV73Wp/BUsu/eqyX fdIoe2D9gfB9w== Date: Mon, 18 Dec 2023 21:43:33 +0530 From: Manivannan Sadhasivam To: Johan Hovold Cc: Bjorn Andersson , Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krishna Kurapati PSSNV , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 2/3] ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts Message-ID: <20231218161333.GB50521@thinkpad> References: <20231213173131.29436-1-johan+linaro@kernel.org> <20231213173131.29436-3-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231213173131.29436-3-johan+linaro@kernel.org> On Wed, Dec 13, 2023 at 06:31:30PM +0100, Johan Hovold wrote: > The USB DP/DM HS PHY interrupts need to be provided by the PDC interrupt > controller in order to be able to wake the system up from low-power > states and to be able to detect disconnect events, which requires > triggering on falling edges. > > A recent commit updated the trigger type but failed to change the > interrupt provider as required. This leads to the current Linux driver > failing to probe instead of printing an error during suspend and USB > wakeup not working as intended. > > Fixes: d0ec3c4c11c3 ("ARM: dts: qcom: sdx55: fix USB wakeup interrupt types") > Fixes: fea4b41022f3 ("ARM: dts: qcom: sdx55: Add USB3 and PHY support") > Cc: stable@vger.kernel.org # 5.12 > Cc: Manivannan Sadhasivam > Signed-off-by: Johan Hovold Reviewed-by: Manivannan Sadhasivam - Mani > --- > arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi > index 0864c99a3da1..49910279cb71 100644 > --- a/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi > +++ b/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi > @@ -585,10 +585,10 @@ usb: usb@a6f8800 { > <&gcc GCC_USB30_MASTER_CLK>; > assigned-clock-rates = <19200000>, <200000000>; > > - interrupts = , > - , > - , > - ; > + interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, > + <&intc GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, > + <&pdc 11 IRQ_TYPE_EDGE_BOTH>, > + <&pdc 10 IRQ_TYPE_EDGE_BOTH>; > interrupt-names = "hs_phy_irq", "ss_phy_irq", > "dm_hs_phy_irq", "dp_hs_phy_irq"; > > -- > 2.41.0 > -- மணிவண்ணன் சதாசிவம்