Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: introduce Command DB for QCOM SoCs

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 <msivasub@codeaurora.org>
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>

authored by

Mahesh Sivasubramanian and committed by
Andy Gross
290fa8d7 575dc637

+37
+37
Documentation/devicetree/bindings/reserved-memory/qcom,cmd-db.txt
··· 1 + Command DB 2 + --------- 3 + 4 + Command DB is a database that provides a mapping between resource key and the 5 + resource address for a system resource managed by a remote processor. The data 6 + is stored in a shared memory region and is loaded by the remote processor. 7 + 8 + Some of the Qualcomm Technologies Inc SoC's have hardware accelerators for 9 + controlling shared resources. Depending on the board configuration the shared 10 + resource properties may change. These properties are dynamically probed by the 11 + remote processor and made available in the shared memory. 12 + 13 + The bindings for Command DB is specified in the reserved-memory section in 14 + devicetree. The devicetree representation of the command DB driver should be: 15 + 16 + Properties: 17 + - compatible: 18 + Usage: required 19 + Value type: <string> 20 + Definition: Should be "qcom,cmd-db" 21 + 22 + - reg: 23 + Usage: required 24 + Value type: <prop encoded array> 25 + Definition: The register address that points to the actual location of 26 + the Command DB in memory. 27 + 28 + Example: 29 + 30 + reserved-memory { 31 + [...] 32 + reserved-memory@85fe0000 { 33 + reg = <0x0 0x85fe0000 0x0 0x20000>; 34 + compatible = "qcom,cmd-db"; 35 + no-map; 36 + }; 37 + };