Received: by 10.213.65.68 with SMTP id h4csp2109420imn; Thu, 5 Apr 2018 09:07:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/82YKy8YsJdxw1BfKhsiMVWFGZgBLsnkJUENozN8u0eV5iPH/3C7E9TA1PY4rfFiaLvtZi X-Received: by 10.99.98.134 with SMTP id w128mr15214033pgb.217.1522944428325; Thu, 05 Apr 2018 09:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522944428; cv=none; d=google.com; s=arc-20160816; b=RODAA23ZLBXphcnX16ICpes6Mr7cGbPk5IBSv6UKyh6qT9C1kNx5Tl3cmfSlppcBQF 9KkDQC3MINYzHMeyHo0KEBN0d8inhlT1rwdA/QuK3OjjIILKFIxMGS8k9pnFjo7ShuJ9 /HoBhAxTAqKi7mqOPQtOnZDzJXSpUikaW5oU22c+YiBiIa35ecYfwOwt96MkqdWAL/Jr KlYW/lMrb7XLY6IegURLuG4YJWafvNY/Gk43r7/OWTHLn5ivprDem3AAMlZublWl1jzq uUTZqEe7iRJDxgK/TJsufEWNtedglDNksdETaz2TyonjykLCxYo+9Jsi6oukfO2To75W 3V7g== 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=c+estYGifKZfxOpOlBhh9oA9ycopfbZp2U6aLmXd90Q=; b=Fqd8OCyIMfcSdVG1TtSiRru9yeHoRlaEEJXNRY8vhphOEraGM2E9rg0YmXMYjVjGjF AyZll1jIgdE3D5DK/iHbfnevzmQ9yqWVLRCc+Duz3yIYMcnXM9DGJJqRxuBVGMnm9B7N VI0tdoj9fEh/UGmE04W9KuUjz8U0xFZxvio89bFKFNUby9ntsWFtcCzmqLAUGcnMrnan r+1lXV/0dHVS4QEc+vVXWEOod35kKeNWM9/YBN2YGifLqo771TFTUrPFikxs1EDFqtRG jJdUUP+26bCPi7DwbNgHpACUES2HQxuSmfXDO1nYDI0A2EcHnvTgTrhiKegcDPSGqP9R KqMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=VM80EYFO; dkim=pass header.i=@codeaurora.org header.s=default header.b=CyoGHFES; 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 i63si5663152pge.611.2018.04.05.09.06.53; Thu, 05 Apr 2018 09:07:08 -0700 (PDT) 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=VM80EYFO; dkim=pass header.i=@codeaurora.org header.s=default header.b=CyoGHFES; 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 S1751616AbeDEQFN (ORCPT + 99 others); Thu, 5 Apr 2018 12:05:13 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:33802 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751346AbeDEQFJ (ORCPT ); Thu, 5 Apr 2018 12:05:09 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0E7F86081B; Thu, 5 Apr 2018 16:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522944309; bh=dfQkFFeVubS/h1C4f5g850dWDNe7/1BqhDySbA1pooc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VM80EYFOL35qWV/GlaqRangCUf7IHLgSklOCnvRlTeqx9HJTgiI2t+Q6eCp7A84BI ngqnzFNIWYySryLmB38HZVXKmQPnaK4+No1BWatd08kJI7MAq7txUHHFAEMldL/fJC ADkbD4lGAtVm9MZiKY4HneTYHgLycLJQGhF5wBNw= 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 9FFBA607E5; Thu, 5 Apr 2018 16:05:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1522944308; bh=dfQkFFeVubS/h1C4f5g850dWDNe7/1BqhDySbA1pooc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CyoGHFESYLIF0NYejo7OQlGfH00IEVTtppLDVF3LFVaW72QCamKS8QnduR8qDgftA 85F5eXzEdOIgWb2183jWHR11D8iXVJHPrKLmOKjb3ABIZZnlkQRE1cw7PP14oP/blb xqXMomb0VXsvSclf/UVtJaKyWAAyDkL6weqXkit0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9FFBA607E5 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: rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, sboyd@kernel.org, evgreen@chromium.org, dianders@chromium.org, Lina Iyer , devicetree@vger.kernel.org, Mahesh Sivasubramanian Subject: [PATCH v6 2/2] dt-bindings: introduce Command DB for QCOM SoCs Date: Thu, 5 Apr 2018 10:04:59 -0600 Message-Id: <20180405160459.16693-3-ilina@codeaurora.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180405160459.16693-1-ilina@codeaurora.org> References: <20180405160459.16693-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 --- Changes in v6: - Move to bindings/reserved-memory - Remove indirection address and use only the actual reserved memory Changes in v4: - Fix unwanted capitalization - Add reg property --- .../bindings/reserved-memory/qcom,cmd-db.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt diff --git a/Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt b/Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt new file mode 100644 index 000000000000..d808ada474c1 --- /dev/null +++ b/Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt @@ -0,0 +1,37 @@ +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 bindings for Command DB is specified in the reserved-memory section in +devicetree. The devicetree representation of the command DB driver should be: + +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. + +Example: + + reserved-memory { + [...] + qcom,cmd-db@85fe0000 { + reg = <0x0 0x85fe0000 0x0 0x20000>; + compatible = "qcom,cmd-db"; + }; + }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project