From mboxrd@z Thu Jan 1 00:00:00 1970 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 3681E15957B; Mon, 29 Jan 2024 17:14:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706548492; cv=none; b=Rc9wO8KyIryDMchNWHN8uknfY89SqqIBZg/k/C06bLcbf5BuRzOg6fN1KnBBT22XT8sgzcdMlQo0Ss35bs8Wi55/RdXeqHXHsO0tnHK3JPBcWm7fM6mfnI7FXo2QBD1Q8C0ggCDU2F4KEpVH++32bWnTlWzxxeEM3NxNMzgzTeE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706548492; c=relaxed/simple; bh=XViz8YZ+PRZ5prrtgcnx6Clu72LzoTYlsErAnAX/0y4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tzLD5Sk+bZLeGqRa7OqpFCq4Px6iF1oQ8gqkjQtL3OZsGeIk9Ys939isg3PIVp+AbKwkmOyf4PyhHKQ40UFsZ2b50wVilS+X/m1gy6lDCGFshX2HCkaSL0NC3iVvF78dnaJp7negebdzSU+vzdBDUJUu9ORQysEid7h3BOwvkQQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qIPeFwLv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qIPeFwLv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F008EC43394; Mon, 29 Jan 2024 17:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706548492; bh=XViz8YZ+PRZ5prrtgcnx6Clu72LzoTYlsErAnAX/0y4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qIPeFwLv6F4jEQrfGSE9m3lxh7xUtNc2NajnRVU6WnT1vRmCggesZ6tAPsDBjqJOX glGkS51BQFrcV3DE7TDTtptRAOr+cRS5knIAltDWPUBssaIfMk1PJpV1TlyNZGFQQn BnZx30KYxLfDwaq6ZOGYMIbG5mc4TgzZmydai2EQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Manivannan Sadhasivam , Johan Hovold , Konrad Dybcio , Manivannan Sadhasivam , Bjorn Andersson Subject: [PATCH 6.6 089/331] ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts Date: Mon, 29 Jan 2024 09:02:33 -0800 Message-ID: <20240129170017.533956563@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240129170014.969142961@linuxfoundation.org> References: <20240129170014.969142961@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Johan Hovold commit de95f139394a5ed82270f005bc441d2e7c1e51b7 upstream. 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: Konrad Dybcio Reviewed-by: Manivannan Sadhasivam Link: https://lore.kernel.org/r/20231213173131.29436-3-johan+linaro@kernel.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-sdx55.dtsi @@ -592,10 +592,10 @@ <&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";