From patchwork Wed Nov 16 11:13:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souradeep Chowdhury X-Patchwork-Id: 20963 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp88241wru; Wed, 16 Nov 2022 03:33:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6qVg0zuTfqnv4nC+Nr2hhzpFLHmskUeVh3UdeFUPuwiysOICoIQwGD2kyiGoumzTHxGZVR X-Received: by 2002:a17:906:230d:b0:7ae:1063:55d3 with SMTP id l13-20020a170906230d00b007ae106355d3mr16441747eja.578.1668598390073; Wed, 16 Nov 2022 03:33:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668598390; cv=none; d=google.com; s=arc-20160816; b=QkjIiDQjqUhjr/4TMvFBoX4br2dtXeBQNr8fZVJKa3Z9IWfSYeTEWnTCfmhWCVUWON 0Yi8j0RkzQdMtU3PayiN5Wc68Ak/s11yrz1Iw5xzwnpOdblaCQYqwsmSnM9EeIhb4dd7 rMCkyKe8FKp5C+pgQgkEsDqlpgtPFUIKdykIOixiuWqGR/7W5zeU2cFwWlDBNv6aqIc2 BR2eWKZqkpWxirag9zNydAHpPFQSDWVjB1nozTpIzTDCNC5ZCKS3d/htJp4/ybVtV7IJ +Dq8YWgBLwILMESNbpst3MpBkJOh38ZBZcstnO1isvRWN33/oJzA9O6vvXk9Hp5Vap48 iSEA== 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=IHVOJ5xAe51suIpB5F6aScRld64dlGhxxWCbQJ8TYhY=; b=y6qfR79KT3FfP700ApDL+gOUPLm5IcWQSUeG1avxJjZ+SrGnpIBzZqZwXTMtWwOzQD 59DwepZWkchGCpKK9us1uzZoP9FNDoHcGJLvyXk04TJ+/LS6M29FpY1mp7UW8PjGoxZk 9id/4UhABCV6QySIiOQwSvvTEJLhVwnmnx4pJWgZbT61PwQJIDdXsMLUV18Jy/d4RNU+ SbgUTfxaSpcKCIbALXxTPRqXHwwQ2f3XnVm/1fia/0ZncTlKuMFNsiUT+B6t/OpnBkm5 jGl12jDhSl4oVZBeRWbf5gHL/dDK3wb8AGcCIK1WTbuJ84VURFnqDwRmy1hPxn1n3YOo ExvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Dec0bOxU; 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 q20-20020a1709064cd400b007ada2ec1a28si11754485ejt.165.2022.11.16.03.32.43; Wed, 16 Nov 2022 03:33:10 -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=Dec0bOxU; 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 S233536AbiKPL0c (ORCPT + 99 others); Wed, 16 Nov 2022 06:26:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232991AbiKPLZq (ORCPT ); Wed, 16 Nov 2022 06:25:46 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6447B4A5; Wed, 16 Nov 2022 03:16:36 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AGB4X4R032677; Wed, 16 Nov 2022 11:15:49 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=IHVOJ5xAe51suIpB5F6aScRld64dlGhxxWCbQJ8TYhY=; b=Dec0bOxUq+9KKmDJJ7idvgL88giBs9Xeb7a/uKiIRb0qEX0rLNMiGW3GEuhs9RGFN4rU cay/8xjul+oimTm3rg5DfUh4S3UfJx93Wu+DrscAeS1f9Iyub+1VrzVt+yByspBnZSOx 0S5iBzMjOV4Ah2V0PrApbdgzWvdfWiUARDMjKmmXRssjiOUpZwkCm42r+dtvbtKhDEtT 3QOAozneQb892MKI8ZUAxCVEBMeYGi90ulAWSBOdBElowDob2K45qSD5496lIQU1rJV5 NSlnQODuuX9HJ79y17I4wmPX7AGNKHnSOrs9i/WF+tMiXtpHCrDodJfdtLwCGOcy+tzk hw== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kvt4a8s6s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Nov 2022 11:15:49 +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 2AGBFm8h015062 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Nov 2022 11:15:48 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.29; Wed, 16 Nov 2022 03:15:43 -0800 From: Souradeep Chowdhury To: Andy Gross , Bjorn Andersson , Rob Herring , "Krzysztof Kozlowski" , Konrad Dybcio , Alex Elder CC: , , , , "Sai Prakash Ranjan" , Sibi Sankar , Rajendra Nayak , , Souradeep Chowdhury Subject: [PATCH V19 1/7] dt-bindings: Added the yaml bindings for DCC Date: Wed, 16 Nov 2022 16:43:54 +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: hL0o82zXC3WBaoP0-vedfIxWuFA5o5vv X-Proofpoint-GUID: hL0o82zXC3WBaoP0-vedfIxWuFA5o5vv 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-16_02,2022-11-16_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 suspectscore=0 mlxscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 adultscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211160080 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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?1749652225145770071?= X-GMAIL-MSGID: =?utf-8?q?1749652225145770071?= Documentation for Data Capture and Compare(DCC) device tree bindings in yaml format. 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..ac3b51b --- /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>; + };