diff options
author | Archana Sathyakumar <asathyak@codeaurora.org> | 2016-06-06 14:43:14 -0600 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-07 16:03:56 -0700 |
commit | d88251bc23b41074b362283432d4248e2d478e63 (patch) | |
tree | 89c0f7e188d0c339dfd0ce0637ddf5da417bf7dd /Documentation/devicetree | |
parent | cca6fd6887438bcfd472ef37d3df7c3dfa6b86d2 (diff) |
soc: rpm-smd: Support new format of rpm messaging
Support new format of rpm messaging to reduce response time of rpm
acking and increasing the number of messages that the rpm fifo can
process.
RPM message
====================
Old format:
uint32_t service_type;
uint32_t request_len;
uint32_t msg_id;
enum msm_rpm_set set;
uint32_t resource_type;
uint32_t resource_id;
uint32_t data_len;
New format:
unsigned request_hdr;
unsigned msg_id;
unsigned resource_type;
unsigned request_details;
RPM ACK message
====================
Old format:
uint32_t req;
uint32_t req_len;
uint32_t rsc_id;
uint32_t msg_len;
uint32_t id_ack;
New format:
unsigned request_hdr;
uint32_t id_ack;
CRs-fixed: 993338
Change-Id: I85cb0223ce45de2712c20a3a0edffe2a84b80f01
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/arm/msm/rpm-smd.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/arm/msm/rpm-smd.txt b/Documentation/devicetree/bindings/arm/msm/rpm-smd.txt index 128bd0f799d2..4cba3ecaeb90 100644 --- a/Documentation/devicetree/bindings/arm/msm/rpm-smd.txt +++ b/Documentation/devicetree/bindings/arm/msm/rpm-smd.txt @@ -26,11 +26,14 @@ Required properties 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 { + qcom,rpm-smd@68150 { compatible = "qcom,rpm-smd", "qcom,rpm-glink"; + reg = <0x68150 0x3200>; qcom,rpm-channel-name = "rpm_requests"; qcom,rpm-channel-type = 15; /* SMD_APPS_RPM */ qcom,glink-edge = "rpm"; |