From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2996AECAAA1 for ; Fri, 16 Sep 2022 20:41:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230377AbiIPUlW (ORCPT ); Fri, 16 Sep 2022 16:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229824AbiIPUlS (ORCPT ); Fri, 16 Sep 2022 16:41:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E69D09F8FC; Fri, 16 Sep 2022 13:41:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4DBC862D96; Fri, 16 Sep 2022 20:41:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5224C433C1; Fri, 16 Sep 2022 20:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663360875; bh=ptWVnG4gpvd+jXZkxFNfdAfX6sFI9UiAN/JiSjTv88U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sahSU31jzf3M6f1rVm76CpB6D8d7vCxVdJB4dW3Ab1E5w1UpF2PLOtB077TB5KSGs LaxYGG9xiCeSgCXGM1nQ6eItRJlXg94kxsfJ8n846em7Ng7imGoMVjWdlorZuKbZ6S TXBDhl/J241BJtB4hXYW6Xczq5Gc3hS/yIFFZwQyj7z8TcanXsrMcAwL/kudL02Ri8 FnVHB21BXCnTlH8L4F2gMac3RGCnYHvWKkNNrp6RQVnsRVaN0JZgmfjeaV1DnVGKf5 7qBMMIYEOu7seNtDsuOcbcnn5G63icz/yhuBdvGS/GLYDb1FcoSMgkoSG4fe5fwb3j pFz/dglK/CP9A== Date: Fri, 16 Sep 2022 15:41:12 -0500 From: Bjorn Andersson To: Souradeep Chowdhury Cc: Andy Gross , Rob Herring , Alex Elder , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Sai Prakash Ranjan , Sibi Sankar , Rajendra Nayak , vkoul@kernel.org Subject: Re: [PATCH V11 1/7] dt-bindings: Added the yaml bindings for DCC Message-ID: <20220916204112.hujz3dwjis23tdk2@builder.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 16, 2022 at 02:20:13PM +0530, Souradeep Chowdhury wrote: > Documentation for Data Capture and Compare(DCC) device tree bindings > in yaml format. > > Reviewed-by: Rob Herring > Signed-off-by: Souradeep Chowdhury Reviewed-by: Bjorn Andersson > --- > .../devicetree/bindings/arm/msm/qcom,dcc.yaml | 44 ++++++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,dcc.yaml > > diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,dcc.yaml b/Documentation/devicetree/bindings/arm/msm/qcom,dcc.yaml > new file mode 100644 > index 0000000..8396b0c > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/msm/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/arm/msm/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 register region > + - description: DCC RAM base register region > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + dma@10a2000{ > + compatible = "qcom,sm8150-dcc","qcom,dcc"; > + reg = <0x010a2000 0x1000>, > + <0x010ad000 0x2000>; > + }; > -- > 2.7.4 >