msm: mhi: MHI Usperspace Control Interface driver

The MHI UCI driver exposes MHI core functionality to
userspace by means of device nodes.

The UCI driver exposes a device node for a pair of unidirectional
MHI channels.

The supported system calls on the device nodes are read, write,
select/poll and RS232 IOCTLs.

CRs-Fixed: 689329
Change-Id: Iceab97dba7c3bbb4eb7bf0c4ab0c1eac8c5417e9
Signed-off-by: Andrei Danaila <adanaila@codeaurora.org>
This commit is contained in:
Andrei Danaila 2014-02-20 11:54:08 -08:00 committed by David Keitel
parent 646bf5125d
commit c9a0e074ed
4 changed files with 1320 additions and 0 deletions

View file

@ -133,6 +133,16 @@ config GPIO_USB_DETECT
USB driver of VBUS presence/disconnection using the power_supply
framework.
config MSM_MHI_UCI
tristate "MHI Usperspace Control Interface Driver"
depends on MSM_MHI
help
This modules enables userspace software clients to communicate
with devices supporting the MHI protocol. Userspace clients
may open the device nodes exposed by MHI UCI and perform
read, write and ioctl operations to communicate with the
attached device.
config MSM_11AD
tristate "Platform driver for 11ad chip"
depends on PCI

View file

@ -3,6 +3,7 @@
#
obj-$(CONFIG_QPNP_REVID) += qpnp-revid.o
obj-$(CONFIG_QPNP_COINCELL) += qpnp-coincell.o
obj-$(CONFIG_MSM_MHI_UCI) += mhi_uci/
obj-$(CONFIG_SPS) += sps/
obj-$(CONFIG_GSI) += gsi/
obj-$(CONFIG_IPA) += ipa/

View file

@ -0,0 +1,2 @@
# Makefile for MHI UCI driver
obj-y += mhi_uci.o

File diff suppressed because it is too large Load diff