Received: by 10.223.185.116 with SMTP id b49csp3199386wrg; Mon, 5 Mar 2018 16:22:19 -0800 (PST) X-Google-Smtp-Source: AG47ELvmoFCX8oUQuyE1VLDs/kd02UkLFEZvOsVgBvGzgRhcIJezSZAewW+GHjAPIQtjqubcRtIx X-Received: by 2002:a17:902:8c83:: with SMTP id t3-v6mr15119340plo.310.1520295739668; Mon, 05 Mar 2018 16:22:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520295739; cv=none; d=google.com; s=arc-20160816; b=HhfKRz/3VL6Sqp+6vAAvS+vGiGd8O5ckHEZJ4MaAq/FO8iW02+0m0DtFTx5Cp+hdq9 X/xcShw3Tfw169p+QXiBkdpvwGtoa2hjsIw4BlZQrU58E30lOLNf09eTA383Ugo/0ouD vt40hylRQiBuR0w9KQn9wt9BoKffuIh45G/VZaolR+OMdRlfQROhG7CrogR8pprfPjlj gL/+3rkftkgDhH6ZOtcXWlZpU9aFWf/Ey3297DEw0c+f3JtzRo1lbiH4iG9ob4i5iCws czDwwup11Zth1ft8xsFIQVNJ4EYShVua8FYzfNs4ATR+XzG07WUGmEPABJ9rZdQ3oUR/ ARDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dmarc-filter:arc-authentication-results; bh=65cFLakx7jBDaDaKHW/mOoLjO17Pu8TmALAtxRNGbts=; b=U3nySVaYuCTSDKN6gorPadkXqLTnlD40ccMvWLzElfzNaZ8pbkwNMdcfhJAs9X5Ocm jVwigo2bAxR9CIiEH/2YpVO3PB8GekJlwG8S2n2TFnj8S4SjXHK8leZVkGUO0r57Xk0D qLjhOyZrgw2QnudV8ZN2mavC3wgt45hSp/g/sZZpki8Wr94FFF4VPwkKZeedSN1ESSE4 vfubj/JKXjmRda2ieVCl/J1GGVSqKekM5Z55uYoSg9AFLaUuLinOKa529wV4kjlqV37i QTQRr9lXHOUIPP2xYuIcfWg/fBL4In492xZRTQjWm+r47ZWFeRKRl7+hFSDCDAIHbAzS eA0w== ARC-Authentication-Results: i=1; mx.google.com; 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 c5-v6si9996117plr.684.2018.03.05.16.22.05; Mon, 05 Mar 2018 16:22:19 -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; 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 S932731AbeCFAVQ convert rfc822-to-8bit (ORCPT + 99 others); Mon, 5 Mar 2018 19:21:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:41236 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932287AbeCFAVO (ORCPT ); Mon, 5 Mar 2018 19:21:14 -0500 Received: from localhost (unknown [104.132.1.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B75E2178B; Tue, 6 Mar 2018 00:21:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B75E2178B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=sboyd@kernel.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Lina Iyer , andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org From: Stephen Boyd In-Reply-To: <20180226175802.20052-3-ilina@codeaurora.org> Cc: rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, Lina Iyer , devicetree@vger.kernel.org, Mahesh Sivasubramanian References: <20180226175802.20052-1-ilina@codeaurora.org> <20180226175802.20052-3-ilina@codeaurora.org> Message-ID: <152029567344.218381.8756848686590091138@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v4 2/2] dt-bindings: introduce Command DB for QCOM SoCs Date: Mon, 05 Mar 2018 16:21:13 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ > + > +Example: > + > + reserved-memory { > + [...] > + qcom,cmd-db@c3f000c { > + reg = <0x0 0xc3f000c 0x0 0x8>, > + <0x0 0x85fe0000 0x0 0x20000>; > + compatible = "qcom,cmd-db"; > + }; > + };