Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2357153rdb; Mon, 20 Nov 2023 08:47:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHY6+h++K3wanxctEEQtJfWYsRALO+Q0JhOkYl0DvX0Fh/B9QUb1pkiybVHZcJitRk5k0m+ X-Received: by 2002:a17:903:2385:b0:1cc:5cbf:50d2 with SMTP id v5-20020a170903238500b001cc5cbf50d2mr9861381plh.59.1700498841694; Mon, 20 Nov 2023 08:47:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700498841; cv=none; d=google.com; s=arc-20160816; b=c3igxvFEyihyEluNfMWg7D4Pw4qJjHbIoRjcC8CWIcACG3Xta0f7VFCaIE/QjjF6Xf gHacykIKuJbT0+JTKS66jH2URg1J2I/Wj6b54tXHa53SZJzG660etUPKhi6U705HVUfa DkCEDPj4kU+i9k8iZnHGpCZwxXZ6IbHLkOSnQA/WPFoJWpFGRfh8sSjtlrBB7kdIy45Y cSEQfRgOqNwO6S4lbhvHIbH1Emhx1LwxMgpDBWl2nT4fRZYM8kgjds0oZpWviyfKV5D8 TMAMsM9Sa4jZt1YYf0t+6pQOmFYXUmFTYK2uBLc979Z5G0l69nvrHaRwePpuL96Z5TGA H1cw== 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=JJ0lXGztXfS+Qxh4hMnkJ1iev7McBVfsbxA4stVcxII=; fh=ieaNNO8wrNQ6lan/R+S9WClfa4OD02t6WOhbCqrNdIM=; b=M+qXuTUJSbUhEknbUvDukuC2URDTuv3r9cQFm8OQcBkPT4/mZ3Mpg80lvGUcegYYvH nL0hg+1XgYc1pZmqUPSNH+N6pAm8UFplPwycEgXE+tc6dk4Nn7KGYEAnDUNEyb+6b9tx H/CFpRGbW1tjmki//8wQ5jSGYgB9TDyy1a5ItshZdvI89gFnKdNE56raF2ebJeVkPpp4 5Zib9z4uZltX/3RB9oKuaAe+92VxlMxTWFGXSbQQ8/PrxMCLVgw36IQqipNwkqgdlBwu gkllNz0QBaH8ZNCo98zKKp+f+CZPUGB2HAlEljlD8PPFL3FCFCZN7olUU5U/ejEjKa5z 2NJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uzoT9mZ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id jg12-20020a17090326cc00b001c20db25108si7937279plb.41.2023.11.20.08.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 08:47:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uzoT9mZ2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id D6FC38068121; Mon, 20 Nov 2023 08:45:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234056AbjKTQoW (ORCPT + 99 others); Mon, 20 Nov 2023 11:44:22 -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 S233470AbjKTQno (ORCPT ); Mon, 20 Nov 2023 11:43:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D14C5 for ; Mon, 20 Nov 2023 08:43:40 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E097BC433D9; 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=FQ0xzwWn42NWTxCZkzqidN/MrgLTjHsoVeG/2jN8NCQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uzoT9mZ2/0DUt4Gb4HR4EVAovcSbVISMtSth61Au1jY7bPXXxQcYNWvtvMndlYbsA Ouhvp8/4O93tZRhgoj/uGDTZGhjB79haJJrpenwjkH7zhXY1bi76U1s/7sM1DZkRAg 0CM7m7DJUT6ndOk+6bs8YLiaSoKe5rucpDzB8JcvwrsHLw4YPaV79pts+jrxkZyESy Donlc8/F6dN5AuDIgLKqfyfUNirR6MOLjnDWR5sTlVjOGyVkED+gXSND1LAANU5KtW fYw28K6LUpf7e2xiInHSbQiMns6l1YYMR6lSADnlz5mJoF6ftox7kr7y1gASm+/RH0 y1BxRTa5ye6Nw== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r57NE-00027u-2r; 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 , Abel Vesa Subject: [PATCH 11/11] arm64: dts: qcom: sm8550: fix USB wakeup interrupt types Date: Mon, 20 Nov 2023 17:43:31 +0100 Message-ID: <20231120164331.8116-12-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 fry.vger.email 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 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 08:45:45 -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: 7f7e5c1b037f ("arm64: dts: qcom: sm8550: Add USB PHYs and controller nodes") Cc: Abel Vesa Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 7b9ddde0b2c9..9b5b098bb7e8 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -2923,8 +2923,8 @@ usb_1: usb@a6f8800 { interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, <&pdc 17 IRQ_TYPE_LEVEL_HIGH>, - <&pdc 15 IRQ_TYPE_EDGE_RISING>, - <&pdc 14 IRQ_TYPE_EDGE_RISING>; + <&pdc 15 IRQ_TYPE_EDGE_BOTH>, + <&pdc 14 IRQ_TYPE_EDGE_BOTH>; interrupt-names = "hs_phy_irq", "ss_phy_irq", "dm_hs_phy_irq", -- 2.41.0