From patchwork Tue Jun 27 09:49:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souradeep Chowdhury X-Patchwork-Id: 113338 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8082240vqr; Tue, 27 Jun 2023 03:11:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4J9KmbOVtjlspyGvXniqY9G2crIs2rRJuEbJRrdOgCGuSAdl8WcJrJuh2Mdf5zYCnP2Bi7 X-Received: by 2002:a92:d0ca:0:b0:345:8abb:5b2f with SMTP id y10-20020a92d0ca000000b003458abb5b2fmr7038696ila.12.1687860714227; Tue, 27 Jun 2023 03:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687860714; cv=none; d=google.com; s=arc-20160816; b=Sqc6sovKVwqRNq4QftEhvVt4Yw6bETRSMgKhd3lb7Zyy8nmWdbuox+ZKFFG4bmsOnw g43Oyz01caldYmFA7XLDJMWe10pL0AzPTQMjv1yVfzKfnng9au4lnkyQs2luB+e53hqW OKjwuugoRVpzOvmGCcZo82eEeOWnATXmhg4aNKgyBfoZ6D271Q8E0k7zlcqhdUt6WESd ejS5pExlSrh37KmwqHGaQ77mCxvJptMQdDB0VObuQRMm8tC/NJdWpgsdQsK08OdF1IWv MF+1+EzguXhpzRAh1079iF8Gkp+LmzlcP8j6C35Szk+Ge1TOMJmb1FB69JOUzUrzUP6U CYcA== 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=vgJ4iAzdiM33EC8ZWdW+nD5E82RrsRtsmeG4aVPIPh8=; b=ipIySlIG42ea3TgMu7vHOIMUVv8mZrX2qxrZPOEqL9Yh172Q075n3ytXP94nq8O5i0 a+k2sSttq8HBKPVVGfW5RofeSw/vHQm0xzQBKWTFz50bR5uqrllnoxSBEEET9vBjZ7bw tRvSQwgm1kKXqQFkF7HEfobZr35oSfEJ0e6t67OPxBKVArRqu7X3nlCPyctiTZX2WKWf kGwLnIeSpQoodZSctys/4z5NrVRUt5FoeqzDRYpFwCDk1zThmYWixDBWarl7uMyStkdB YcwYeLdzM3kWA6b0fBB3eoB5IWd+V1PQYKJJkTOBYJmofqgbuJOn94WF870Vder+R+9h EtWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=aWnyyjXF; 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 65-20020a630244000000b0053fa62e7c4csi6717364pgc.776.2023.06.27.03.11.40; Tue, 27 Jun 2023 03:11:54 -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=aWnyyjXF; 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 S230046AbjF0Jvj (ORCPT + 99 others); Tue, 27 Jun 2023 05:51:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231464AbjF0Juy (ORCPT ); Tue, 27 Jun 2023 05:50:54 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1540D26BD; Tue, 27 Jun 2023 02:50:53 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35R6IQJ0000922; Tue, 27 Jun 2023 09:50:41 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=aWnyyjXF4yGt5SkOCkHvPzBz2vRWPXJmlgUIUSDqAR54oMZFBWujZSy6f7l54XnPPu4T vvUmikefqf6WCjJHLjn7OuxZc7GkWO3XI45sPG3vpAN77NSbegFNIevB30OCsX6thBjT OSFAswMy+f/fYrzOdtqKKy3PK6lv0YIIC26uVqm106yuj3ps0k8ckyrUX1X9rxY27wrR M4XjW/ldwRHpJ+1YYD9Q8Bv75FZ2sv+VUw6oUVKt3DHFbV9+X0QdWpgjG7f3jHhCVLzJ AKeJocfA0IT1cIRDlmwNCCijCzRLSMs9vDyavlOt660AT3e8zluv3CCXM/Nz/wMz47mM Tg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rfc0da5na-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Jun 2023 09:50:40 +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 35R9oJQK030748 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Jun 2023 09:50:19 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.986.42; Tue, 27 Jun 2023 02:50:12 -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 V24 1/3] dt-bindings: misc: qcom,dcc: Add the dtschema Date: Tue, 27 Jun 2023 15:19:24 +0530 Message-ID: <1c657427d572cc4143e2787f473c59c293d09a71.1687855361.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: dSygLvgkZIFgl1okw3VooV8qdQ9ywOAS X-Proofpoint-ORIG-GUID: dSygLvgkZIFgl1okw3VooV8qdQ9ywOAS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-27_06,2023-06-26_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 mlxlogscore=999 clxscore=1015 mlxscore=0 adultscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306270092 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769850236537385394?= X-GMAIL-MSGID: =?utf-8?q?1769850236537385394?= 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>; + };