From patchwork Tue Aug 30 22:25:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guru Das Srinagesh X-Patchwork-Id: 601107 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 CF8F5ECAAD4 for ; Tue, 30 Aug 2022 22:27:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232138AbiH3W1Y (ORCPT ); Tue, 30 Aug 2022 18:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232397AbiH3W05 (ORCPT ); Tue, 30 Aug 2022 18:26:57 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C94B261B3A; Tue, 30 Aug 2022 15:25:32 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27UMBc6i003473; Tue, 30 Aug 2022 22:25:19 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=KE+Fl0ZxBTCz3b0DZd6BUNq+L+lHnmfuXs5O5UWd4b4=; b=mGv6T39y8fibyQKrhSiu4gQpTA0Fbz9NZTkwVhLPASCAY4CiMnzZ35Z/aonuZWpHTpcB fO0WgJ7c7gsrPhpiKtaAqSuTmD1vZrDDckmlhs7/HWZfZ+RPf/DgcTkCWNx5DkikEApf a6ldrKY64370Qaw+Y3lkc1PUAjy4yxFgziaHXeksiT8mKxdnMDGrjF/7puQeeyqBPxcr I1xhQAEBF2YK+mw2/VSl7NG+Dt4guszRw7r6bc/cqKuRPGTXAcOnT57dwUIx+aMiT6dA 19Zp9wZej5ysM2MHqIgYIIqFRMER9IcGCjSi9XMdbXzQGyPkWzVAf3oVtNG9tdSqaknU 3Q== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j9mwjhdcr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Aug 2022 22:25:19 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27UMPJBE004044 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Aug 2022 22:25:19 GMT Received: from hu-gurus-sd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Tue, 30 Aug 2022 15:25:18 -0700 From: Guru Das Srinagesh To: Andy Gross , Bjorn Andersson , Philipp Zabel , , CC: David Heidelberg , Robert Marko , Rajendra Nayak , Elliot Berman , Guru Das Srinagesh Subject: [RESEND PATCH v2 1/5] dt-bindings: firmware: qcom-scm: Add "allow-multi-call" property Date: Tue, 30 Aug 2022 15:25:07 -0700 Message-ID: <1661898311-30126-2-git-send-email-quic_gurus@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1661898311-30126-1-git-send-email-quic_gurus@quicinc.com> References: <1661898311-30126-1-git-send-email-quic_gurus@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 9Yx0SXJ5p3iohX8XcTkIOkCRJHEXTXUz X-Proofpoint-ORIG-GUID: 9Yx0SXJ5p3iohX8XcTkIOkCRJHEXTXUz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-30_12,2022-08-30_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 malwarescore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1015 mlxlogscore=889 phishscore=0 priorityscore=1501 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208300100 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org For firmware that supports it, allow multiple SCM calls to be passed down to it by removing the serialization lock in the SCM driver. This patch is based on this YAML conversion patch [1] that is in-flight currently. [1] https://lore.kernel.org/lkml/20220708090431.30437-1-david@ixit.cz/ Signed-off-by: Guru Das Srinagesh --- Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index 9fdeee0..e279fd2 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -70,6 +70,11 @@ properties: '#reset-cells': const: 1 + allow-multi-call: + description: + Specify this flag to remove SCM call serialization. Need to ensure that + the firmware being used supports this feature first. + qcom,dload-mode: $ref: /schemas/types.yaml#/definitions/phandle-array items: