Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37238024rwd; Tue, 11 Jul 2023 11:16:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlE6FvefYvdBfPHRPcZCGf0svDcQTHc7VJbZTY5NizmOQ8AVUZA6MiyxOH1GKb2K/coVoooL X-Received: by 2002:ac2:58cf:0:b0:4fb:8441:be06 with SMTP id u15-20020ac258cf000000b004fb8441be06mr12289082lfo.18.1689099400334; Tue, 11 Jul 2023 11:16:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689099400; cv=none; d=google.com; s=arc-20160816; b=C9z5mP3kkLiCi8P/y/9sR7KjZkB4N60wdrdn6AnILef8Jz4rBA4feCgZctkrKAEAKD 8245ahYxKXVzGoAtmxIWhQL+qsYYZRD0ZfzmcxnWrYGSHSzZAhmcAeZniVGvv5Ar/ZTa 8guYmb7wlIUmNrtdhLSkZ7/fxC2YotiTSdrkXdhiw+Qzdjn37pOdwli3WISN7Si00HY9 yOF3yeb1V7K8Y8g89fnETdyE2P5n/xZBB13L/ZZ9pYRt/so6mC4nFtafw2+AhgV7EOcA 5qsBlv4VvEXO3rUQJUmcdgZX1E+WNjErHXgbzQRnJmbG27t2/bsfXHBanq+MJaLGXP68 isqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=3vjL928j0n+XCcEgXGqLu933Dl3PXe7plpkKxDB5HQQ=; fh=mb/ohXkD9lmbtv4iK1HnXMV11xGj2obFvw2HwPrc56Q=; b=Jb80r8lpNoBjizYFmqnLRT94NkD37Q8alNk88/MNehO+5Wn8hWMzXp9FMzjWcH2IwV GZTa8Kvi/b2hZA6JguJRI2srJYe1t3Ew4b69pYozEB4S0vX9LHSiiYuTW5xtfV3kkbv5 gxzaYILd8viTsPBr3L19X2WPt1frdPrGWl0O/2TGulv2mQBWK/uWbSa/gQfbalQbjuuu WBSYlHD4kvUq8Jd7OCc0hW1Il56+UrvFHmGRe09yRuaw+BdPEaNxTXas/aIoDMQr6kgn /x9EI2dEMiCyvJeEAykfbhDg/WL069OrXY22ZJ3PnJ3XGfBwjjDhX9/pAEVKyaO9t4Am YGPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VqzLNTUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020aa7df14000000b0051e1662942esi2540976edy.136.2023.07.11.11.16.15; Tue, 11 Jul 2023 11:16:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VqzLNTUv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230513AbjGKRny (ORCPT + 99 others); Tue, 11 Jul 2023 13:43:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230431AbjGKRnr (ORCPT ); Tue, 11 Jul 2023 13:43:47 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D729E4F; Tue, 11 Jul 2023 10:43:41 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36BEGjM4027139; Tue, 11 Jul 2023 17:43:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=3vjL928j0n+XCcEgXGqLu933Dl3PXe7plpkKxDB5HQQ=; b=VqzLNTUv2zFiRkbhb2Mf+BqfyeQpOoZBvl71/DJMnNfc/kM7VD0ga1wVVmQbDbphyELl B7uGZ3GsiZV9cs32G/WJiII0jLlg11M3LAf5JFhXBAIzVir14r4tJrX7nfopKMLjoqgY uZK2TU2cw802twZddSYOciBn4TOka133LlnGCKyGgw8y7bEKgF9V9a2nvf4bSk+GVmSX Aed5e/A6x7H3d16fg8HoApXUB0ZZVFJzmO4DffHY5xeeFvhChfkp5WIF6RlI7FHhfkCy E7zH6JOVNOuiNLUM51iDveGvbW8pcMwd8+61cWbvwPcb829lLn9wCpnPiJqNnMURPrg3 Dw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rs8nt0mc2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jul 2023 17:43:25 +0000 Received: from pps.filterd (NALASPPMTA02.qualcomm.com [127.0.0.1]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 36BHhO9J019636; Tue, 11 Jul 2023 17:43:24 GMT Received: from pps.reinject (localhost [127.0.0.1]) by NALASPPMTA02.qualcomm.com (PPS) with ESMTPS id 3rrq09bt90-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 11 Jul 2023 17:43:24 +0000 Received: from NALASPPMTA02.qualcomm.com (NALASPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 36BHhN47019628; Tue, 11 Jul 2023 17:43:23 GMT Received: from hu-devc-lv-u18-c.qualcomm.com (hu-eserrao-lv.qualcomm.com [10.47.235.27]) by NALASPPMTA02.qualcomm.com (PPS) with ESMTP id 36BHhNmd019619; Tue, 11 Jul 2023 17:43:23 +0000 Received: by hu-devc-lv-u18-c.qualcomm.com (Postfix, from userid 464172) id 4F5405005A3; Tue, 11 Jul 2023 10:43:23 -0700 (PDT) From: Elson Roy Serrao To: Thinh.Nguyen@synopsys.com, stern@rowland.harvard.edu Cc: gregkh@linuxfoundation.org, rogerq@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, quic_wcheng@quicinc.com, quic_jackp@quicinc.com, Elson Roy Serrao Subject: [PATCH v3 2/3] dt-bindings: usb: snps,dwc3: Add allow-rtsusp-on-u3 property Date: Tue, 11 Jul 2023 10:43:19 -0700 Message-Id: <20230711174320.24058-3-quic_eserrao@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230711174320.24058-1-quic_eserrao@quicinc.com> References: <20230711174320.24058-1-quic_eserrao@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: eqqFT-LZmVj-xyv4bJP5KyI2i4dhsBHC X-Proofpoint-ORIG-GUID: eqqFT-LZmVj-xyv4bJP5KyI2i4dhsBHC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-11_10,2023-07-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=20 bulkscore=0 spamscore=20 impostorscore=0 mlxscore=20 lowpriorityscore=0 mlxlogscore=61 suspectscore=0 phishscore=0 adultscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307110159 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 This property allows dwc3 runtime suspend when bus suspend interrupt is received even with cable connected. This would allow the dwc3 controller to enter low power mode during bus suspend scenario. This property would particularly benefit dwc3 IPs where hibernation is not enabled and the dwc3 low power mode entry/exit is handled by the glue driver. The assumption here is that the platform using this dt property is capable of detecting resume events to bring the controller out of suspend. Signed-off-by: Elson Roy Serrao --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index a696f23730d3..18ad99a26dd9 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -403,6 +403,11 @@ properties: description: Enable USB remote wakeup. + snps,allow-rtsusp-on-u3: + description: + If True then dwc3 runtime suspend is allowed during bus suspend + case even with the USB cable connected. + unevaluatedProperties: false required: -- 2.17.1