Received: by 10.223.176.5 with SMTP id f5csp2313373wra; Thu, 8 Feb 2018 11:54:31 -0800 (PST) X-Google-Smtp-Source: AH8x227hpKhhGl7Bl0akwP6xQjFAkyZyk2sQGX29R1pV5+sFk2h7Vj05LB+LPLludMEP5WG6PYE0 X-Received: by 2002:a17:902:52f:: with SMTP id 44-v6mr141154plf.65.1518119671187; Thu, 08 Feb 2018 11:54:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518119671; cv=none; d=google.com; s=arc-20160816; b=zbgEeQDBzFKLL/HC/OGLe0H3mEX8+dDNODXdYVAHytyOCfMxG4FMyAaEWqA9+1twfM 6qdnXn4mhxTlzABuOMCiEVg8BIJ26bN0E2JuEV5JcJmxBIvElcoOQT3SbXRcrYyTxgFD 4MRAhyD7z8DHUjTcxyWq/shkQ3ljxktKVtgtQAKNmGpg3vNwuR1q3K3EZ42PqMHS3EeE +LZRPR6OEKabvjhk53yxBwHfCmERyHbKOhYw0Kn5khN6QmUUVUiZY3y2rEdv2cLrZnML lpwE0VNHASrN7oh2jNFnXhFPe21x+856iASbvQtnAGpHkKRsREJUsQDg953kP+z2OIjP oAVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=fntClLt6b+dd3tzdeoja0Iq97wTJpmLCKSfrYlYMUCg=; b=UBpl4IWJGesp+rKOHxNdGTYXUuBGvHGTry9Pmx2m/HeZcDsClDm5Z2WKtn4n/10wsc hFOQzWCCBsNMq5sTNPriC0MOfrnY6oQZGL+tOqMm4bk3F06Qjd4A3PyAT9rMoE24wxWq ux2AobYMi6/x2LuYpz4hUhzlIi/sFE8KZqzPVUPyGokb9Q5isQIwPRaqJ9LJRbVlsViL NTCUQZXK8yqKbmQHvbNGHDNGuO5K0n47fqpKjRFbB06TKNM+Cee/VJxAuTMO3AJfe+QN vOPGZzUydsdGmb0zBLonOipoUYS1iHwNo73cZ11Dvbxet60kgFSTwQQIfaZ5Or63fT95 ckSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=KmNuhRG+; dkim=pass header.i=@codeaurora.org header.s=default header.b=nrNadvBM; 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 j19si410232pfh.377.2018.02.08.11.54.15; Thu, 08 Feb 2018 11:54:31 -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=KmNuhRG+; dkim=pass header.i=@codeaurora.org header.s=default header.b=nrNadvBM; 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 S1752537AbeBHTwP (ORCPT + 99 others); Thu, 8 Feb 2018 14:52:15 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35820 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752448AbeBHTwJ (ORCPT ); Thu, 8 Feb 2018 14:52:09 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2739C6081C; Thu, 8 Feb 2018 19:52:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518119529; bh=MO/wPx5h0IZfRGQ4xBsC+ytsJsOp0Xp/ZlqkJvcN980=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KmNuhRG+k31b2Dd5HQq/Dqz4hT7cfoO8hZqgITdrtDHBK/EhUxUeRTquY2t6nKTV5 Ix2WytgCjAoDJNi7lPA0hnA7BDF5F3O5NUUE8abwbkQJzutYOBOwz3pU6oEvlyDUSB 1HMZs3kg47LI7udP1Lw/mqteZcld8ALUmUs48KuQ= 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 codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 060DB605A5; Thu, 8 Feb 2018 19:52:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518119528; bh=MO/wPx5h0IZfRGQ4xBsC+ytsJsOp0Xp/ZlqkJvcN980=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nrNadvBMtZaeMD67SRWY/4maTsNax57rJ04zQP5NxroZsFlq6RleR3pRY7zbGkSWa 1HbgkFl+BSU9uZsHmQPpevNlTwBV70Lu+PIjIR1MBbLNlaaDLfWcYe2yjPGu6kC4Io 99QmzGDJjTnlGeoqNVjWByUB2LHHwXifsBtyX6xs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 060DB605A5 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 From: Lina Iyer To: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Cc: sboyd@codeaurora.org, rnayak@codeaurora.org, msivasub@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, Lina Iyer , devicetree@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: introduce Command DB for QCOM SoCs Date: Thu, 8 Feb 2018 12:51:54 -0700 Message-Id: <20180208195154.3580-3-ilina@codeaurora.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180208195154.3580-1-ilina@codeaurora.org> References: <20180208195154.3580-1-ilina@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mahesh Sivasubramanian Command DB provides information on shared resources like clocks, regulators etc., probed at boot by the remote subsytem and made available in shared memory. Cc: devicetree@vger.kernel.org Signed-off-by: Mahesh Sivasubramanian Signed-off-by: Lina Iyer --- .../devicetree/bindings/arm/msm/cmd-db.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/msm/cmd-db.txt 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..e21666e40ebf --- /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 +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 +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 devicetree representation of the command DB driver should be: + +PROPERTIES: +- compatible: + Usage: required + Value type: + Definition: Should be "qcom,cmd-db" + +- memory-region: + Usage: required + Value type: + Definition: The phandle to the reserved memory region. + +Example: + + reserved-memory { + [...] + cmd_db_mem: qcom,cmd-db@c3f000c { + reg = <0x0 0xc3f000c 0x0 0x8>; + }; + }; + + qcom,cmd-db@c3f000c { + compatible = "qcom,cmd-db"; + memory-region = <&cmd_db_mem>; + }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project