From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8C7BC2BB3F for ; Mon, 20 Nov 2023 16:43:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233694AbjKTQnt (ORCPT ); Mon, 20 Nov 2023 11:43:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232493AbjKTQnm (ORCPT ); Mon, 20 Nov 2023 11:43:42 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBFDB114 for ; Mon, 20 Nov 2023 08:43:38 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54C1EC433C7; Mon, 20 Nov 2023 16:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700498618; bh=hylOU4j/LA+CLsIR16LNKqzRwGIrrPV+YZyr1iajJBY=; h=From:To:Cc:Subject:Date:From; b=n+qXcFJd2DRLploMiyooJ5oVX7TPOGLYbAbTd173+vLchJWbj1evNfLjOjyY8EXNk 2onyQDcWbGLZ9VJObcAJ5yPcvCdns+yDeqyyQlICiQ9N1Icj/rnEwB+mILWBrhVYrH /mM7ouhp/A4mP72KmSTmsgz4ako55fQfCo+lShuT/8ZKnChGKeB2Jsp8W4ilQD5OGA KtCUPTa/oNHHiPzCLHygH1ukR+I1qTmhJOcTdw4YMrcZQECYcC261KXhMJP8Sdw3Q2 yyAAn5ibbFj1E/ykekiaFdnBY7G8EVB8D4pfO3g8y3XfaJ0I8tFV0lvM6bUO8tfGxK vRjBcI7tci+Pw== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r57ND-00027R-0b; Mon, 20 Nov 2023 17:43:47 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 00/11] ARM/arm64: dts: qcom: fix USB wakeup interrupt types Date: Mon, 20 Nov 2023 17:43:20 +0100 Message-ID: <20231120164331.8116-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When testing a recent series that addresses resource leaks in the Qualcomm dwc3 glue driver [1], I realised that probe deferral can break wakeup from suspend due to how the wakeup interrupts are currently requested. The following series fixes this by no longer overriding the firmware defined trigger types for the wakeup interrupts: https://lore.kernel.org/lkml/20231120161607.7405-1-johan+linaro@kernel.org/ It turns out a number Qualcomm devicetrees have also gotten the trigger types wrong, something which this series addresses. Specifically, the HS/SS PHY wakeup interrupts are level triggered while the DP/DM HS PHY interrupts are edge triggered, and which edge to trigger on depends both on the use-case and on whether a Low speed or Full/High speed device is connected. Fortunately, there should be no dependency between this series and USB one as all devicetree use the correct trigger type for the HS/SS PHY interrupts and the HS one has never been armed by Linux anyway. The DP/DM interrupt trigger types are also updated on suspend currently. The only exception may be sc7280 where a recent cleanup patch inadvertently switched the SS and DP trigger types, but that one should just be backported anyway. Note that the binding example is updated in the USB driver series mentioned above. Johan [1] https://lore.kernel.org/lkml/20231117173650.21161-1-johan+linaro@kernel.org/ Johan Hovold (11): ARM: dts: qcom: sdx55: fix USB wakeup interrupt types arm64: dts: qcom: sa8775p: fix USB wakeup interrupt types arm64: dts: qcom: sc7180: fix USB wakeup interrupt types arm64: dts: qcom: sc7280: fix usb_1 wakeup interrupt types arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt types arm64: dts: qcom: sc8180x: fix USB wakeup interrupt types arm64: dts: qcom: sdm670: fix USB wakeup interrupt types arm64: dts: qcom: sdm845: fix USB wakeup interrupt types arm64: dts: qcom: sm6375: fix USB wakeup interrupt types arm64: dts: qcom: sm8150: fix USB wakeup interrupt types arm64: dts: qcom: sm8550: fix USB wakeup interrupt types arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 12 ++++++------ arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/sc7280.dtsi | 8 ++++---- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 8 ++++---- arch/arm64/boot/dts/qcom/sdm670.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++---- arch/arm64/boot/dts/qcom/sm6375.dtsi | 4 ++-- arch/arm64/boot/dts/qcom/sm8150.dtsi | 8 ++++---- arch/arm64/boot/dts/qcom/sm8550.dtsi | 4 ++-- 10 files changed, 32 insertions(+), 32 deletions(-) -- 2.41.0