From patchwork Tue Dec 13 14:07:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 32830 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp141038wrn; Tue, 13 Dec 2022 06:10:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf6uK76bUtYsNVd43v7b8sN+hwMFbM11ZLgcqVNFkfwcJSkbv+6EAqFuWRthNYQx+rFNXSw4 X-Received: by 2002:a17:902:8303:b0:18d:4b59:cae5 with SMTP id bd3-20020a170902830300b0018d4b59cae5mr15752700plb.49.1670940617708; Tue, 13 Dec 2022 06:10:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670940617; cv=none; d=google.com; s=arc-20160816; b=mPaAuWndJtOhhZitgBXZIiOKSnTrwZlIFHn8jjr1Wj1aMbdJEwL8VKE3EQZ7aSe2Zn FrzJA9cS8uSZvoiabhUm4KwMuKutRv+2HYecqTL5OqLnyL7yFpF8mDr7uPxCMV7zn6Ki sSdzkNyr1qIlcxBfTgGS/elj5IzwxNahmdFj73jHZC0W4oevAB67a8XqN1HnGWGC3Fbw YcsF1E/0MnLsrmE4xEZ79D3oDP/TBQXKcCarbAgpjZahKpmXRyMSuz5k90TtlK4nHgZQ hAhNgCKHzypIl70vKD+hghRVkmCOZlUlJkDQU/6pU1D6Yg6rlOR214UB9zOd8B5rQmrO MvhA== 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=d9vC3/6r4RbGZMDzSejEODqDGqHxVnirnnqfAfUdkTw=; b=Nqyw2Lw4FPO72KAD8hvy7Mxep+Nuh+rqwQ4iZIPe9aoCddTUyaGDi+aiK6i5zYeh4l SK3m+OI9JFnBIezyMl0D5hjK+DwrD5jAdqsQZN5ohfaZV6PsMocNJjwpVdXUZEIJ60uH ySbv97R+hgy1FrdE+d6bM09Mf4G+0OO4Az1SAHW0atCfzeYHKryxX8mGvmz+b/WR1oAK j4xNwbyy4zfEGtUDCB7i4ksGt9g9ABbBIRzFmmPSBRtLnj5O+L4Tha29Udv9VkrR6e2O fiyLli6Fp21vlT9PcYtHKrowF685q0n5LLJpI2mAKDaDUR8a5ianKRe7H8SKd6Hvo4gX CtCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OucyUW0F; 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 q9-20020a170902bd8900b00189c6fbf950si11746429pls.595.2022.12.13.06.10.03; Tue, 13 Dec 2022 06:10:17 -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=OucyUW0F; 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 S235565AbiLMOIc (ORCPT + 99 others); Tue, 13 Dec 2022 09:08:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235824AbiLMOIT (ORCPT ); Tue, 13 Dec 2022 09:08:19 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBD4120BE6; Tue, 13 Dec 2022 06:08:16 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BD66EYR025182; Tue, 13 Dec 2022 14:08:04 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=d9vC3/6r4RbGZMDzSejEODqDGqHxVnirnnqfAfUdkTw=; b=OucyUW0FBjIHIbrvhYOXk1YNvfNYpYjNKLWnfDaFtPx/8wwF0Q5B44XYlQM2cVHbv2/R FgQUYMUgbsyKAkao6lFEuwam2S178XRUsQNjvUpEO1tyL+vUNcGakCee0PKoIsZ5AMEB XRN3++iUFylzGU04CkUXvkgLsM4x6/D3tu2tW8Fd2rc/fu09AC3aIWkDyK1SODarnSsR AYXTvmxcqXQzg8kSlQBjEgcgpxwvIB2v+lyY2QKMLFQMwCwCcIuoK0nGRIe60e/i453G d6p8O3NdumNfkFAQFj+3c3uiYsH4XUcen+k9Mz6KaDjBUBiO3EogEtrKDrxnMsl8PagD pg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3medypa8ka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 14:08:03 +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 2BDE82ZB000651 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 14:08:02 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; Tue, 13 Dec 2022 06:07:57 -0800 From: Sibi Sankar To: , , , CC: , , , , , , , , , , , Sibi Sankar Subject: [PATCH 3/4] dt-bindings: remoteproc: qcom: q6v5: Update memory region requirements Date: Tue, 13 Dec 2022 19:37:23 +0530 Message-ID: <20221213140724.8612-4-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221213140724.8612-1-quic_sibis@quicinc.com> References: <20221213140724.8612-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-ORIG-GUID: L5zoXTJmYHZ2McYZWBL4usgADxG9MPkM X-Proofpoint-GUID: L5zoXTJmYHZ2McYZWBL4usgADxG9MPkM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-13_03,2022-12-13_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=999 bulkscore=0 mlxscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 spamscore=0 malwarescore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212130126 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752108228977805413?= X-GMAIL-MSGID: =?utf-8?q?1752108228977805413?= Update the bindings to reflect the addition of the new modem metadata carveout on SoCs that use memory protection before transferring control to the remote Q6. Signed-off-by: Sibi Sankar --- https://lore.kernel.org/all/20220511161602.117772-7-sireeshkodali1@gmail.com/ Sireesh had started the conversion to yaml a while back. I'll take over the conversion from v2. .../bindings/remoteproc/qcom,q6v5.txt | 29 +++++++++++++++++-- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index d0ebd16ee0e1..89772d026363 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt @@ -104,8 +104,24 @@ on the Qualcomm Hexagon core. must be "mss_restart", "pdc_reset" for the modem sub-system on SDM845 SoCs -For devices where the mba and mpss sub-nodes are not specified, mba/mpss region -should be referenced as follows: +For devices with the compatible strings below and where the mba, mpss and +metadata sub-nodes are not specified, mba/mpss/mdata region should be +referenced as follows: + "qcom,msm8996-mss-pil" + "qcom,msm8998-mss-pil" + "qcom,sdm845-mss-pil" +- memory-region: + Usage: required + Value type: + Definition: reference to mba, mpss and metadata reserved-memory regions. + +For devices with the compatible strings below and where the mba and mpss +sub-nodes are not specified, mba/mpss region should be referenced as follows: + "qcom,q6v5-pil", + "qcom,ipq8074-wcss-pil" + "qcom,qcs404-wcss-pil" + "qcom,msm8916-mss-pil", + "qcom,msm8974-mss-pil" - memory-region: Usage: required Value type: @@ -198,7 +214,14 @@ on platforms which do not have TrustZone. = SUBNODES: The Hexagon node must contain two subnodes, named "mba" and "mpss" representing -the memory regions used by the Hexagon firmware. Each sub-node must contain: +the memory regions used by the Hexagon firmware. For devices with the compatible +string below, an additional third subnode named "metadata" representing the modem +metadata memory region should also be present. + "qcom,msm8996-mss-pil" + "qcom,msm8998-mss-pil" + "qcom,sdm845-mss-pil" + +Each sub-node must contain: - memory-region: Usage: required