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 X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2693C4338F for ; Tue, 17 Aug 2021 21:30:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CC91600D4 for ; Tue, 17 Aug 2021 21:30:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6CC91600D4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZDPIvf6y03eDhLNBYeI2HydH+a+e0uf5rOp5bB4Ix3Q=; b=CbJnNcdQWfc4Ar YZGj0j35o+E8LrqDJwdS+UkvfEXrWFjX9ddZsuxSAzAMq7I42wvTEIFZt3ZFmgeTFlqXJxJP87t3N jnRILGNNXJS63Rztz597qwQaE3kXcBcf4wM2QPXafOzjWZ+cpl1oppnFkd9D/roNPH+CL9sa3x/Wb TNMkjXd/DyviAxwjUd+SS8YMFlsNnGlVxQnMgWV5kUx0jGNkxCHCyzE7pc6xK0EemhgSbdxGDFD/D sPSvmnzU/cNGDXSaPGjLnhTncyZKwIaOWJBCq71aCBe2AbodaDQVQmzdgZxj4k5P7ksLaXguSsedv ke0XiGR4sfFDSrrhLbCA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mG6dd-003Y2S-Dw; Tue, 17 Aug 2021 21:28:49 +0000 Received: from mail-oi1-f178.google.com ([209.85.167.178]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mG6dW-003Y1M-6H for linux-arm-kernel@lists.infradead.org; Tue, 17 Aug 2021 21:28:47 +0000 Received: by mail-oi1-f178.google.com with SMTP id r5so1241367oiw.7 for ; Tue, 17 Aug 2021 14:28:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/Mx0UVzNRYFUc4QkujNRHwvT1qaO2NYmFNn3GPRqcTo=; b=ZeLSS75vpe+lloqO/+PM+va73N2e21lRv0ZmO0ZSwXyqaQn01wBHfTGBPAJgWHZrjk kTXg9P6n2ypHV6KuO/6TZyfL6h7cJK5pZzgxUfGlqs9r93iXi+5+3R5yjxCnzVVVfO0+ +uhT74O4+aMxF/xuC2GYuC2QPjs8rdS086AQdoUPIeMR7m/nxFDqqPojf9x6iwfBsZaA egCFzEZE3pfE9GvE9UHgPWpNgAK/zPlbcC2HDKdPPHxB25L2nJVwLkSNEUyd7ASM5Z6x kcM83t1TO6U3DGv93PhB0vA1oaIGYJU9g+Il+i2+tR0kPM7eajwntZZPY8Gj8eLJARO7 mQ9A== X-Gm-Message-State: AOAM532oE22VGPBj+y+DFhkjJUEu/+5fMWpIIPvhLa+ae97sbiBtrX2l 11yRF1hzuijbVWYVPbsJtg== X-Google-Smtp-Source: ABdhPJyWfwcgnxxPtv29RdxjJg7igDW3al5JiPwNMeYVLchoN80AjbsevgMXxmfUee03utS4tclsLQ== X-Received: by 2002:a54:4008:: with SMTP id x8mr4029640oie.113.1629235721366; Tue, 17 Aug 2021 14:28:41 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id x60sm612178ota.72.2021.08.17.14.28.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 14:28:40 -0700 (PDT) Received: (nullmailer pid 872158 invoked by uid 1000); Tue, 17 Aug 2021 21:28:39 -0000 Date: Tue, 17 Aug 2021 16:28:39 -0500 From: Rob Herring To: Sai Prakash Ranjan Cc: Andy Gross , Bjorn Andersson , devicetree@vger.kernel.org, Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rajendra Nayak , Sibi Sankar Subject: Re: [PATCH 2/3] dt-bindings: msm: Add QTI download mode support binding Message-ID: References: <217c22d40e0a9db713e2a55623408eca88166897.1628757036.git.saiprakash.ranjan@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <217c22d40e0a9db713e2a55623408eca88166897.1628757036.git.saiprakash.ranjan@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210817_142842_277403_C0EE99F5 X-CRM114-Status: GOOD ( 21.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 12, 2021 at 02:47:41PM +0530, Sai Prakash Ranjan wrote: > Add device tree binding for QTI download mode cookies > region found in IMEM. > > Signed-off-by: Sai Prakash Ranjan > --- > .../bindings/arm/msm/qcom,dload-mode.yaml | 53 +++++++++++++++++++ > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,dload-mode.yaml > > diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,dload-mode.yaml b/Documentation/devicetree/bindings/arm/msm/qcom,dload-mode.yaml > new file mode 100644 > index 000000000000..90b9b6a9b75e > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/msm/qcom,dload-mode.yaml > @@ -0,0 +1,53 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/msm/qcom,dload-mode.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm Download Mode binding > + > +maintainers: > + - Sai Prakash Ranjan > + > +description: > + Qualcomm download mode cookies memory region in IMEM is used by SDI > + (System Debug Image) firmware to determine whether to enter download > + mode or not to collect ramdump for post mortem debug. > + > +properties: > + compatible: > + const: qcom,dload-mode > + > + reg: > + maxItems: 1 > + > + qcom,sdi-disable-regs: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + description: > + Phandle reference to a syscon representing TCSR followed by the > + offset and length for SDI disable register. > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + imem@146aa000 { > + compatible = "simple-mfd"; If this is just internal RAM, then we already have a binding for it and 'simple-mfd' is not it. > + reg = <0x146aa000 0x2000>; > + > + #address-cells = <1>; > + #size-cells = <1>; > + > + ranges = <0 0x146aa000 0x2000>; > + > + dload-mode@1c00 { > + compatible = "qcom,dload-mode"; > + reg = <0x1c00 0x1000>; 0x1c00 + 0x1000 > 0x2000 > + qcom,sdi-disable-regs = <&tcsr_regs 0x3a000 0x4>; > + }; > + }; > +... > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel