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 D3B406FDEA; Mon, 29 Jan 2024 17:14:37 +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=1706548477; cv=none; b=oqxrxUw7qNQQWe98XjvNEtdLMrEJ0aMGcWrmYB51xvvMbQJaz54L5dXjjvBfq1WKgOdVe9DGzVcd1fxa8bimRmbNQKqqSJjh0GnFvtopp5AMN/5UsexkVeHHIQPuh27wH2F+VyqJ81zjm43H9JAKp/fIXi6O0drkGPgqb2xifOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706548477; c=relaxed/simple; bh=DWHNb4qXWUNZXSPdvIkCkVR9u849RTo/yZZhzRTNK00=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LrLzxk/VWqGQVERZ4+tNCn7iLsQwTzgYjnqBhoIQng1XomrJOv8PMVJaR6IWeh8uAFwXfyW9AlxEcd6hXW9RoW1R9ZeK4KsJt37Xv4+duu8jfddqSpVOaJh2TcIValEX/JPIJz5IGGu2+f/dweSmMrSQxJSCwNzORUsei4uxAhs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xu8Xxdn8; 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="xu8Xxdn8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42713C433C7; Mon, 29 Jan 2024 17:14:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706548477; bh=DWHNb4qXWUNZXSPdvIkCkVR9u849RTo/yZZhzRTNK00=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xu8Xxdn8P02cu6B8F8S8OPBYWpw8BGDpAtdB9ckN9jIbtkq33F7/tRvuTshfl09RC RClNOWLNJnwef3raLQIVtnr4aLCtdr9/G1zWDyOi6uE642or4bBeQIZMqAmATssHsy AdNoB0f9mwXY4NAI6A7xcfsSuW19h4KUDD6df+FY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Richard Acayan , Johan Hovold , Konrad Dybcio , Bjorn Andersson Subject: [PATCH 6.6 096/331] arm64: dts: qcom: sdm670: fix USB DP/DM HS PHY interrupts Date: Mon, 29 Jan 2024 09:02:40 -0800 Message-ID: <20240129170017.739177943@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 c42d12ea105f67b0f137f1e52d5c59d13fe12b1f 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: de3b3de30999 ("arm64: dts: qcom: sdm670: fix USB wakeup interrupt types") Fixes: 07c8ded6e373 ("arm64: dts: qcom: add sdm670 and pixel 3a device trees") Cc: stable@vger.kernel.org # 6.2 Cc: Richard Acayan Signed-off-by: Johan Hovold Reviewed-by: Konrad Dybcio Tested-by: Richard Acayan Link: https://lore.kernel.org/r/20231214074319.11023-2-johan+linaro@kernel.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/qcom/sdm670.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -1295,10 +1295,10 @@ <&gcc GCC_USB30_PRIM_MASTER_CLK>; assigned-clock-rates = <19200000>, <150000000>; - interrupts = , - , - , - ; + interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, + <&intc GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 8 IRQ_TYPE_EDGE_BOTH>, + <&pdc 9 IRQ_TYPE_EDGE_BOTH>; interrupt-names = "hs_phy_irq", "ss_phy_irq", "dm_hs_phy_irq", "dp_hs_phy_irq";