From patchwork Fri May 5 06:36:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souradeep Chowdhury X-Patchwork-Id: 90309 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp191882vqo; Thu, 4 May 2023 23:43:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5baNwMXYUJX5wy56yXDeS9XfyOcE/LqxMDpkSIyK0xWomvhbWTORWURhmNzu0AShbgCYlb X-Received: by 2002:a17:90a:cc0e:b0:24e:180a:e1e5 with SMTP id b14-20020a17090acc0e00b0024e180ae1e5mr439774pju.26.1683268992411; Thu, 04 May 2023 23:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683268992; cv=none; d=google.com; s=arc-20160816; b=Jg2k+Sx6wkzr8Ris8xQWTMH/qRhVvM/XKGjClcrwWuFVkY1BuyUjzrVo0/ZeNr3/G+ FTUJx1O3WGKZWJme3WCeFzLaryuKFjNPCP5ge5KTiU44/q/08XK8rlykkRtcxLRVePWP wGPnLOVfBP4zWOEX2Bmfoo2rt9iP5CaE0UBK3b7d2y71CDu1D11ZrQjVchcM+ynQ3+0Z vE0deTIUQQgWSgRCvGcWPef+Dp2RVbMyfNZJ7K/kK3odyRDTqSyIMzZejz5i7juELWUx EyZOcasc27ptdarM//i1ahzsFtaCfz6ZjxkG0TxviTl/fPkapfE4UjOgFiBIwkWlpd1a o7PQ== 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=; b=rN+HMysZ9jd/Is8CxhcbVr7phESQs2sndyg53fdrxxwZWov4EjjBcqVYcEVaki/Qig BrsPA5JWsE+AfriHTEHV6YBL8t5CTRz1U79GGJ8eGNBrfNaB1o0wsxkOu3pLGFhiIjwH DNTwHzwJ0juPWkOrr5JVb0Z6A7jUbBpg+He+gaTJwmNQTvFOd76pgvATY5suNPy2Aoj2 jGyRreYjz7t5oznDSmjix6Lo9QKA6E7NthUeqr0jhOGwI2WIvra+q+/EDV9J6a28xtKl /OoxmS0H8YGSoAmStj7PQA1fSWE9hjBZooHvY03P1qHh8X1+ZeICMGvpsEMM83agT6El M+iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=hD0pjDoq; 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 i14-20020a639d0e000000b00518c878b1dbsi1255669pgd.356.2023.05.04.23.42.59; Thu, 04 May 2023 23:43:12 -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=hD0pjDoq; 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 S230450AbjEEGhS (ORCPT + 99 others); Fri, 5 May 2023 02:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbjEEGhQ (ORCPT ); Fri, 5 May 2023 02:37:16 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6556B903F; Thu, 4 May 2023 23:37:15 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3453pxa2028286; Fri, 5 May 2023 06:36:57 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=hD0pjDoqXr7WNo2lSur9dWV1UVgHzi9J1MvMOPOIZYR6mAvMIsvHILQCSuJ8j2biguW2 JCqa2ct7lznPGYvSMs0Tr9KZ2TnwZJaIl1LnmgpZxHNRPvZR84EiblpqhbarSnv7+zkb o90qmR3gVkoTpPtAIGGKLeXM5MZtJ6n4hGvKElnqphYuvqJC/tBf8VgcTUIS67iNN57R e6IXhs5b4yeRqsz1FMsI4R3rC03jkvkSsW3XoQqGjApojknwyIbwq+In9xnmfaVe/qlq zD2+geeu8LwTgyfh7nlMrICCvW3cEut7ic/x1fRDF9m80looKxuIG5VPEKm+zb+LmyTR dQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qckf70y5b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 May 2023 06:36:57 +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 3456aufl004091 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 5 May 2023 06:36:56 GMT Received: from hu-schowdhu-lv.qualcomm.com (10.49.16.6) 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; Thu, 4 May 2023 23:36:56 -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 V23 1/3] dt-bindings: misc: qcom,dcc: Add the dtschema Date: Thu, 4 May 2023 23:36:21 -0700 Message-ID: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) 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: x23Dq8O44zbUjts3S2hAnsN6iiu9tcOg X-Proofpoint-ORIG-GUID: x23Dq8O44zbUjts3S2hAnsN6iiu9tcOg 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-05-04_15,2023-05-04_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 spamscore=0 bulkscore=0 phishscore=0 adultscore=0 malwarescore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305050056 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?1765035466673123884?= X-GMAIL-MSGID: =?utf-8?q?1765035466673123884?= 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>; + };