summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-03-03 17:39:22 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-03 17:39:22 -0800
commit6897134f7409d531a7cc53614773d74d54e6a3be (patch)
treea196c389acf43222c2c0b6f67a82a67a4476781b /Documentation
parentf13bb40b09f583d4e55efc1e8ed21d053f59e619 (diff)
parent904c6c3c3102f7315fff31b590351996d06be4f4 (diff)
Merge "msm: mhi_uci: Add support for platform devices"
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/platform/msm/msm_mhi_uci.txt55
1 files changed, 55 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/platform/msm/msm_mhi_uci.txt b/Documentation/devicetree/bindings/platform/msm/msm_mhi_uci.txt
new file mode 100644
index 000000000000..5c255b19ea5a
--- /dev/null
+++ b/Documentation/devicetree/bindings/platform/msm/msm_mhi_uci.txt
@@ -0,0 +1,55 @@
+MSM MHI UCI interface device
+
+MHI userpace control interface (UCI) enables userspace software clients to
+communicate with device using MHI protocol.
+
+==============
+Node Structure
+==============
+
+Main node properties:
+
+- compatible
+ Usage: required
+ Value type: <string>
+ Definition: "qcom,mhi-uci"
+
+- qcom,mhi-uci-channels
+ Usage: required
+ Value type: Array of <u32>
+ Definition: Array tuples which define the channel configuration
+ parameters. Each tuple is of length 2, 1st value
+ represent channel, and 2nd value represent maximum
+ payload supported. Maximum payload supported is 64
+ bytes. Number of tuples must be even value. Max # of
+ tuples is 46.
+
+- qcom,mhi-uci-ctrlchan
+ Usage: optional
+ Value type: <u32>
+ Definition: Channel that will be handling flow control (DTR/RTS) signals.
+
+=======
+Example
+=======
+qcom,mhi-uci@0 {
+ compatible = "qcom,mhi-uci";
+ qcom,mhi-uci-channels = <0 0x1000>,
+ <1 0x1000>,
+ <2 0x1000>,
+ <3 0xffff>,
+ <10 0x1000>,
+ <11 0x1000>,
+ <14 0x1000>,
+ <15 0x1000>,
+ <16 0x1000>,
+ <17 0x1000>,
+ <18 0x1000>,
+ <19 0x1000>,
+ <24 0x1000>,
+ <25 0x1000>,
+ <32 0x1000>,
+ <33 0x1000>;
+ qcom,mhi-uci-ctrlchan = <18>;
+ status = "ok";
+};