From patchwork Fri Apr 14 13:59:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souradeep Chowdhury X-Patchwork-Id: 83420 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp409579vqo; Fri, 14 Apr 2023 07:07:51 -0700 (PDT) X-Google-Smtp-Source: AKy350YdwmKkE+2jROjp1FrfCMOAd76Y5y3ObvhYKq1pibCG8ODRewGzt3FlBc08Nsf/t+dXf6UL X-Received: by 2002:a17:902:f541:b0:1a6:ab9c:ea18 with SMTP id h1-20020a170902f54100b001a6ab9cea18mr380216plf.42.1681481271575; Fri, 14 Apr 2023 07:07:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681481271; cv=none; d=google.com; s=arc-20160816; b=Hs61wQp5+4GLhZWDR96nJM3zR3VCrMZkAyr24A02esaUX9K0cmgSBa71kKemDJAY9Y EXN4N26O2SjdF6Kngv5lMdT4V2uLqBtSLGvjb6PxazRULXyAIjNucYh7lZW9lWV4qOSn jLbuLVEz6Elb3wCSSxEYT2ajq3pQ8h3Xm9K4fppg+B6g2KmW0bgwcEysk7z/ACDvY2Gp AwZSSw9sKjcqD773+8HQrLbN+CG/D97Y+iDse9i2k+8KXuHmE8j+/VjaggQyfATahtGz 9//VHIp6lobWCvz0XmzOkvPxN10/hK+As0fb8YP2QoSJi3dNFD9tikbF3PFzgWtXM8g5 8nZg== 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=UjE1IkCj1dcwQLcJSdudDChBCOWAJiSTOxX9l5nFlJ4=; b=oQkMcc1hxZ+hD4VkWB2LmHID1YptiErO3X5PoIVbST0zYerFBlpKdtZWGsgmgQEruI joJTuKcqXur8RSKw7fatuK9an0sbDbktlPYRxXu4s+PwGXiZkiXs+nt1QR1QGdQ107uj grKK7sPvj+3t1ncxJlNjrYhUNOBGB5k/fqHDHYxbuY0LNWyPR5Jg3uyxLCbiVxs8z1wO m32OOL+P5gUWnJMgXHZYBm36FJ8wIVMQ6qCFC0YBW8nEYT7+y+9+v9m/cboB34R7usT4 pTikg+4BNBkDcFDpyymWNrc3NU80c+c06rTaCTeu4NrGeHNXAH3DuTRjNCU0T+7sQYK8 WEdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KXAvCohF; 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 bc22-20020a656d96000000b00513965a1e60si4035831pgb.902.2023.04.14.07.07.37; Fri, 14 Apr 2023 07:07:51 -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=KXAvCohF; 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 S230096AbjDNOAR (ORCPT + 99 others); Fri, 14 Apr 2023 10:00:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbjDNOAM (ORCPT ); Fri, 14 Apr 2023 10:00:12 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9053FB455; Fri, 14 Apr 2023 07:00:08 -0700 (PDT) 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 33ECtiYS021155; Fri, 14 Apr 2023 13:59:55 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=UjE1IkCj1dcwQLcJSdudDChBCOWAJiSTOxX9l5nFlJ4=; b=KXAvCohFup6GgAfnnf93pMMUe9r/0OVB1/2LS9JucXeHhFmKcrohDWuz9jpnSsKbLwkC IrDNPDezD+SNKa/OjAoYeIfuIJ/jyc2S75GWtpxcc6xYrzlpWAJzaKgzrLaSWx6WbBRb 8KadYB232x6Y7vc248qZyH+nyjG7WsZbOTBFpZjEd2uBkZ5VgohxyyS6G9GriyuWgD0Z Hk5QI7uTFrn/AS+afsEOwaksZeeZc+UFBJeVeAmMJfRaUNbgcObMLadcFRWGsIhmgsQb AKS/S3v9MivUf+yFiQNYmCkEST3JK0L3Dx0Uhm7lMzSGEzcN9hgmKZ3nsUY9Tkno9bBe SQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pxxhkh8p7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Apr 2023 13:59:54 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33EDxs4K017114 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Apr 2023 13:59:54 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.42; Fri, 14 Apr 2023 06:59:49 -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 V1 1/3] dt-bindings: misc: qcom,dcc: Add the dtschema Date: Fri, 14 Apr 2023 19:29:11 +0530 Message-ID: <652d2e5e5066d002c427dcf549e11952ad37a7d6.1681480351.git.quic_schowdhu@quicinc.com> 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: nasanex01b.na.qualcomm.com (10.46.141.250) 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: JMQmlayfAmzGkbCTBN1THqJn-fjCHQp- X-Proofpoint-GUID: JMQmlayfAmzGkbCTBN1THqJn-fjCHQp- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-14_07,2023-04-14_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 adultscore=0 clxscore=1015 bulkscore=0 spamscore=0 suspectscore=0 phishscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304140126 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,T_SCC_BODY_TEXT_LINE 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?1763160905793958583?= X-GMAIL-MSGID: =?utf-8?q?1763160905793958583?= 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 0000000..055f3cb --- /dev/null +++ b/Documentation/devicetree/bindings/misc/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/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>; + };