summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mhi (follow)
Commit message (Collapse)AuthorAge
* mhi: core: Bind devices with variable PCIe device IDs with same device nodeSujeev Dias2017-06-01
| | | | | | | | | | | In order to bind devices with variable PCIe device IDs with same device tree node, make PCIe device ID optional parameter in device tree node. If PCIe device ID not specified in device tree, any device can be bind with the node. CRs-Fixed: 2040899 Change-Id: Iaedcb40db15fa0e8c5c30eb147c904a10cd7569d Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
* mhi: core: add support for priority based event processingSujeev Dias2017-03-11
| | | | | | | | | | | Not all events require same priority to process. Process high priority events using a tasklet while processing low priority events using a kworker. Priority for events can be configured by device tree. CRs-Fixed: 2004759 Change-Id: I6bf04624c2fd92afd7c698d6a57f66619ea13b5b Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
* mhi: core: add support for bounce buffer transferSujeev Dias2017-03-11
| | | | | | | | | | | Not all MHI capable devices can access entire host DDR. If an MHI client provide a transfer packet that’s outside of supported address range, copy the packet to a local bounce buffer prior to transfer. CRs-Fixed 1110280 Change-Id: Ie7292a2c89cc6608d5360f8a330d78635d913c29 Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
* mhi: core: add support for MHI host managing firmware uploadSujeev Dias2017-03-11
| | | | | | | | | Add support for MHI host to directly upload firmware to compatible devices using MHI protocol. CRs-Fixed: 1095436 Change-Id: Iff7043f1f9afc4824edeaeccc46ed427ce7ee291 Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
* mhi: core: Add support for multiple MHI devicesSujeev Dias2017-03-11
| | | | | | | | | | | | | In order to support multiple MHI devices connected to same host we have, re-organize struct mhi_device_ctxt such that all information related to device is included inside struct mhi_device_ctxt. Created an abstract power management layer to operate MHI in bus master, and slave mode. PCIe bus, device, slot are extracted from DT to identify physical device. CRs-Fixed: 1086301 Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
* ARM: dts: msm: mhi: document mhi-chan-cfg settingsSujeev Dias2017-03-11
| | | | | | | | | Add a detail explanation for mhi-chan-cfg configuration settings. CRs-Fixed: 1022868 Change-Id: I89a1ea3e8ac6b1b210df245e8bd199206cdbb649 Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
* msm: mhi_dev: Add MHI device driverSiddartha Mohanadoss2016-04-13
| | | | | | | | | | | | | | | | | | The Modem Host Interface (MHI) device driver supports clients to send control and data packets such as IP data packets, control messages and Diagnostic data between the Host and the device. It follows the MHI specification to transfer data. The driver interfaces with the IPA driver for Hardware accelerated channels and PCIe End point driver to communicate between the Host and the device. The driver exposes to both userspace and kernel space generic IO read/write/open/close system calls and kernel APIs to communicate and transfer data between Host and the device. Change-Id: I64990a972cbf7c2022d638c35f7517071de67f19 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
* mhi: core: Enable parsing of dev window from dtTony Truong2016-03-23
| | | | | | | | | Enable parsing of device window size from device tree and calculating the appropriate addressing limitations. Change-Id: I252a593a74f0cc00e6295a45d4d13db6c79cdfca Signed-off-by: Andrei Danaila <adanaila@codeaurora.org> Signed-off-by: Tony Truong <truong@codeaurora.org>
* mhi: core: Enable BB scheme for MHIAndrei Danaila2016-03-23
| | | | | | | | | Enable bounce buffering scheme in MHI for the cases where allocated APQ memory falls outside of the memory range which the device can access. Change-Id: I9f40b0dda2f49111b7deb22973e6399fada90094 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org>
* mhi: core: Parse ring information from DTAndrei Danaila2016-03-23
| | | | | | | | | | | Parse MHI ring information from DT instead of statically allocating data structure. This is necessary as different platforms support different configurations. Change-Id: I59cd660459d627f93479a11257653611070fd3a4 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org>
* msm: mhi: Add MHI core driverAndrei Danaila2016-03-23
Enable the MHI core driver for communication between host and device using PCIe as an interconnect and supporting MHI as the communication protocol. The driver exposes several kernel space APIs for use by other kernel entities to interface to the PCIe device over MHI. APIs for read and write and other notifications are supported by this MHI driver. Support for full power management and device reset is also included. CRs-Fixed: 689329 Change-Id: Ibc2fd7c2d5689001485f71b1133ada2c4ca236a9 Signed-off-by: Andrei Danaila <adanaila@codeaurora.org>