Received: by 10.213.65.68 with SMTP id h4csp744056imn; Fri, 6 Apr 2018 08:10:47 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/E2OcyHgyKGRdM/myCn2w5XdFLFKAvgRqcetpsmlhmorQjP8AoqW+ezy+lfrMaL1YmWqYm X-Received: by 10.101.91.3 with SMTP id y3mr17503284pgq.299.1523027447044; Fri, 06 Apr 2018 08:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523027447; cv=none; d=google.com; s=arc-20160816; b=h5gaHqeIQgSJq3AhxYRiZWuvl3l+xBJWn52jg0CVMp5FSygwpzTAOOZ/P1NUeG0dsU a05svJEXEXAQouqjUHmv1jW+7jeTEAJQtxs38N3zBme9S/ky34S8h7hwnJ0dWaXzZQ9g mtyyFwUQIB0b/qRLLQYo8sfN5+6QEZiXTmrwXeAvV7cVUIZwxu8Gf7COeTUMTSKJolwe 8xCVPNslfWCx+wAmNkJMhntRvHZDKO/iar7CUCjUI4r6+gy29tk0/8b5Gg+xmoiKZUvt iny5OX7BxfMmOYFF7Rmlk8o4szG4Jk9tKmuoeZD7ocFWR26YG7L268PXDB8NHw23t2t6 T7Qw== 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=n6bAYFF86J+ZUT9llMQrfTxxcx7FrsWl/bKFQjxKMxs=; b=WnjFhdEY+f/yQ3xwuOqnVXI1kQJDDvGX3vGCaukksRF0VMabW/V1WH+h5e94/xVM1h pDzmOvFeRJBXn9Sgx5w6YWhxfPA7Bl9TzBiHRFHs8Y377HYLNlrkIXiNQhFcnUNPHSzp 7FSNSKFTGg2mHZXihaQwq1ykeEKI5iJXWpTWWua/nvlA6ZoFeTcqLFyaYqMputmzImQe dbrt1lX9TpeqhOTB4reX4dykqprnjNp8SMQ7ebiZR+f4BsafyoLzhVd+3zm3FvVB7R/b dF8thAeA65dN+Jb6pQfHk4PwUDC34xLZMNokRt5/vMibB86wSW91okrliLeaMQGMj+26 kArA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=UdP5Q1tQ; dkim=pass header.i=@codeaurora.org header.s=default header.b=g3OKqBiv; 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 c15si7218166pgn.25.2018.04.06.08.10.32; Fri, 06 Apr 2018 08:10:46 -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=UdP5Q1tQ; dkim=pass header.i=@codeaurora.org header.s=default header.b=g3OKqBiv; 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 S1751678AbeDFPIU (ORCPT + 99 others); Fri, 6 Apr 2018 11:08:20 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60954 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbeDFPIR (ORCPT ); Fri, 6 Apr 2018 11:08:17 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E05E860F78; Fri, 6 Apr 2018 15:08:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523027297; bh=y7Od2YcxxkZRPBQhYmBxUcBLjXncfhlcBLqEOEpZUGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UdP5Q1tQYvSBJ+iZKhnKAQNGggjqTo0JwOF0YskWflBvViqd5A3GMtvY3emQyZjf+ gsT5PiFsYMF+vJKABQ065Dw8eexCk2PtqvpACuBLIC8KU6arg7S43IgUu3G10YEN/x Ny5oxfsxIHroC2ZqP5ZwrZfk8wl0/kc15RDZqBB4= 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 E3DF860C65; Fri, 6 Apr 2018 15:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523027294; bh=y7Od2YcxxkZRPBQhYmBxUcBLjXncfhlcBLqEOEpZUGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g3OKqBivSXfncjMEq2NXYTK5TjUTNRmHLWloCtDc2yT6tcDQUYtp4f6EInkAJZnb9 NsONR9VIEZBaJ+vDILsff8EJl+BGmo5Sd1q0RAuM9yzaikdzoi7zbzRAwMLfh7Ek8S G8eSkpUav9PaeEae2U85fmfjuJej/atdaQf/6jAc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E3DF860C65 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 v7 2/2] dt-bindings: introduce Command DB for QCOM SoCs Date: Fri, 6 Apr 2018 09:08:05 -0600 Message-Id: <20180406150805.6394-3-ilina@codeaurora.org> X-Mailer: git-send-email 2.16.3 In-Reply-To: <20180406150805.6394-1-ilina@codeaurora.org> References: <20180406150805.6394-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 Reviewed-by: Bjorn Andersson --- Changes in v7: - Fix description of 'reg' property 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 | 36 ++++++++++++++++++++++ 1 file changed, 36 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..02e7d729bd77 --- /dev/null +++ b/Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt @@ -0,0 +1,36 @@ +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 + actual Command DB 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