Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5473018rdb; Wed, 13 Dec 2023 09:32:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNbBKw/C1D4+nKP4HcC3VDkvVQuZ3cPI0PHJvB4M6LTa3BB8zmJgNOO4PRW2BpGyg1Ei6V X-Received: by 2002:a17:902:780e:b0:1d0:b1f0:1005 with SMTP id p14-20020a170902780e00b001d0b1f01005mr4109051pll.63.1702488742499; Wed, 13 Dec 2023 09:32:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702488742; cv=none; d=google.com; s=arc-20160816; b=YhMM+ORHl7fZURcywCrZ4pQEGAQCtKAwWpbvG5k578zBkbIcOMymEg8KQDE8DUik7+ 8PmZWTSBICXrmIgWZf46DdEDrWjfUA4rkDN9a7Dsl1zEYicn21cDMk7goeeBpi7jgwIf jW+LZTkRyTAvPphlFoL0+vXPyX0dacuKQdGQQV54Dq1y5fNdOgfjFE5ZAt5cG4vVTvF+ A/+nnEM/Nbs8+ROrjXeedU+OA+3rEgQYnpH8ur9If64qdxQPeGwAs0+WiXyixEGjz7Ym 7EEIlIw9C8In3Z5SHbrOtV38MHpgwCUePgyAWnh2bMNKskgHCNRHMTXlKRIj4vmt1r/J 77ew== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=srmGU0PnWkcq3RSggGswEqsJ+UYrlMmB1kF2cFnu5tE=; fh=Jl5dRdmfI3xIjXWQ5Oa2rck7kh8r3TTSqefbBaNh7UA=; b=MvKkP5AwhS3hkDHerhMdWqkZDBwa85PABGTkww320IvBIj3DnRY6f3PoObF+7/UDuB wwOZFEsxacc3Y3shwoa6ALVIiMMB6qd/253q/vX/7OAyk5GiUQ/hK5ejbKfk6VHi/VGg 0XU1dhHdgz9Vs3Vmq7spoSD2bE106g4N344uvgy7LOTi0liYRMCdVy9r9TaQKJqrR30k KcFyn2Yrcjz9L8kR1XFv5rNos9CRLjQkK3aLUzu9fTHfTebzuBzkNA+wL0AOIpxVAy5n UqlfU+34Q3MrFr1MSnCl7flBer/jU4iQ0A1+Jf9A57rBtsl8k0TtXGZUv4ikWK6lx2O/ eCDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qSK9zqs1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id x14-20020a170902ec8e00b001cfd0495288si10191767plg.298.2023.12.13.09.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:32:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qSK9zqs1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id A2706828FAE2; Wed, 13 Dec 2023 09:32:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441905AbjLMRby (ORCPT + 99 others); Wed, 13 Dec 2023 12:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235565AbjLMRbq (ORCPT ); Wed, 13 Dec 2023 12:31:46 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0299C10F for ; Wed, 13 Dec 2023 09:31:52 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94620C433CB; Wed, 13 Dec 2023 17:31:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702488711; bh=WYg99u3oYCV70ieWzKifcKaZ5J0do6axiMJ6JXN+PN8=; h=From:To:Cc:Subject:Date:From; b=qSK9zqs1XFYvKBMPCU0/mde3b1+CccZfagTz5zhX+L7LS+JDOqzBfI8o4Ev3oD3Y0 ACUZ1NgRHiQvRBVqqgJRqjsGb+Ly9bmy7cwaLBPNdn2te7W9L9Zstp8Jn4KFbBIols cu4nBAODjuMXxnbJTjLN36n/wJqSy8Xck5LKGKsyo1rIJ6S4nHOKBZTnydwEqp0sIm L2LLPFPICODwnM4633YXEuwK4c7o1iI5EPXTtXX+OKcif9clh2UnyNr+FQWyPqH+iO X7gcmWiQklFdepMUHf7am1VG+kwl5zyXW2gIex4dBCV7WZsU6NvPFmbW1iI939waxa wCnQLCZBoskGA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rDT5I-0007f7-0j; Wed, 13 Dec 2023 18:31:48 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krishna Kurapati PSSNV , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 0/3] ARM: dts: qcom: sdx55: fix USB wakeup interrupts Date: Wed, 13 Dec 2023 18:31:28 +0100 Message-ID: <20231213173131.29436-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 09:32:19 -0800 (PST) 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. While at it, fix also the SS PHY interrupt so that it too can be used to wakeup the system up. Thanks to Krishna for providing the PDC interrupt vectors. Note that these patches have not even been compile tested. Johan Johan Hovold (3): ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells' ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts ARM: dts: qcom: sdx55: fix USB SS wakeup arch/arm/boot/dts/qcom/qcom-sdx55.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.41.0