From patchwork Thu Jan 18 22:28:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 863196 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="FjtFKh/5"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="FjtFKh/5"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zMzBP62rYz9t62 for ; Fri, 19 Jan 2018 09:28:29 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932568AbeARW22 (ORCPT ); Thu, 18 Jan 2018 17:28:28 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:34824 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932529AbeARW2X (ORCPT ); Thu, 18 Jan 2018 17:28:23 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B2F1E60A00; Thu, 18 Jan 2018 22:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516314502; bh=IGimEwWgymnGaU9aPIekQeP8i2B44Z/Y9JuXfw+t+f0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FjtFKh/5B2aFw6waAaKcSiEOBux6mc/HVDNlzlhGXwSINSr4xEK5PFPBomZZAhZ/l DWCSCZ/ShXnOXnmoae0vps2MvOnCCWpjekuYkJ4jYrzCB/wBsNZ3V1W1t0hbBo+Hyi Ou4c70A0jFyXapvFLlGU6kYw1ZaoCqZAW2Twgc4o= 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 B9C336081E; Thu, 18 Jan 2018 22:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516314502; bh=IGimEwWgymnGaU9aPIekQeP8i2B44Z/Y9JuXfw+t+f0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FjtFKh/5B2aFw6waAaKcSiEOBux6mc/HVDNlzlhGXwSINSr4xEK5PFPBomZZAhZ/l DWCSCZ/ShXnOXnmoae0vps2MvOnCCWpjekuYkJ4jYrzCB/wBsNZ3V1W1t0hbBo+Hyi Ou4c70A0jFyXapvFLlGU6kYw1ZaoCqZAW2Twgc4o= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B9C336081E 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 Cc: sboyd@codeaurora.org, rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, msivasub@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: introduce Command DB for QCOM SoCs Date: Thu, 18 Jan 2018 15:28:02 -0700 Message-Id: <20180118222802.18161-1-ilina@codeaurora.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180118220833.16616-3-ilina@codeaurora.org> References: <20180118220833.16616-3-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 | 37 ++++++++++++++++++++++ 1 file changed, 37 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..b56e3e3604d3 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/msm/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. + +Command DB allows drivers to query resource parameters based on pre-determined +key strings. + +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: First element is the base address of shared memory + Second element is the size of the shared memory region + Points to the dictionary address that houses the command DB + start address and the size of the command DB region + +Example: + + qcom,cmd-db@c3f000c { + compatible = "qcom,cmd-db"; + reg = <0xc3f000c 0x8>; + };