Message ID | 20231120164331.8116-8-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp62113vqb; Mon, 20 Nov 2023 08:44:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+K8PnVd0+YUxNVhjgXTG04GJLasAj0QuHdcNharYxn/X4TlwjQ7W8hEMVQiIwRsc79l/w X-Received: by 2002:a17:902:7d84:b0:1cc:2376:5508 with SMTP id a4-20020a1709027d8400b001cc23765508mr5481167plm.34.1700498667388; Mon, 20 Nov 2023 08:44:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700498667; cv=none; d=google.com; s=arc-20160816; b=sji0yz+5irlyMqIRzu30ZKgQmXOOtrA2h4bPktpiYEjOKmtE5kZdzg7y+WYELehHpu 22/8JjdQGBbygCdhXej5u/p0Ar1ZdVuxl/hlK2SfrgDhR6YSbDwjz2L0jPR0P2Q9PI8W wr8UCTiUjwt8Zqb0f8R7URV59J0bssVDosxl+nMBJBRZ6eHG5oCwMzpphqqv8Qk1sHXe ivYu4OGEhN+ZWJVubYBF580/bEwZlAhH4jA8oWV4pfCRJLIFZhJscsRfODvlTVpkhDcP MpmhRRoU4qyYUdKlCwfcIDb5Es1dGWSTcRKZ5fYzf4tdYt5xOpMmST27bEuPnxO9M8QK aURw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JdCP4BvxVF0bK6I2UsmU5F9TvL4w5oFHrdkb64Yt0rw=; fh=PiLQC8h3CW+9Lsfc6j9V2SQ0lyD7pYu4oPD8kSUxZkI=; b=ePYe9I1wuNc52sdTuFF9I7HjDXD8Ft95U5CqzVqpZL3+GQrKtYoO3T4cSusparR9bB BWHcQxl03IIhS2QReKGEQbtZdsN+y/aXygHBKAbPBZMLhGQFKdDM16XTQyXJtfS81Cqo VCQG3o5on9lM/4YT2Qe2/JGcyA5OxPyHiOnkistxpDH+QxkYoL5aYVaV1J7YQhwYpB5n N2mXz24od4Rbou5bLi+x2prx6wCAAmtkH6D2BpTJIMxzaa7tgaFv5wmujb7JAOHmJdTE eWmK0yExMKTTPkVL+lwiJq/q7wM3wUYUNG/UzeP1dQvcvjp9rvzIGyoFs/kLhWQm3ORC owDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p9TyGwDR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t4-20020a17090340c400b001cc3e45ac2esi5307831pld.19.2023.11.20.08.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 08:44:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p9TyGwDR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 7A5AF80310CB; Mon, 20 Nov 2023 08:44:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233724AbjKTQoC (ORCPT <rfc822;heyuhang3455@gmail.com> + 27 others); Mon, 20 Nov 2023 11:44:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232515AbjKTQnn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Nov 2023 11:43:43 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF61CBC; Mon, 20 Nov 2023 08:43:39 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82194C41679; 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=fqPc1KUejJr73fp2EKi0XoZhkLn72O71c/IJHU03Ts0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p9TyGwDR5cSjHACz3etjz1TAd9ugSB3pvPGfk9R5COlMpCHox/Abmur4n9CGcr/OO Kg/sWeoueAJsA3/3hUH/alLlhBueSh2QHjHfqJP5M0Aq6zSyfLNRK6xXo3IFAnEHT+ V+qw84IVuqg65xM+oIhNSvssLrG8yxUm2+wCiRS1LgxISjxqB6Ratn+XIW0B9ahYoR 1S58a3Ae7UAxMoWgHM1HSFoKzL+Dq9CICO2dwurDmNfRhd+hUwZhKW+TvL6acitF3p 9qVp0Rp2WmQ+srAwS+LdcCs1juIXsMUK4LLPMphYjXXH8g2ZOIABoSFEbHDxx2x+g5 AAKydFRllE6fA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from <johan+linaro@kernel.org>) id 1r57NE-00027i-1e; Mon, 20 Nov 2023 17:43:48 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Bjorn Andersson <andersson@kernel.org> Cc: Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org>, stable@vger.kernel.org, Richard Acayan <mailingradian@gmail.com> Subject: [PATCH 07/11] arm64: dts: qcom: sdm670: fix USB wakeup interrupt types Date: Mon, 20 Nov 2023 17:43:27 +0100 Message-ID: <20231120164331.8116-8-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231120164331.8116-1-johan+linaro@kernel.org> References: <20231120164331.8116-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 08:44:21 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783102090606573085 X-GMAIL-MSGID: 1783102090606573085 |
Series |
ARM/arm64: dts: qcom: fix USB wakeup interrupt types
|
|
Commit Message
Johan Hovold
Nov. 20, 2023, 4:43 p.m. UTC
The DP/DM wakeup interrupts are edge triggered and which edge to trigger
on depends on use-case and whether a Low speed or Full/High speed device
is connected.
Fixes: 07c8ded6e373 ("arm64: dts: qcom: add sdm670 and pixel 3a device trees")
Cc: stable@vger.kernel.org # 6.2
Cc: Richard Acayan <mailingradian@gmail.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
arch/arm64/boot/dts/qcom/sdm670.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Mon, Nov 20, 2023 at 05:43:27PM +0100, Johan Hovold wrote: > The DP/DM wakeup interrupts are edge triggered and which edge to trigger > on depends on use-case and whether a Low speed or Full/High speed device > is connected. > > Fixes: 07c8ded6e373 ("arm64: dts: qcom: add sdm670 and pixel 3a device trees") > Cc: stable@vger.kernel.org # 6.2 > Cc: Richard Acayan <mailingradian@gmail.com> > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- Acked-by: Richard Acayan <mailingradian@gmail.com> > arch/arm64/boot/dts/qcom/sdm670.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi > index ba2043d67370..c873560ae9d5 100644 > --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi > @@ -1297,8 +1297,8 @@ usb_1: usb@a6f8800 { > > interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, > <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, > - <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>, > - <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>; > + <GIC_SPI 488 IRQ_TYPE_EDGE_BOTH>, > + <GIC_SPI 489 IRQ_TYPE_EDGE_BOTH>; > interrupt-names = "hs_phy_irq", "ss_phy_irq", > "dm_hs_phy_irq", "dp_hs_phy_irq"; > > -- > 2.41.0 >
diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi index ba2043d67370..c873560ae9d5 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -1297,8 +1297,8 @@ usb_1: usb@a6f8800 { interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>; + <GIC_SPI 488 IRQ_TYPE_EDGE_BOTH>, + <GIC_SPI 489 IRQ_TYPE_EDGE_BOTH>; interrupt-names = "hs_phy_irq", "ss_phy_irq", "dm_hs_phy_irq", "dp_hs_phy_irq";