Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2354523rdb; Mon, 20 Nov 2023 08:44:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEeLsferNaAA5hoZ50QQcvkyUyVXr2Wsgkq5Gzav541/a4OgIlEqizXxIvZUxRhpFjRjpuJ X-Received: by 2002:a05:6a21:a5a4:b0:15e:f2a1:dae with SMTP id gd36-20020a056a21a5a400b0015ef2a10daemr20959018pzc.27.1700498648890; Mon, 20 Nov 2023 08:44:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700498648; cv=none; d=google.com; s=arc-20160816; b=X5G+7ui5aTAtEWDQwq/wlEgKqOK9NM/4e3StcgN0YBh/Vtp3jX40tU4+4oKBA8QgMS IMFfWrn8D0xBoCOuDMNsLgmpT6LFmx4fbwX16YDLeJBWKBb9g+l7fGNeSReu6kyxeRW5 avXsELHDkvxxm40FpOfyTVjm2zwATTeR/aZOutIOqeN02HLs2Tk3Hhos0idbPCMnRYAG c758ZUEFbC5Bt+sfppQn0rQ5/VJh9M7lB8+OgNz0ISj6L+tuTMceMZM0JJv1iicW825+ rrlNo0SDMqUXLrtyQROyXPGGN4x70iqxAm3naJSHBKeGpybC5ubgAPHpbLdQUiuboLBo zIDg== 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=b5lih8LOx/ihYKZ4oYsk+pv0ZYGvsrEgVnSpFHxi5Ig=; fh=yzxOebouBN6sudmuFYzmJ2dR3UYSeGVDo6mqqRVtKCk=; b=0C8wlWYeXNusQaerqa70rw0+r2kqQmucZmNud2v2uo2baLb2VSRyF43ir4P5PyVv6C /JFdKLO/cxU5ONZL/mrQtb5nql6/cL3nmr1H/+8aM6syGroM1uu3RVmsWyE8PV4MMKT4 nsemABRewG7gFAMRAZzJCcuhN1/YNdcxHUG/Y0dX2uojL1XeNACmKBfTZyuFAHrowXMm Bxh29rCpgopY4JmAyN4jVBVJA7hjMr7X2WGy36FPhL2JppamfCh5XxiwNY9vmScxZWc8 P9GjHtlvyDC7UUVZRGe0IH1fdbkZU7mfgNuwIvJ4N+uFo1nO9kW1OUuSQLXwPm47S8ZI oMmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hI1paVJi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h14-20020a63c00e000000b005b95f5f8976si8714251pgg.634.2023.11.20.08.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 08:44:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hI1paVJi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 2931780E0697; Mon, 20 Nov 2023 08:44:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233714AbjKTQnw (ORCPT + 99 others); Mon, 20 Nov 2023 11:43:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232576AbjKTQnm (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 F2BDC124 for ; Mon, 20 Nov 2023 08:43:38 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EF1EC433C8; 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=7w+Gdoob7Qg7v2q89vsu8KyPhB82cWk+lg0XMgtIZKo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hI1paVJi/CwUGt3vaH+ZMABSU3IvJHJEhYMCFWR4evYIZ4M21YxT01l1mzPEBHkSt ckt/dKlyZT9PHB0pCMIyOX06oSMQlcwl4oOrFJygFxRMTLPzFpwMD2qtfcnAGK5dIN /s3GayxO7LhlEbfeudaQlsp5BhWtutkybgk/KkuL9jFpcYea9dBbk/h2axteeVJCEN jEEs7Tkq/AA75TPRUeAR+ILmUQVIdn8KfeKRfhoPcUgDo/CdwfRoG5pllkcSh6G3gp xVPa909LEHsx//+mAcH2Q+1xdZa4DL0wESC1X65d/QCxDPJ+ACgar8dB33njScZ5ip bHxdg2HMxJxUA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r57NE-00027b-17; Mon, 20 Nov 2023 17:43:48 +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 05/11] arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt types Date: Mon, 20 Nov 2023 17:43:25 +0100 Message-ID: <20231120164331.8116-6-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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 08:44:00 -0800 (PST) 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. Note that only triggering on rising edges can be used to detect resume events but not disconnect events. Fixes: bb9efa59c665 ("arm64: dts: qcom: sc7280: Add USB related nodes") Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 8b968062a2c4..5ca77acd2a46 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3426,8 +3426,8 @@ usb_2: usb@8cf8800 { assigned-clock-rates = <19200000>, <200000000>; interrupts-extended = <&intc GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>, - <&pdc 12 IRQ_TYPE_EDGE_RISING>, - <&pdc 13 IRQ_TYPE_EDGE_RISING>; + <&pdc 12 IRQ_TYPE_EDGE_BOTH>, + <&pdc 13 IRQ_TYPE_EDGE_BOTH>; interrupt-names = "hs_phy_irq", "dp_hs_phy_irq", "dm_hs_phy_irq"; -- 2.41.0