summaryrefslogtreecommitdiff
path: root/bindings/arm
diff options
context:
space:
mode:
authorRaghavendra Kakarla <rkakarla@qti.qualcomm.com>2019-08-05 15:35:13 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2019-09-11 03:04:27 -0700
commit2bad6d831450fa11ab535f2d367ce2288e743da1 (patch)
tree119b5aa5145f95026a744e6eacbdeab0a68caf6a /bindings/arm
parent94ef7eb60cddad2704fce6df0789633eb87e99b7 (diff)
downloaddevicetree-2bad6d831450fa11ab535f2d367ce2288e743da1.tar.gz
dt-bindings: Add rpm-smd documentation
Add documentation for rpm-smd. Change-Id: I1c3a6aa8451eeb8b24def894a7a5254c18ab651a
Diffstat (limited to 'bindings/arm')
-rw-r--r--bindings/arm/msm/rpm-smd.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/bindings/arm/msm/rpm-smd.txt b/bindings/arm/msm/rpm-smd.txt
new file mode 100644
index 00000000..79968810
--- /dev/null
+++ b/bindings/arm/msm/rpm-smd.txt
@@ -0,0 +1,40 @@
+Resource Power Manager(RPM)
+
+RPM is a dedicated hardware engine for managing shared SoC resources,
+which includes buses, clocks, power rails, etc. The goal of RPM is
+to achieve the maximum power savings while satisfying the SoC's
+operational and performance requirements. RPM accepts resource
+requests from multiple RPM masters. It arbitrates and aggregates
+the requests, and configures the shared resources. The RPM masters
+are the application processor, the modem processor, as well as hardware
+accelerators. The RPM driver communicates with the hardware engine using
+SMD.
+
+The devicetree representation of the RPM block should be:
+
+Required properties
+
+- compatible: "qcom,rpm-smd"
+- rpm-channel-name: The string corresponding to the channel name of the
+ peripheral subsystem. Required for both smd and
+ glink transports.
+- rpm-channel-type: The interal SMD edge for this subsystem found in
+ <soc/qcom/smd.h>
+- interrupts: The IRQ used by remote processor to inform APSS about
+ reception of response message packet.
+
+Optional properties
+- rpm-standalone: Allow RPM driver to run in standalone mode irrespective of RPM
+ channel presence.
+- reg: Contains the memory address at which rpm messaging format version is
+ stored. If this field is not present, the target only supports v0 format.
+
+Example:
+
+ qcom,rpm-smd {
+ compatible = "qcom,rpm-smd";
+ interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING>;
+ qcom,rpm-channel-name = "rpm_requests";
+ qcom,rpm-channel-type = 15; /* APPS_RPM_SMD */
+ }
+}