From patchwork Mon Nov 14 08:26:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 624614 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 CCB54C4321E for ; Mon, 14 Nov 2022 08:27:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236435AbiKNI1a (ORCPT ); Mon, 14 Nov 2022 03:27:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236448AbiKNI1U (ORCPT ); Mon, 14 Nov 2022 03:27:20 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55E111B7AA; Mon, 14 Nov 2022 00:27:20 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AE7MsHN008490; Mon, 14 Nov 2022 08:27:08 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 : mime-version : content-type; s=qcppdkim1; bh=JXZoHia8fPAHpcUdCaEgwnkzdOb3GUKTRe9MgzPhbyQ=; b=WWz4NqogvB73db7hCSrWzGwpNWF0J3EaXHEh1lLWIrDSh5Ks/E1ctPW74z3Iqssvgd52 VPbkoz1BLWHQzcVPd5y/hLBCQOO4nObRb9I+mxSAThfogfiKKVJaYUddhJlyEpWZLNnc NKxgOYrmqg/VrfR3MUjsgtP5xyEj9rvJYRpkotP29ruKRGspsP1Upfp8wnnyspYEMwP5 iY2sgMOQWedlYtQ+Z2jJA9HY1AeF0RCDBVaDdr0v//grPu1HFTLDbi1wJXOvOJZ82iVz nn/4c429khMjlliG3qRFYCS5cMDiP3zFWbClBJmeyOddduUJgA8CxBmXKdFtKt48wYZ1 ww== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kug7s89jt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Nov 2022 08:27:08 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2AE8R8Cx026913 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Nov 2022 08:27:08 GMT Received: from blr-ubuntu-311.qualcomm.com (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.986.29; Mon, 14 Nov 2022 00:27:04 -0800 From: Sibi Sankar To: , , CC: , , , , , , , , Sibi Sankar Subject: [PATCH V4 1/2] dt-bindings: firmware: qcom-scm: Add optional interrupt Date: Mon, 14 Nov 2022 13:56:43 +0530 Message-ID: <20221114082644.28739-2-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221114082644.28739-1-quic_sibis@quicinc.com> References: <20221114082644.28739-1-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-GUID: kGysnDWJEymjQWyYor9s225M_mqoiTji X-Proofpoint-ORIG-GUID: kGysnDWJEymjQWyYor9s225M_mqoiTji X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-14_07,2022-11-11_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 mlxlogscore=758 spamscore=0 phishscore=0 adultscore=0 bulkscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211140061 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Guru Das Srinagesh Add an interrupt specification to the bindings to support the wait-queue feature. Signed-off-by: Guru Das Srinagesh Signed-off-by: Sibi Sankar --- v4: - Qualify bindings [Krzysztoff] Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index be1b5746eddb..8011950d74c2 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -72,6 +72,12 @@ properties: '#reset-cells': const: 1 + interrupts: + description: + The wait-queue interrupt that firmware raises as part of handshake + protocol to handle sleeping SCM calls. + maxItems: 1 + qcom,dload-mode: $ref: /schemas/types.yaml#/definitions/phandle-array items: