Received: by 10.223.185.116 with SMTP id b49csp3978555wrg; Tue, 6 Mar 2018 08:00:18 -0800 (PST) X-Google-Smtp-Source: AG47ELtX9m9ITFIT5v8XkY5KPrvKuXve13c3pj7lJhA+UYXhIDzTHPkALZtU+x9sBnXlBBJixbMV X-Received: by 10.98.76.26 with SMTP id z26mr19578282pfa.220.1520352018804; Tue, 06 Mar 2018 08:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520352018; cv=none; d=google.com; s=arc-20160816; b=Edpc7H08Jv8VwRakTAv0L7MYGEx+fGt7q5IKqRqKWGxtU8HXPLAi6IIhnwK+FnUpen xOaWz02EgDqE3doITaLsnExTfgO+d4jHYongc8P89Q+7QXQ463UyKg2w7jrorMojDewj ZIN8n1g63GiiY2XmQyISbLMBgM9QN5J+GT1edOp6kDUgV0nzMK8qeg8swmOE4qvcRew+ i1TX6qhF0ZIeDCxepvXvAr1GhLZAVJRJth5dfL922q6aT9KUHf/OfyJcGJt+uMVMwVeo ihTNZxteo0S1BhrN9jJKbCbtlxhMR+/1DTp1GAQpvggFJWPAUoqGZoUvqKgR3sSyA5tE rz3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=zRIB6V6OP/AEP+auF5HI1AAiZ8vOFe8A5yn90WVjMT8=; b=Yvo3bmZGnLCps28hib7/vV8eVT7GGYaPT58xLva7JEaNZd7IX4pTMnRIvQY3RR0Mf0 uJ9IzNM8IrC/F5QsdIHF/+NiYjiQEi0/5RbChN22NzNj1i9I1YBqU4AtyV0IuWxtxln7 aBUtPxhQ2Myn59LGB2ITFNNaqDHIj/+/ASZu7pgZX755/5c5l3lr+1TS2jpPqH0GePjA dKSGEBarz2ZqzPFM6owyeXE85HDWnY+1q6wEj+YAutKdB4z4nEoIsAiZ24YoIS1bNZ/m liAcnkV3N1+cjM35FoC5yZdP8Fs3t4yVYyax6hvE/Iyb+bd6pA91SYW+y4DmwKo3l0L5 CbKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=FaymhzRa; dkim=pass header.i=@codeaurora.org header.s=default header.b=mn0KcMF+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r64si12229735pfd.303.2018.03.06.08.00.03; Tue, 06 Mar 2018 08:00:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=FaymhzRa; dkim=pass header.i=@codeaurora.org header.s=default header.b=mn0KcMF+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753868AbeCFP5o (ORCPT + 99 others); Tue, 6 Mar 2018 10:57:44 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:47094 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752997AbeCFP5m (ORCPT ); Tue, 6 Mar 2018 10:57:42 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 48BE56053B; Tue, 6 Mar 2018 15:57:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520351862; bh=rcZKfmSFSBdTbuCgMNQobv7RxJsGyECOkx12j35dho4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FaymhzRayO50gc4EnWGvbvlm/zy1O0mV6fW1qOAq7rTZPRKTr4nPW7AsmjEz9WmS+ u8o8fdXiSmvgdRkTn228Bt1YK9AlJqHPaKWL7a+kfok7ksJCOMUzvRoLMllJqvwA67 sRZwp0azO1aA0ldk8Fck7h5XPTbFI6fIxmS+8sAc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from localhost (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9A7B6600E6; Tue, 6 Mar 2018 15:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520351861; bh=rcZKfmSFSBdTbuCgMNQobv7RxJsGyECOkx12j35dho4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mn0KcMF+AM09FFggIhGOTQg4kV98veyvLbgkEkIyMPl9Ww5J7CoQrqQVwFy4GLmUM hrNKa5XOMZBKuPh0JYjKXDYgDpQar8Q9LX7hu8DBXnjK6KAk2LTHXzXon1De1l/vlz oXFHEHlmVYnjPE8o3VcOQU3N0/6pQjQJsrMWpR0E= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9A7B6600E6 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ilina@codeaurora.org Date: Tue, 6 Mar 2018 08:57:40 -0700 From: Lina Iyer To: Stephen Boyd Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Mahesh Sivasubramanian Subject: Re: [PATCH v4 2/2] dt-bindings: introduce Command DB for QCOM SoCs Message-ID: <20180306155740.GB4930@codeaurora.org> References: <20180226175802.20052-1-ilina@codeaurora.org> <20180226175802.20052-3-ilina@codeaurora.org> <152029567344.218381.8756848686590091138@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <152029567344.218381.8756848686590091138@swboyd.mtv.corp.google.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 05 2018 at 17:21 -0700, Stephen Boyd wrote: >Quoting Lina Iyer (2018-02-26 09:58:02) >> diff --git a/Documentation/devicetree/bindings/arm/msm/cmd-db.txt b/Documentation/devicetree/bindings/arm/msm/cmd-db.txt >> new file mode 100644 >> index 000000000000..5737ed2ac6e8 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/msm/cmd-db.txt >> @@ -0,0 +1,38 @@ >> +Command DB >> +--------- >> + >> +Command DB is a database that provides a mapping between resource key and the > >s/between/between the/ > >> +resource address for a system resource managed by a remote processor. The data >> +is stored in a shared memory region and is loaded by the remote processor. >> + >> +Some of the Qualcomm Technologies Inc SoC's have hardware accelerators for > >s/SoC's/SoCs/ > >> +controlling shared resources. Depending on the board configuration the shared >> +resource properties may change. These properties are dynamically probed by the >> +remote processor and made available in the shared memory. >> + >> +The bindings for Command DB is specified in the reserved-memory section in > >s/bindings/node/ > >maybe? > >> +devicetree. The devicetree representation of the command DB driver should be: > >Maybe drop this last sentence entirely. > >> + >> +Properties: >> +- compatible: >> + Usage: required >> + Value type: >> + Definition: Should be "qcom,cmd-db" >> + >> +- reg: >> + Usage: required >> + Value type: >> + Definition: The register address that points to the location of the >> + Command DB in memory. Additionally, specify the address >> + and size of the actual lacation in memory. > >s/lacation/location/ > Will take care of these in the next spin. >> + >> +Example: >> + >> + reserved-memory { >> + [...] >> + qcom,cmd-db@c3f000c { >> + reg = <0x0 0xc3f000c 0x0 0x8>, >> + <0x0 0x85fe0000 0x0 0x20000>; >> + compatible = "qcom,cmd-db"; >> + }; >> + };