Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5709581rdb; Wed, 13 Dec 2023 17:56:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5l6/2yUtD9iLUVo3SRRT20lFQTeNHESoZKWSRC2Hthw3enzgTeUhqC8dnkKkSI5PjWgAh X-Received: by 2002:a05:6a21:3398:b0:18f:f7ee:54e8 with SMTP id yy24-20020a056a21339800b0018ff7ee54e8mr11141840pzb.26.1702518994142; Wed, 13 Dec 2023 17:56:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702518994; cv=none; d=google.com; s=arc-20160816; b=QcZrBTUvthL/7z8fd93B9QVH74NnP834gP1qDq0I90JZoNNPdOXj2vGxKHpgaFFUni eNWYb5W8hjpkHzKNSzzn/kJIATv+HB7ETHsp6t6x347aCDlVXvLgHtHEGFJqpKWEjBJo 4DPrcU+aO708FmjzVkqgiolpKbwAdf0NgJPYBD+zjleLf434Y7BunkMAPVsVollJ83vJ CHojfImY2sX7NmuiCM3kcFSEKxe20AZ4PmEkH3j5NCfyxFe1tX6ZXwsAfMCW+tR9EKky qr9UoFaFCf17ep1kzJj9n5faqkNWgaz1wHI/s2Ro9TMdeo3/Km5gXg/z+F3ZNDmAbCR5 /0OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=pDwCxF94S9D0lgonY0fmhpzWERchJQlMltv0nwy5uFo=; fh=DGsMjkqA1TSEh9pHXiazQ2i+gPmLbCyXW8ZKJPPyRNY=; b=LrTZIxra+MHHhIeUSYSCX4AK5pXvBWcYa2yXT5YpMs2D11DwPc2VZnFOhzpluOQaQ8 9dg6finO2+GujToA1D6xoGhxw449WkO0jRUd2fdCY3Y5CPrk7L3tkt5GONUCjMbhBRMP gWpJT1lTnUWp22nCweAsWGahHn+SnysRS4HDQcqiT1nbZRXu8/3MBFWQoj3pIVQP7V/E DF7zwtMVVxZRtDPgnTSJ/AfD8osTOrfz7Rbxep+64Jyjz+VdyIU8u2ye6yuVIPTU9/Nm AXZkvtb63u1I9j0VehKFrH25MRc+v9DovMXYf+e2RzrNZ3k6AFNVSqZrnX3yVurZOlct 1UEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CUDdPjAU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c1-20020a170902aa4100b001d1d8b620c0si10013782plr.620.2023.12.13.17.56.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 17:56:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CUDdPjAU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DD2D7803103D; Wed, 13 Dec 2023 17:56:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442957AbjLNB4F (ORCPT + 99 others); Wed, 13 Dec 2023 20:56:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234147AbjLNB4D (ORCPT ); Wed, 13 Dec 2023 20:56:03 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57328F7; Wed, 13 Dec 2023 17:56:09 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BE1XG8u032654; Thu, 14 Dec 2023 01:56:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=pDwCxF94S9D0lgonY0fmhpzWERchJQlMltv0nwy5uFo=; b=CU DdPjAULc0hxxfiOiLgDLidTO7qUHgf9hmih8SLRkmgVdugi7gyQZz9sm/1tiWPAK PgnOCHg6/pcr5/Vaak/Y1awu5DXR3hw6dskuppP3YG/LyrFYiQxswq2JRAVHnl+R LSE0oBy7RDBeXlRojSyCyPg3lDUdcze5GuK90VdCVaQN5iozTzeTO5jWDooO4Z3+ r2Mg7DBqPiygmd4iw6FLwyOf+fQZvHXrcUe2D2RtZdsm9QMqvXnWcnkqeaOhoLCG B8DLJb+S2j1Pie7R+u5xO/E0ukFTkcBdf+IS1HsqdLj/9MnKHeHAj+Jn8Pocoq9O yzvPzcZQjT4tmEpFlmTQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uyq9t053b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 01:56:05 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BE1twZg018574 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 01:55:58 GMT Received: from [10.216.7.247] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 13 Dec 2023 17:55:54 -0800 Message-ID: <4b73d53e-ee25-4764-a916-973674d83fc9@quicinc.com> Date: Thu, 14 Dec 2023 07:25:51 +0530 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: Konrad Dybcio , Johan Hovold , Bjorn Andersson CC: Andy Gross , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , References: <20231213173403.29544-1-johan+linaro@kernel.org> From: Krishna Kurapati PSSNV In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: G6Qbz1WsjBl2O4jjcCFZmxwy7g5Y1RGW X-Proofpoint-GUID: G6Qbz1WsjBl2O4jjcCFZmxwy7g5Y1RGW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 mlxlogscore=576 suspectscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312140004 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 17:56:32 -0800 (PST) On 12/14/2023 12:19 AM, Konrad Dybcio wrote: > > > 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 > And for second controller of sdm670/sdm845, pdc 11 DP pdc 10 DM pdc 7 SS Regards, Krishna,