From patchwork Tue Dec 27 15:22:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souradeep Chowdhury X-Patchwork-Id: 36936 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1442728wrt; Tue, 27 Dec 2022 07:24:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXvZvnZyNoiPFV9HgvuUoWRGXbDCBn/s1Hdbuv3+QB0orIMu6+2EjN6FTcMSbEOnt98eK6+h X-Received: by 2002:a17:906:13d6:b0:7c1:99a7:e10b with SMTP id g22-20020a17090613d600b007c199a7e10bmr18039522ejc.49.1672154689643; Tue, 27 Dec 2022 07:24:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672154689; cv=none; d=google.com; s=arc-20160816; b=JudaQOk70sowlOHmOY9k1DAlCbYaaYCJY5PA7yW/uAdgKcMTPG/NZ+kwz6uiKZ81Bs DOGHnLegNFPkkNiBXjB6SYk6pOp4syonTOY57qj62nZ9SWyxxTiv5SjX10wxaxxUa1TE dTI6eU4SAo3Dv2cZXj/kgCJjLspGWGCvxL4dttPH/xi5blAQdM8e+VxvUzhKqKjWxPKJ DCqi3tUjA9p82wXqGTaURcREenkTVoiJ/N1HiJWfyx2RJtx2lbg8HXOgD2TrYX/xOtsH qrQxRUYop/9m7KsaZQVV7RdSJa0TyXEGTeAShxfCd7+fMZohXbXTnJ3XJlFeiyIMoMY0 VYcA== 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=KElBtO6M78HixWLNchWQvcAkRlf9PhVfXIQ4NQofefY=; b=LHHTCw42s4NMV9FdM9Aa7S+GGicLKX7NRZHuNxFa6iI5nHMCdG09aoaChpU/5ZUo79 Zz8E32WT5gFTCLEADZXImRIkwoPGiaZLos1alCkEWMcQuTF6s5m1q1gw8loVrJTFmLNV HDNgl2UU2igm2C2jy7+riqvs20AzKrIDgoNOkX7DiO37vIKU6R8Q6OZaaVqCwbPvEH7C mzYDb9RGYUuCEX3S6b8BrDh8BHS6NKthUjVbhG/9z29Nn5NQR4z3yomnaUszuhSIL2Yi oRYfoNx44tzenmtQc3sVtq40hBO+Du5leslrZHl/Oe52rSbyePrnmtZVrrF+XSS9pki6 i8jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="boG/Yp5j"; 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 cs15-20020a170906dc8f00b0077fc66b581esi11699981ejc.688.2022.12.27.07.24.25; Tue, 27 Dec 2022 07:24:49 -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="boG/Yp5j"; 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 S230209AbiL0PXv (ORCPT + 99 others); Tue, 27 Dec 2022 10:23:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbiL0PXr (ORCPT ); Tue, 27 Dec 2022 10:23:47 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A0F8BC31; Tue, 27 Dec 2022 07:23:46 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BREmwUo027424; Tue, 27 Dec 2022 15:23:36 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=KElBtO6M78HixWLNchWQvcAkRlf9PhVfXIQ4NQofefY=; b=boG/Yp5jn9pris9pVGjAFJb0EWavwKnmk0eIVGwJc2fkPSyWvlGGKMZ9vfb+MTbZ25Pa 8UDlkvUOxqAcgTo4nP5EcpKgY5S9js1R+B0y1DJbnxjGcFM1pitUr3t/lEVSRt4Jidus Q7K2pBFlucFV9AqxlgrHJnwc7uyOmFyIqDkO+gDraN3UFK2qF4YPVNcC72PtRmmh5Oz1 6b7KQwotawiwVR7cd3YvqtajHFh/CQ186wWZYCoP6DJNhlklqxP9GVbHjpNM6JTmyOWW RU1lDFpfG5MThjkO+xg36t4ZecJYWzx2OAaCyjn8jftzTLKKojQdGveuUbd4xwiUGn7O TA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mnrd1cwun-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Dec 2022 15:23:36 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2BRFNaNe009362 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Dec 2022 15:23:36 GMT Received: from blr-ubuntu-525.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, 27 Dec 2022 07:23:31 -0800 From: Souradeep Chowdhury To: Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Alex Elder CC: , , , , "Sai Prakash Ranjan" , Sibi Sankar , Rajendra Nayak , , "Souradeep Chowdhury" Subject: [PATCH V21 1/7] dt-bindings: soc: qcom,dcc: Add the dtschema Date: Tue, 27 Dec 2022 20:52:45 +0530 Message-ID: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: 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: 1qOxmx4-omLc2plWlctdQkaYrn9IpOTK X-Proofpoint-GUID: 1qOxmx4-omLc2plWlctdQkaYrn9IpOTK 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-27_11,2022-12-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 spamscore=0 malwarescore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 phishscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212270125 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?1753381275825256641?= X-GMAIL-MSGID: =?utf-8?q?1753381275825256641?= Add the device tree bindings for Data Capture and Compare(DCC). Signed-off-by: Souradeep Chowdhury Reviewed-by: Rob Herring Reviewed-by: Bjorn Andersson Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/soc/qcom/qcom,dcc.yaml | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/qcom/qcom,dcc.yaml diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,dcc.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,dcc.yaml new file mode 100644 index 0000000..ce7e20d --- /dev/null +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,dcc.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,dcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Data Capture and Compare + +maintainers: + - Souradeep Chowdhury + +description: | + DCC (Data Capture and Compare) is a DMA engine which is used to save + configuration data or system memory contents during catastrophic failure + or SW trigger. DCC is used to capture and store data for debugging purpose + +properties: + compatible: + items: + - enum: + - qcom,sm8150-dcc + - qcom,sc7280-dcc + - qcom,sc7180-dcc + - qcom,sdm845-dcc + - const: qcom,dcc + + reg: + items: + - description: DCC base + - description: DCC RAM base + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + dma@10a2000{ + compatible = "qcom,sm8150-dcc", "qcom,dcc"; + reg = <0x010a2000 0x1000>, + <0x010ad000 0x2000>; + };