From patchwork Thu Feb 8 19:51:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 871105 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=codeaurora.org header.i=@codeaurora.org header.b="KmNuhRG+"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="nrNadvBM"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zcpkS1fG4z9s7M for ; Fri, 9 Feb 2018 06:52:16 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752481AbeBHTwM (ORCPT ); Thu, 8 Feb 2018 14:52:12 -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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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>; + };