diff options
author | Sujeev Dias <sdias@codeaurora.org> | 2016-09-24 20:49:21 -0700 |
---|---|---|
committer | Sujeev Dias <sdias@codeaurora.org> | 2017-02-27 12:53:05 -0800 |
commit | 904c6c3c3102f7315fff31b590351996d06be4f4 (patch) | |
tree | 0a193a6c0c70d9be209494e44b3aa3a870711af1 /Documentation | |
parent | cfd091a9bb4fe086c88034edc55c80a62d320eba (diff) |
msm: mhi_uci: Add support for platform devices
In order to support multiple instances of mhi_uci
net devices, add platform device support. Platform
specific information can be specified in the device
tree and used in the driver. Also create separate debug
log buffer per client to make debugging easier.
CRs-Fixed: 1086301
Change-Id: Ibfc9b7bb36e5d10a56c9b72494806419383b72f6
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/platform/msm/msm_mhi_uci.txt | 55 |
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"; +}; |