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:
parent
646bf5125d
commit
c9a0e074ed
4 changed files with 1320 additions and 0 deletions
|
@ -133,6 +133,16 @@ config GPIO_USB_DETECT
|
||||||
USB driver of VBUS presence/disconnection using the power_supply
|
USB driver of VBUS presence/disconnection using the power_supply
|
||||||
framework.
|
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
|
config MSM_11AD
|
||||||
tristate "Platform driver for 11ad chip"
|
tristate "Platform driver for 11ad chip"
|
||||||
depends on PCI
|
depends on PCI
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#
|
#
|
||||||
obj-$(CONFIG_QPNP_REVID) += qpnp-revid.o
|
obj-$(CONFIG_QPNP_REVID) += qpnp-revid.o
|
||||||
obj-$(CONFIG_QPNP_COINCELL) += qpnp-coincell.o
|
obj-$(CONFIG_QPNP_COINCELL) += qpnp-coincell.o
|
||||||
|
obj-$(CONFIG_MSM_MHI_UCI) += mhi_uci/
|
||||||
obj-$(CONFIG_SPS) += sps/
|
obj-$(CONFIG_SPS) += sps/
|
||||||
obj-$(CONFIG_GSI) += gsi/
|
obj-$(CONFIG_GSI) += gsi/
|
||||||
obj-$(CONFIG_IPA) += ipa/
|
obj-$(CONFIG_IPA) += ipa/
|
||||||
|
|
2
drivers/platform/msm/mhi_uci/Makefile
Normal file
2
drivers/platform/msm/mhi_uci/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Makefile for MHI UCI driver
|
||||||
|
obj-y += mhi_uci.o
|
1307
drivers/platform/msm/mhi_uci/mhi_uci.c
Normal file
1307
drivers/platform/msm/mhi_uci/mhi_uci.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue