From patchwork Tue Aug 8 12:28:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souradeep Chowdhury X-Patchwork-Id: 132735 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2329003vqr; Tue, 8 Aug 2023 11:56:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH5V1eg6oLdZl17dWui2J3iNAf7lUj8CH/j0IV59/M5VgS4717Ze+h/apqFKc3uZ8ormPP4 X-Received: by 2002:a17:902:dacf:b0:1bc:28a8:f856 with SMTP id q15-20020a170902dacf00b001bc28a8f856mr690975plx.47.1691520967125; Tue, 08 Aug 2023 11:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691520967; cv=none; d=google.com; s=arc-20160816; b=TVA+WMy0Y61XwRBaJsnK2xnLVglEy1uPXpirfCPaTCvQrH88naDN9H7E25gmDOJTQ6 auHFis/eoOZILQf8OmOvEheBJ07chpafUTtdcH8Sgb4yTtTaF5HBP5KXAfAAG5ESbeRJ V2qDGlD+Zk3Nd7UikZADhMK8hv2tGGBkURPm/KMeW60N7jXy8JbR84tWA/j1xsC7S1AT NQlTzU2hexygdZK3Gne/FC71dpjsdgsUV5AlZ0ykD3dIaBbo2B5VnDjXamuy1AgLGTTf IdBgz811ZKt5DxLSX+cHRyHi+ANkvGLyB7KmSWWdX5ss4/Tmp8Sc5yxittDnC6GjC/xe Cafw== 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=9L+iB+ub3r6TEbQMkcIk5JjrUEajBbROhVfVmyFK9uc=; fh=QAmfkNnzreZhS4z3kSBhge4Qldvl29SZIFJcrCU0O18=; b=zoxSRWfZ6V5c7Yna/qzWFzOqywYAbEcnJ7d5W2mPXnfKXhSUAEPdFNyK3nQvxppt2d 3f6M1hrTa7MgTylniDmpF7ON9e6Pmf7n2rOHftFMRVyP8u9XZnHsoHB23w/rn7rwpGov fVaZPGjOIe3I05dRCtaujKM27qfxHtRJQfW1TsnpT9sYw7C009APqFlthEFvk/VwUXvS WBOOuhtwKN+RQHEg/rTqdKpsRGak1YtKQeg3GLKIe9/dx/PbHEtLs585H0GAtqTV/teA rC6P7A/1phqbY/ChxdDzvDCIwQUgpoMR7hVtpCNo5BJEvIcyAotPc95P2/Bu/MHTbpdT QSMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=anj6FD6u; 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 b17-20020a170902d51100b001bc836180dcsi1400037plg.520.2023.08.08.11.55.54; Tue, 08 Aug 2023 11:56:07 -0700 (PDT) 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=anj6FD6u; 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 S230124AbjHHQYR (ORCPT + 99 others); Tue, 8 Aug 2023 12:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229882AbjHHQWp (ORCPT ); Tue, 8 Aug 2023 12:22:45 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42979900D; Tue, 8 Aug 2023 08:49:30 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 378AwHCp005289; Tue, 8 Aug 2023 12:30:05 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=9L+iB+ub3r6TEbQMkcIk5JjrUEajBbROhVfVmyFK9uc=; b=anj6FD6utUGoowm6xMWlB4jLzTwNuiaITlDxdPCKmDi5SYGRZlJQCSQBBAakdmgOwpJg /CVSBODGJwieyL1NO+7LQO1J5SsYuN5LD2YUKJazSuny3nJjeKSz8fAHI5Q5USTK4DSW 1/LZBwf9hZevFGJ1Z4cCliDH0C84GhjKGg8O4aezQ85kMHxX4zsAbx4JfTcz7Nmirxsk fgvNgM5if4aMXc+3De4UV9x4b7qBDIdR+XTemOTprvCKqjPucuCoTI6/AMtqBUfAmxw1 vU+jb+ipZMfjEHVZGNPCU2bnrN0W29k5r3jNJx5R+gW+D8LLkeSc/hFQy+8spF+Qf6np rg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sb9pqsb20-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 08 Aug 2023 12:30:04 +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 378CU30h011627 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 8 Aug 2023 12:30:03 GMT Received: from hu-schowdhu-blr.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.1118.30; Tue, 8 Aug 2023 05:29:58 -0700 From: Souradeep Chowdhury To: Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Alex Elder , Arnd Bergmann , Greg Kroah-Hartman CC: , , , , Sibi Sankar , Rajendra Nayak , Souradeep Chowdhury Subject: [PATCH V26 1/3] dt-bindings: misc: qcom,dcc: Add the dtschema Date: Tue, 8 Aug 2023 17:58:25 +0530 Message-ID: <4fd6f525ce0e9ed071c3f2e5fe13cff7e15891fe.1691496290.git.quic_schowdhu@quicinc.com> X-Mailer: git-send-email 2.17.1 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-GUID: y0uF95m_93DqwypmQOPvU7V-6xaQsYZr X-Proofpoint-ORIG-GUID: y0uF95m_93DqwypmQOPvU7V-6xaQsYZr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-08_10,2023-08-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 malwarescore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=999 priorityscore=1501 spamscore=0 bulkscore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308080111 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: INBOX X-GMAIL-THRID: 1773688289441607425 X-GMAIL-MSGID: 1773688289441607425 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/misc/qcom,dcc.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/qcom,dcc.yaml diff --git a/Documentation/devicetree/bindings/misc/qcom,dcc.yaml b/Documentation/devicetree/bindings/misc/qcom,dcc.yaml new file mode 100644 index 000000000000..572c10e7c2c8 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/qcom,dcc.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/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>; + };