Message ID | 20230113161114.22607-2-quic_sibis@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp362657wrt; Fri, 13 Jan 2023 08:27:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXsvD1XLjpMPj07imwj+wBmVDyAAY7LClz4zUtXkqx3J/yAYgIDrMqSrIGGjZabBtiu0q+eg X-Received: by 2002:a17:90a:b282:b0:223:fd02:78c1 with SMTP id c2-20020a17090ab28200b00223fd0278c1mr84501398pjr.24.1673627278729; Fri, 13 Jan 2023 08:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673627278; cv=none; d=google.com; s=arc-20160816; b=UeqVOZzZTk8rJGQnABLnf8mmhMxeufRi9OrdUko6Zova5X9I7rEu3zI0Mmg5Ufz2B1 HsajpgwFuMv+fq5fsRKr9Ld6afbu7g/fBJ9An5EjKYxjcG6WZ7VC9rIwcrWYE3gwFDKM DphqfcWmZ83F2YVr3d9+PMpib62TbgApQrq0u4wVM6lfmJl4akd3yibhpKDMgTHXXs+t Ag4SCvtOuwsE+JM8ybV1ur5gBuCgHZDbgYkC5q8x/3XjDb50kNcTMDPTVx02ODc2k3NA 8eOlto6Qmmsx6nA2U8/q9cz6+RjPl1rhdiUtVToFATfdf8GcuEW2yb5rJ15DQgL8WjaG Zk2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=sCZC+hwHjVM1wc/QtvagyRZfm53b6cpkEgSyFbvS4Yk=; b=hPCcaeRe0VOWKZysdjVCliXTM29E3DC8yLh6kEq85u1oENEUa2WQh4QWAKGf3uxUKb ZkspyfFXYSYAOU8XIc8ULFN7vDYeUPVN5anWKMWS9+KIG+kU2Yvvhe0FxN4tIs9kUhY8 OnPH3TWfM+KyanT8rZsB94+iFaXHuO2JTp/vKmIyJHXd/kcbVK2+hk65CMD293/U/Fwi oIji5l+J2OuTmA+DeYn2Ne8lHKYBRXvDZ49FFu8kZc0VrR51A31a5vdG0PWEKo1wz3Tr YOSab/VWUQSkca1V44rbV9UZPx5/kuxYRT+dNvWEcgN6OCTYZ01OgytPm0JnEL5uf287 STog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="E6g9brx/"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ob15-20020a17090b390f00b002290cb1ca2csi4741221pjb.177.2023.01.13.08.27.46; Fri, 13 Jan 2023 08:27:58 -0800 (PST) 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="E6g9brx/"; 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 S230126AbjAMQTl (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Fri, 13 Jan 2023 11:19:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230512AbjAMQTO (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Jan 2023 11:19:14 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D23761EAF5; Fri, 13 Jan 2023 08:11:44 -0800 (PST) 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 30DFrr8B029708; Fri, 13 Jan 2023 16:11:39 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=sCZC+hwHjVM1wc/QtvagyRZfm53b6cpkEgSyFbvS4Yk=; b=E6g9brx/lb54xI8IqJ2gia3DaG2E1ia1oqUsmVFEAmi7zzyyjj2xNU3ynJp6yDNrNREE ovuPkjl/VCGODaKRkhb3iHNsPHuUMsNTxIXdopzNPw/+45uPFbMDC3ZXvmGutYZoqwif Rq3OYbSZYuHt7ih/ucLrSR2oJFGajMbiVsDCjUD/FEjfewetOF0gP4PHYYEJZYyrzr2U H1JcxuC/gYsH5VTnh2C10/K2l+W+lE+AGxy9nDP0DDszMx9cETApBJCLjATRdNRNeZqa yUr1kh5hQC0TUv0ZDj6/6v75uZz7gXkCUZ1bNN7XbrnH3U5OV737jGzi/EisvMf2KXsp rg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n2fwpuj01-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 16:11:39 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30DGBcu7011035 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 16:11:38 GMT Received: from blr-ubuntu-87.ap.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.36; Fri, 13 Jan 2023 08:11:34 -0800 From: Sibi Sankar <quic_sibis@quicinc.com> To: <andersson@kernel.org>, <srinivas.kandagatla@linaro.org> CC: <agross@kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <robh+dt@kernel.org>, <konrad.dybcio@somainline.org>, <robimarko@gmail.com>, <quic_gurus@quicinc.com>, Sibi Sankar <quic_sibis@quicinc.com> Subject: [PATCH V10 1/2] dt-bindings: firmware: qcom,scm: Add optional interrupt Date: Fri, 13 Jan 2023 21:41:13 +0530 Message-ID: <20230113161114.22607-2-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230113161114.22607-1-quic_sibis@quicinc.com> References: <20230113161114.22607-1-quic_sibis@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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-GUID: zLdoekcl3AspWWUXJimAU0DL3Kj_vvwZ X-Proofpoint-ORIG-GUID: zLdoekcl3AspWWUXJimAU0DL3Kj_vvwZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-13_07,2023-01-13_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 spamscore=0 impostorscore=0 malwarescore=0 mlxlogscore=999 phishscore=0 bulkscore=0 suspectscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301130108 X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754925397045442082?= X-GMAIL-MSGID: =?utf-8?q?1754925397045442082?= |
Series |
SCM: Add support for wait-queue aware firmware
|
|
Commit Message
Sibi Sankar
Jan. 13, 2023, 4:11 p.m. UTC
From: Guru Das Srinagesh <quic_gurus@quicinc.com> Add an interrupt specification to the bindings to support the wait-queue feature on SM8450 SoCs. Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com> Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- The interrupt property for scm firmware from a binding perspective is completely optional i.e. not all tz fw running in the wild on sm8450 devices support this feature. The bootloader does the interrupt property addition on sm8450 devices with wait-queue support. v7 - Pick up R-b. v6: - Fix subject of bindings [Krzysztof] - Update commit message to include the SoC supporting the feature [Krzysztof] - Make the interrupt property valid on SM8450 SoC [Krzysztof] - Rebased on Krzysztof's narrow clocks and interconnect series. - Drop R-b v5: - Pick up R-b v4: - Qualify bindings [Krzysztoff] .../devicetree/bindings/firmware/qcom,scm.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index 8e6e9ebb343d..01c861f36983 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -73,6 +73,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: @@ -162,6 +168,18 @@ allOf: properties: interconnects: false + # Interrupts + - if: + not: + properties: + compatible: + contains: + enum: + - qcom,scm-sm8450 + then: + properties: + interrupts: false + required: - compatible