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 D1382C4332F for ; Wed, 13 Dec 2023 18:49:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378150AbjLMStt (ORCPT ); Wed, 13 Dec 2023 13:49:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233516AbjLMSts (ORCPT ); Wed, 13 Dec 2023 13:49:48 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D8BDEB for ; Wed, 13 Dec 2023 10:49:54 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50c0f6b1015so8539214e87.3 for ; Wed, 13 Dec 2023 10:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702493392; x=1703098192; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=u9w0otzZlXHEhkhqLHq549bkqhOx0OoxS5csCVRIyxs=; b=FeOREvMK8XGoFNXj3oQnDGvz7XwLoSFk4rON8dZ8Pq0eCI2GJjo7cYibmKkFrI/GE8 O2aOCmoDxsC1XotefeuLI8iMidfbqie62bv7Cp2Esj+8mJVLKXJPF283fQiKMhVKujDG vnN15soHjq5yDvthpDThthYjhH7ZtDsb7Z+SpQLaJCd/2gGnuS4r5v1dRkGQunMxl53u gj4S4Dr3ce569O5v3WGeY4GAR0KXbRX0fexaShyfJ3tp3S3Oj+or9eTKCfMUSpbBi9yX ys9QfS5WiriXhuABpc6BUN9JEeDSYaTzmYhDlOBltMVNisrtjJgZOhItPrRiMZR0Bj5a U+xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702493392; x=1703098192; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u9w0otzZlXHEhkhqLHq549bkqhOx0OoxS5csCVRIyxs=; b=I99wYgJFRLWhIdFxTgsWPY98TSdfMjc46vai8LPIxJkqF3hmW1rneSZ1sG3JkjskWm y5//6CQzxbiShNJsPBu1Pv+mDlygK28D6kk8Wn+LkyiYdSrC5+lFaAcvDXpx+1QkMvKs OgT8e+duQUmJyZo6AmOEXj1ufq/PLCy6ZQ2/vC/MooF7bXqwzKtwtO1bmIVbNrCu+ySF 4ufY5mcoRqZicVf26v4KREjzRC8AEzy9o734JXSwn2t0DJSC2lMGCRje5UtukEwgcCFa aBSs27CO4zimQ3gqlXgB/v3SJrt7fUvumv5/rwCR7v04nCXy2IVFeY8nGtKQL+ATO9lK jYhg== X-Gm-Message-State: AOJu0YwTEaeZRJiGUFSiqlj1kHTB+RhCUyQFS+sZbb8Qfgz0IVo9beIO 8mlquXa9TssYfR8d5NU0rLA9VA== X-Google-Smtp-Source: AGHT+IGfyRARguxRt3x+/QtaZJ04/nr6oyHtrgXcf2XRCzJOlfzwtBnOVKk1qUykWozve/TPg2iBpA== X-Received: by 2002:a05:6512:489a:b0:50b:ff2a:8848 with SMTP id eq26-20020a056512489a00b0050bff2a8848mr3798058lfb.120.1702493392343; Wed, 13 Dec 2023 10:49:52 -0800 (PST) Received: from [172.30.204.126] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id k31-20020a0565123d9f00b0050bfe8abf04sm1674563lfv.138.2023.12.13.10.49.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Dec 2023 10:49:52 -0800 (PST) Message-ID: Date: Wed, 13 Dec 2023 19:49:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/5] arm64: dts: qcom: fix USB wakeup interrupts again Content-Language: en-US To: Johan Hovold , Bjorn Andersson Cc: Andy Gross , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krishna Kurapati PSSNV , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231213173403.29544-1-johan+linaro@kernel.org> From: Konrad Dybcio In-Reply-To: <20231213173403.29544-1-johan+linaro@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/13/23 18:33, Johan Hovold wrote: > 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 Konrad for reporting the probe failure on sc8180x and > providing the corresponding PDC interrupts and to Krishna for providing > the remaining PDC interrupts. The exception is for the second controller > on sm8150 whose PDC vectors I inferred from sdm845. > > Note sdm670 and sm6375 need similar fixes and I believe Bjorn is trying > to dig out the corresponding vectors. The SS PHY interrupt on sc8180x > should also be fixed. sdm670: pdc 9 DP pdc 8 DM pdc 6 usb3 Konrad